fix: swap :root and html.dark CSS variable values to match theme semantics
Co-authored-by: itziarZG <70289074+itziarZG@users.noreply.github.com> Agent-Logs-Url: https://github.com/itziarZG/me/sessions/ee66b887-a211-40ee-b381-8096d4e0efe8
This commit is contained in:
co-authored by
itziarZG
parent
f548d8d324
commit
41f0549be7
+12
-12
@@ -9,27 +9,27 @@
|
|||||||
:root {
|
:root {
|
||||||
--primary: #3b82f6;
|
--primary: #3b82f6;
|
||||||
--primary-light: #60a5fa;
|
--primary-light: #60a5fa;
|
||||||
--background: #0a0a0a;
|
|
||||||
--surface: #171717;
|
|
||||||
--text-primary: #ffffff;
|
|
||||||
--text-secondary: #94a3b8;
|
|
||||||
--border: rgba(255, 255, 255, 0.1);
|
|
||||||
--accent: #8b5cf6;
|
|
||||||
--glass-bg: rgba(255, 255, 255, 0.03);
|
|
||||||
--glass-border: rgba(255, 255, 255, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Dark mode - when html has class="dark" */
|
|
||||||
html.dark {
|
|
||||||
--background: #ffffff;
|
--background: #ffffff;
|
||||||
--surface: #f8fafc;
|
--surface: #f8fafc;
|
||||||
--text-primary: #0a0a0a;
|
--text-primary: #0a0a0a;
|
||||||
--text-secondary: #64748b;
|
--text-secondary: #64748b;
|
||||||
--border: rgba(0, 0, 0, 0.1);
|
--border: rgba(0, 0, 0, 0.1);
|
||||||
|
--accent: #8b5cf6;
|
||||||
--glass-bg: rgba(0, 0, 0, 0.03);
|
--glass-bg: rgba(0, 0, 0, 0.03);
|
||||||
--glass-border: rgba(0, 0, 0, 0.1);
|
--glass-border: rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Dark mode - when html has class="dark" */
|
||||||
|
html.dark {
|
||||||
|
--background: #0a0a0a;
|
||||||
|
--surface: #171717;
|
||||||
|
--text-primary: #ffffff;
|
||||||
|
--text-secondary: #94a3b8;
|
||||||
|
--border: rgba(255, 255, 255, 0.1);
|
||||||
|
--glass-bg: rgba(255, 255, 255, 0.03);
|
||||||
|
--glass-border: rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
/* Typography */
|
/* Typography */
|
||||||
body {
|
body {
|
||||||
font-family:
|
font-family:
|
||||||
|
|||||||
Reference in New Issue
Block a user