Thema-fundament: variant (B/E) x modus (licht/donker), tijdreis-knop en overgang

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>
This commit is contained in:
2026-11-09 21:14:11 +01:00
co-authored by Claude Sonnet 5.5
parent 1047c738b5
commit 0854e3a096
37 changed files with 1389 additions and 269 deletions
+4
View File
@@ -1 +1,5 @@
import '@testing-library/jest-dom/vitest';
import { vi } from 'vitest';
// jsdom does not implement window.scrollTo; the variant switch scrolls to the top (BR-U1-6).
window.scrollTo = vi.fn() as unknown as typeof window.scrollTo;