Skip to content

Commit 823da2f

Browse files
committed
Fix: theme system doesn't switch to dark
1 parent fd9bf17 commit 823da2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tailwind.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
"./src/**/*.{js,jsx,ts,tsx,md,mdx}",
88
"./content/**/*.{js,jsx,ts,tsx,md,mdx}",
99
],
10-
darkMode: ["selector", "[data-theme='dark']"],
10+
darkMode: ["selector", "[data-theme*='dark']"],
1111
theme: {
1212
fontSize: {
1313
xs: ["0.75rem", { lineHeight: "1rem" }],

0 commit comments

Comments
 (0)