fix: built color

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2023-04-12 10:37:14 +08:00
parent 8d63bf8a87
commit 0c8a685313
3 changed files with 23 additions and 1 deletions
+5
View File
@@ -8,6 +8,11 @@
@apply fill-zinc-800;
font-family: var(--font-fans);
}
input,
textarea {
@apply bg-white;
}
}
*,
+17 -1
View File
@@ -1,4 +1,4 @@
:root {
html {
--border-color: #eee;
--font-fans: theme("fontFamily.sans");
--theme-color: var(--auto-theme-color, theme("colors.orange.500"));
@@ -7,3 +7,19 @@
/* Accent color for form controls */
accent-color: var(--theme-color);
}
html.dark {
--border-color: #333;
}
@media (prefers-color-scheme: dark) {
html.not(.light) {
--border-color: #333;
}
}
@media (prefers-color-scheme: light) {
html.not(.dark) {
--border-color: #eee;
}
}