feat: retheme index.css — warm amber/copper palette to complement gold-rust gradient

This commit is contained in:
2026-03-09 22:15:58 -05:00
parent 67912dc78d
commit 3e777772c3

View File

@@ -5,35 +5,45 @@
}
:root {
/* Modern dark color palette */
--primary: #3b82f6;
--primary-hover: #2563eb;
--primary-light: #60a5fa;
--accent: #8b5cf6;
--success: #10b981;
/* Primary accent: warm amber/copper to echo the gold-rust brand gradient */
--primary: #c2862a;
--primary-hover: #a86e1c;
--primary-light: #e0a84a;
/* Secondary/accent: deep copper-red for punch */
--accent: #9b3a10;
/* Status colors stay neutral/functional */
--success: #22c55e;
--danger: #ef4444;
--warning: #f59e0b;
/* Dark theme */
--bg-primary: #0f172a;
--bg-secondary: #1e293b;
--bg-tertiary: #334155;
--bg-elevated: #1e293b;
/* Dark theme backgrounds — slightly warmer tones */
--bg-primary: #0e0f0c;
--bg-secondary: #1a1a15;
--bg-tertiary: #2a2820;
--bg-elevated: #222018;
/* Borders */
--border: #334155;
--border-light: #475569;
/* Borders — warm dark */
--border: #38352a;
--border-light: #524e3e;
/* Text */
--text-primary: #f1f5f9;
--text-secondary: #cbd5e1;
--text-muted: #94a3b8;
--text-primary: #f5f0e8;
--text-secondary: #ccc4b0;
--text-muted: #8c8472;
/* Shadows */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
/* Champion badge colors */
--champion-gold: #d4a017;
--champion-glow: rgba(212, 160, 23, 0.25);
--bloodline-amber: #b06010;
--bloodline-glow: rgba(176, 96, 16, 0.2);
/* Misc */
--radius: 0.5rem;
@@ -130,14 +140,15 @@ h3 { font-size: 1.25rem; }
}
.btn-primary {
background: var(--primary);
color: white;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
color: var(--bg-primary);
box-shadow: var(--shadow-sm);
font-weight: 600;
}
.btn-primary:hover:not(:disabled) {
background: var(--primary-hover);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
box-shadow: 0 4px 12px rgba(194, 134, 42, 0.4);
}
.btn-secondary {
@@ -228,7 +239,7 @@ textarea:focus,
select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
box-shadow: 0 0 0 3px rgba(194, 134, 42, 0.15);
}
.input::placeholder {
@@ -243,7 +254,7 @@ textarea {
select {
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238c8472' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
@@ -308,15 +319,50 @@ select {
}
.badge-primary {
background: rgba(59, 130, 246, 0.2);
background: rgba(194, 134, 42, 0.2);
color: var(--primary-light);
}
.badge-success {
background: rgba(16, 185, 129, 0.2);
background: rgba(34, 197, 94, 0.2);
color: var(--success);
}
/* Champion Badges */
.badge-champion {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.2rem 0.55rem;
font-size: 0.7rem;
font-weight: 700;
border-radius: 9999px;
background: linear-gradient(135deg, rgba(212,160,23,0.25) 0%, rgba(155,58,16,0.2) 100%);
color: var(--champion-gold);
border: 1px solid rgba(212, 160, 23, 0.45);
box-shadow: 0 0 6px var(--champion-glow);
letter-spacing: 0.04em;
text-transform: uppercase;
white-space: nowrap;
}
.badge-bloodline {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.2rem 0.55rem;
font-size: 0.7rem;
font-weight: 700;
border-radius: 9999px;
background: linear-gradient(135deg, rgba(176,96,16,0.2) 0%, rgba(139,37,0,0.15) 100%);
color: var(--bloodline-amber);
border: 1px solid rgba(176, 96, 16, 0.4);
box-shadow: 0 0 6px var(--bloodline-glow);
letter-spacing: 0.04em;
text-transform: uppercase;
white-space: nowrap;
}
/* Modal */
.modal-overlay {
position: fixed;
@@ -324,7 +370,7 @@ select {
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.75);
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
@@ -475,9 +521,9 @@ select {
}
.risk-low {
background: rgba(16, 185, 129, 0.15);
background: rgba(34, 197, 94, 0.15);
color: var(--success);
border: 1px solid rgba(16, 185, 129, 0.3);
border: 1px solid rgba(34, 197, 94, 0.3);
}
.risk-med {