Vervangt rood/paars door tokens per variant en modus, voegt ModeToggle en icoon-knop VariantToggle toe, VariantRenderer met lazy E-chunk, dither-overgang (uit bij minder beweging), theme-init.js tegen themaflits en tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
31 lines
878 B
TypeScript
31 lines
878 B
TypeScript
import type { Config } from 'tailwindcss';
|
|
|
|
export default {
|
|
content: ['./index.html', './src/**/*.{ts,tsx}'],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
bg: 'var(--color-bg)',
|
|
surface: 'var(--color-surface)',
|
|
'surface-2': 'var(--color-surface-2)',
|
|
line: 'var(--color-line)',
|
|
text: 'var(--color-text)',
|
|
muted: 'var(--color-muted)',
|
|
accent: 'var(--color-accent)',
|
|
'accent-soft': 'var(--color-accent-soft)',
|
|
'accent-line': 'var(--color-accent-line)',
|
|
},
|
|
fontFamily: {
|
|
sans: ['Instrument Sans', 'system-ui', 'sans-serif'],
|
|
display: ['Sora', 'sans-serif'],
|
|
mono: ['JetBrains Mono', 'monospace'],
|
|
archivo: ['Archivo Variable', 'system-ui', 'sans-serif'],
|
|
},
|
|
borderRadius: {
|
|
DEFAULT: '14px',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
} satisfies Config;
|