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>
22 lines
1016 B
TypeScript
22 lines
1016 B
TypeScript
/**
|
|
* Self-hosted fonts (NFR Design decision: bundle fonts instead of loading from the
|
|
* Google Fonts CDN, avoiding an external dependency and the SRI concerns that would
|
|
* otherwise apply to a CDN-loaded stylesheet).
|
|
*
|
|
* Weights match the reference designs' Google Fonts request:
|
|
* Sora: 400;600;700;800 — Instrument Sans: 400;500;600 — JetBrains Mono: 400;500;700
|
|
*/
|
|
// Archivo (variable: weight 100-900, width 62-125%) is the display/body face of design B.
|
|
// The three families below are removed when the B sections are restyled (unit U2).
|
|
import '@fontsource-variable/archivo/wdth.css';
|
|
import '@fontsource/sora/400.css';
|
|
import '@fontsource/sora/600.css';
|
|
import '@fontsource/sora/700.css';
|
|
import '@fontsource/sora/800.css';
|
|
import '@fontsource/instrument-sans/400.css';
|
|
import '@fontsource/instrument-sans/500.css';
|
|
import '@fontsource/instrument-sans/600.css';
|
|
import '@fontsource/jetbrains-mono/400.css';
|
|
import '@fontsource/jetbrains-mono/500.css';
|
|
import '@fontsource/jetbrains-mono/700.css';
|