fix: change dark mode system
This commit is contained in:
parent
5d0ee14098
commit
fb044c9bdb
@ -1,7 +1,10 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: ["./{components,stories,src}/**/*.{js,jsx,ts,tsx,css}"],
|
||||
darkMode: "selector",
|
||||
darkMode: ["variant", [
|
||||
'@media (prefers-color-scheme: dark) { &:is(.system *) }',
|
||||
'&:is(.dark *)'
|
||||
]],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user