Nieuwe tokens (brand, inv, panel, field, prog, body), Archivo als lettertype (Sora en Instrument Sans verwijderd), witte toggles op het rode kopblok, en tests voor structuur, landmarks en contrast in alle vier de thema's. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
41 lines
1.4 KiB
TypeScript
41 lines
1.4 KiB
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)',
|
|
// Design B colour blocks (constant brand red, black strips, form panel); see index.css.
|
|
brand: 'var(--color-brand)',
|
|
'on-brand': 'var(--color-on-brand)',
|
|
body: 'var(--color-body)',
|
|
inv: 'var(--color-inv)',
|
|
panel: 'var(--color-panel)',
|
|
field: 'var(--color-field)',
|
|
prog: 'var(--color-prog)',
|
|
},
|
|
fontFamily: {
|
|
// Archivo Variable (weight 100-900, width 62-125%) is the face of design B; use
|
|
// `[font-stretch:125%]` for the wide display type.
|
|
sans: ['Archivo Variable', 'system-ui', 'sans-serif'],
|
|
display: ['Archivo Variable', 'system-ui', 'sans-serif'],
|
|
mono: ['JetBrains Mono', 'monospace'],
|
|
archivo: ['Archivo Variable', 'system-ui', 'sans-serif'],
|
|
},
|
|
borderRadius: {
|
|
DEFAULT: '14px',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
} satisfies Config;
|