fixed dark mode
This commit is contained in:
@@ -37,14 +37,33 @@
|
||||
}
|
||||
}
|
||||
|
||||
body.theme-light {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
body.theme-dark {
|
||||
color-scheme: dark;
|
||||
--bg: #0b1224;
|
||||
--bg-2: #0e1730;
|
||||
--surface: #0f1c3a;
|
||||
--card: #0f1b33;
|
||||
--text: #e7eef9;
|
||||
--muted: #9fb2ce;
|
||||
--border: rgba(255, 255, 255, 0.1);
|
||||
--accent: #7aa2ff;
|
||||
--accent-600: #4f7dff;
|
||||
}
|
||||
|
||||
body.theme-light {
|
||||
color-scheme: light;
|
||||
--bg: #f6f8fc;
|
||||
--bg-2: #eef2fb;
|
||||
--surface: #ffffff;
|
||||
--card: #ffffff;
|
||||
--text: #0f172a;
|
||||
--muted: #6b7280;
|
||||
--border: #e5e9f2;
|
||||
--accent: #2563eb;
|
||||
--accent-600: #1e40af;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user