feat: tailwindcss dark mode color

This commit is contained in:
alisa committed 2023-04-25 21:45:33 +08:00
1 parent e88fff9e3d
commit a3a869d9c1
2 files changed
+23 -2

No files matched your search

+18
View File
@@ -1,3 +1,21 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--text-main: #333;
--text-secondary: #4b525d;
--bg-card: #fff;
--bg-active: #fbfbfc;
--bg-hover: #eee;
}
html.dark {
--text-main: #f7f7f7;
--text-secondary: #6f6e84;
--bg-card: #28334e;
--bg-active: #242b40;
--bg-hover: #303044;
}
}