Skip to content

Commit 3cc4a18

Browse files
authored
Docs
it's will not work with class we should use `selector` ref: https://tailwindcss.com/docs/dark-mode#customizing-the-selector
1 parent 2eda2c3 commit 3cc4a18

File tree

1 file changed

+1
-1
lines changed
  • src/docs/src/routes/(docs)/docs/themes

1 file changed

+1
-1
lines changed

src/docs/src/routes/(docs)/docs/themes/+page.svx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,6 @@ module.exports = {
287287
daisyui: {
288288
themes: ['winter', 'night']
289289
},
290-
darkMode: ['class', '[data-theme="night"]']
290+
darkMode: ['selector', '[data-theme="night"]']
291291
}
292292
```

0 commit comments

Comments
 (0)