feat: retheme index.css — warm amber/copper palette to complement gold-rust gradient
This commit is contained in:
@@ -5,35 +5,45 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* Modern dark color palette */
|
/* Primary accent: warm amber/copper to echo the gold-rust brand gradient */
|
||||||
--primary: #3b82f6;
|
--primary: #c2862a;
|
||||||
--primary-hover: #2563eb;
|
--primary-hover: #a86e1c;
|
||||||
--primary-light: #60a5fa;
|
--primary-light: #e0a84a;
|
||||||
--accent: #8b5cf6;
|
|
||||||
--success: #10b981;
|
/* Secondary/accent: deep copper-red for punch */
|
||||||
|
--accent: #9b3a10;
|
||||||
|
|
||||||
|
/* Status colors stay neutral/functional */
|
||||||
|
--success: #22c55e;
|
||||||
--danger: #ef4444;
|
--danger: #ef4444;
|
||||||
--warning: #f59e0b;
|
--warning: #f59e0b;
|
||||||
|
|
||||||
/* Dark theme */
|
/* Dark theme backgrounds — slightly warmer tones */
|
||||||
--bg-primary: #0f172a;
|
--bg-primary: #0e0f0c;
|
||||||
--bg-secondary: #1e293b;
|
--bg-secondary: #1a1a15;
|
||||||
--bg-tertiary: #334155;
|
--bg-tertiary: #2a2820;
|
||||||
--bg-elevated: #1e293b;
|
--bg-elevated: #222018;
|
||||||
|
|
||||||
/* Borders */
|
/* Borders — warm dark */
|
||||||
--border: #334155;
|
--border: #38352a;
|
||||||
--border-light: #475569;
|
--border-light: #524e3e;
|
||||||
|
|
||||||
/* Text */
|
/* Text */
|
||||||
--text-primary: #f1f5f9;
|
--text-primary: #f5f0e8;
|
||||||
--text-secondary: #cbd5e1;
|
--text-secondary: #ccc4b0;
|
||||||
--text-muted: #94a3b8;
|
--text-muted: #8c8472;
|
||||||
|
|
||||||
/* Shadows */
|
/* Shadows */
|
||||||
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
|
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
|
||||||
--shadow: 0 4px 6px -1px 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.5);
|
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
|
||||||
--shadow-xl: 0 20px 25px -5px 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 */
|
/* Misc */
|
||||||
--radius: 0.5rem;
|
--radius: 0.5rem;
|
||||||
@@ -130,14 +140,15 @@ h3 { font-size: 1.25rem; }
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
background: var(--primary);
|
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
|
||||||
color: white;
|
color: var(--bg-primary);
|
||||||
box-shadow: var(--shadow-sm);
|
box-shadow: var(--shadow-sm);
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:hover:not(:disabled) {
|
.btn-primary:hover:not(:disabled) {
|
||||||
background: var(--primary-hover);
|
background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
|
||||||
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
|
box-shadow: 0 4px 12px rgba(194, 134, 42, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-secondary {
|
.btn-secondary {
|
||||||
@@ -228,7 +239,7 @@ textarea:focus,
|
|||||||
select:focus {
|
select:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: var(--primary);
|
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 {
|
.input::placeholder {
|
||||||
@@ -243,7 +254,7 @@ textarea {
|
|||||||
select {
|
select {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
appearance: none;
|
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-position: right 0.5rem center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 1.5em 1.5em;
|
background-size: 1.5em 1.5em;
|
||||||
@@ -308,15 +319,50 @@ select {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.badge-primary {
|
.badge-primary {
|
||||||
background: rgba(59, 130, 246, 0.2);
|
background: rgba(194, 134, 42, 0.2);
|
||||||
color: var(--primary-light);
|
color: var(--primary-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge-success {
|
.badge-success {
|
||||||
background: rgba(16, 185, 129, 0.2);
|
background: rgba(34, 197, 94, 0.2);
|
||||||
color: var(--success);
|
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 */
|
||||||
.modal-overlay {
|
.modal-overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@@ -324,7 +370,7 @@ select {
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: rgba(0, 0, 0, 0.75);
|
background: rgba(0, 0, 0, 0.8);
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -475,9 +521,9 @@ select {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.risk-low {
|
.risk-low {
|
||||||
background: rgba(16, 185, 129, 0.15);
|
background: rgba(34, 197, 94, 0.15);
|
||||||
color: var(--success);
|
color: var(--success);
|
||||||
border: 1px solid rgba(16, 185, 129, 0.3);
|
border: 1px solid rgba(34, 197, 94, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.risk-med {
|
.risk-med {
|
||||||
|
|||||||
Reference in New Issue
Block a user