This commit is contained in:
@@ -12,6 +12,10 @@ import typography from '@tailwindcss/typography';
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
content: ['./index.html', './src/**/*.{ts,tsx}'],
|
||||
// Drive the `dark:` variant off our runtime [data-theme="dark"] attribute
|
||||
// (set by index.html's pre-paint script + lib/theme.ts), not the OS media
|
||||
// query — so `dark:prose-invert` follows the in-app theme toggle.
|
||||
darkMode: ['selector', '[data-theme="dark"]'],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
|
||||
Reference in New Issue
Block a user