Skip to content

Commit b591db9

Browse files
authored
Merge pull request #10 from OmgRod/copilot/fix-theme-switcher-bug
Fix theme switcher: add Tailwind v4 class-based dark mode variant
2 parents 4ec4969 + 254826b commit b591db9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

styles/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@import "tailwindcss";
22

3+
@custom-variant dark (&:where(.dark, .dark *));
4+
35
html,
46
body,
57
#__next {

0 commit comments

Comments
 (0)