Skip to content

Commit 65e7676

Browse files
committed
part of the solution for dark mode
1 parent b453fc4 commit 65e7676

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rollup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ export default {
214214
"${root}/.observablehq/cache/_import/**/*.js" /* transpiled components */
215215
]
216216
},
217+
darkMode: ["variant", "&:where([class~=dark], [class~=dark] *)"],
217218
prefix: 'tw-',
218219
...config
219220
};

0 commit comments

Comments
 (0)