mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
chore(tailwind): add dark color-scheme
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
.dark {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
|
||||||
@layer utilities {
|
@layer utilities {
|
||||||
.u-bg-white { @apply bg-white dark:bg-black; }
|
.u-bg-white { @apply bg-white dark:bg-black; }
|
||||||
.u-bg-gray-50 { @apply bg-gray-50 dark:bg-gray-900; }
|
.u-bg-gray-50 { @apply bg-gray-50 dark:bg-gray-900; }
|
||||||
|
|||||||
Reference in New Issue
Block a user