We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7bffda9 + b1fa559 commit 4b04512Copy full SHA for 4b04512
1 file changed
tailwind.config.ts
@@ -8,6 +8,9 @@ import tailwindCssAnimate from 'tailwindcss-animate';
8
9
const config: Config = {
10
content: ['./src/**/*.{js,ts,jsx,tsx}'],
11
+ // Use selector-based dark mode so `dark:` variants activate when the `.dark` class is on <html>,
12
+ // matching how Paranext toggles the theme at runtime.
13
+ darkMode: 'selector',
14
// Prefix on all tailwind classes so they don't clash with built-in classes
15
// short for tailwind - we hope to have the same prefix as users of this library so the cn
16
// function that uses tailwind-merge can properly overwrite related tailwind classes
0 commit comments