chore: make dev env dark mode work properly
This commit is contained in:
parent
05953bbebe
commit
c8f1912bae
@ -1,13 +1,7 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: ["./{components,stories,src}/**/*.{js,jsx,ts,tsx,css,mdx}"],
|
content: ["./{components,stories,src}/**/*.{js,jsx,ts,tsx,css,mdx}"],
|
||||||
darkMode: [
|
darkMode: "media",
|
||||||
"variant",
|
|
||||||
[
|
|
||||||
"@media (prefers-color-scheme: dark) { &:is(.system *) }",
|
|
||||||
"&:is(.dark *)",
|
|
||||||
],
|
|
||||||
],
|
|
||||||
theme: {
|
theme: {
|
||||||
extend: {},
|
extend: {},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user