Skip to content

Commit 6c09407

Browse files
committed
fix missing config
1 parent 6afb029 commit 6c09407

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

examples/dark-with-class/clean.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
--sizes-container: 2rem
1313
}
1414

15-
:root.dark {
15+
.dark {
1616
--colors-red-50: #c665ff;
1717
--colors-red-500: #9433f1;
1818
--colors-red-900: #6c0bc9
1919
}
2020

21-
:root.dark .container {
21+
.dark .container {
2222
--colors-red-50: #ff0000
2323
}

examples/dark-with-class/tailwind.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,9 @@ module.exports = {
4545
}),
4646
},
4747
variants: {},
48-
plugins: [require('../../src/index')],
48+
plugins: [
49+
require('../../src/index')({
50+
darkToRoot: false,
51+
}),
52+
],
4953
}

0 commit comments

Comments
 (0)