chore: make dev env dark mode work properly

This commit is contained in:
p-sw 2024-07-23 18:06:18 +09:00
parent 05953bbebe
commit c8f1912bae

View File

@ -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: {},
}, },