Skip to content

Commit

Permalink
part of the solution for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Oct 17, 2024
1 parent b453fc4 commit 65e7676
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export default {
"${root}/.observablehq/cache/_import/**/*.js" /* transpiled components */
]
},
darkMode: ["variant", "&:where([class~=dark], [class~=dark] *)"],
prefix: 'tw-',
...config
};
Expand Down

0 comments on commit 65e7676

Please sign in to comment.