fix: change dark mode system

This commit is contained in:
p-sw 2024-05-31 21:09:32 +09:00
parent 5d0ee14098
commit fb044c9bdb

View File

@ -1,7 +1,10 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
module.exports = { module.exports = {
content: ["./{components,stories,src}/**/*.{js,jsx,ts,tsx,css}"], content: ["./{components,stories,src}/**/*.{js,jsx,ts,tsx,css}"],
darkMode: "selector", darkMode: ["variant", [
'@media (prefers-color-scheme: dark) { &:is(.system *) }',
'&:is(.dark *)'
]],
theme: { theme: {
extend: {}, extend: {},
}, },