diff --git a/aidlc-docs/features/redesign-modern-timetravel/audit.md b/aidlc-docs/features/redesign-modern-timetravel/audit.md
index 049c954..7412252 100644
--- a/aidlc-docs/features/redesign-modern-timetravel/audit.md
+++ b/aidlc-docs/features/redesign-modern-timetravel/audit.md
@@ -502,3 +502,15 @@
**Context**: Code Generation U1 Part 2 starts.
---
+
+## Builder CMS-U3 Accepted
+
+**Timestamp**: 2026-11-10T05:10:00Z
+
+**User Input**: "(cross-session message from SLS Software - CMS: CMS-U3 contact-core done, commit b9af7df; summary at K:\Development\Projects\SlpModularCms-contact-forms\aidlc-docs\features\contact-forms-module\construction\cms-u3-contact-core\code\summary.md)"
+
+**AI Response**: "Accepted on the basis of the builder's report (not yet read in full): Modules.Contact + Tests, migration InitialCreate, public routes with [PublicSiteEndpoint], 404 gate behind IContactFormGate, spam path, idempotency, retention job; tests against a temporary MariaDB (Contact.Tests 113, Core 205, Availability 95, Offerings 86, Identity 37, Master 57, Api 4 passed). Contract deviations adopted: hpCheck JSON name fixed, missing hpCheck counts as empty, unbindable body gives 400 errors.body=['invalid']. Sentry events contain the IP (SendDefaultPii) but no form data; no IP in the database (to mention in the privacy statement review). Builder may send CMS-U3b and CMS-U4 plans together."
+
+**Context**: Leading the builder. Summary file to be read when preparing the frontend handoff (U4).
+
+---
diff --git a/aidlc-docs/features/redesign-modern-timetravel/construction/plans/theme-foundation-code-generation-plan.md b/aidlc-docs/features/redesign-modern-timetravel/construction/plans/theme-foundation-code-generation-plan.md
index c743ab2..7a90fb9 100644
--- a/aidlc-docs/features/redesign-modern-timetravel/construction/plans/theme-foundation-code-generation-plan.md
+++ b/aidlc-docs/features/redesign-modern-timetravel/construction/plans/theme-foundation-code-generation-plan.md
@@ -22,19 +22,19 @@ Single source of truth for U1 Code Generation. Inputs: `unit-of-work.md` (U1), F
- Docs: C `aidlc-docs/features/redesign-modern-timetravel/construction/theme-foundation/code/summary.md`
## Steps
-- [ ] **Step 0 — Preparation**: commit the AI-DLC inception/design documents separately (`aidlc-docs/`) on the branch so code commits stay clean. Verify the baseline: `pnpm test`, `pnpm lint`, `pnpm build` are green before changes (record the numbers).
-- [ ] **Step 1 — Dependency and fonts**: add `@fontsource-variable/archivo` (variable weight + width axis) respecting the repo's pnpm settings; if the package is blocked by the release-age policy or missing, stop and report instead of working around it. Import it in `src/fonts.ts` next to the existing fonts (old fonts are removed in U2); add Tailwind `fontFamily.archivo`.
-- [ ] **Step 2 — Tokens (pure logic)**: rewrite `src/theme/tokens.ts`: types `Variant`, `Mode`, `ModeSource`; constants `MODE_STORAGE_KEY = 'slp-software-mode'`, `LEGACY_THEME_STORAGE_KEY = 'slp-software-theme'`; pure functions `isValidMode`, `resolveInitialMode(stored, systemPrefersDark)` returning `{ mode, source }`. (BR-U1-1, 2, 11)
-- [ ] **Step 3 — Media-query hooks**: `usePrefersReducedMotion`, `usePrefersDark` (SSR-safe, subscribe/unsubscribe, jsdom-safe when `matchMedia` is missing → defaults false). (BR-U1-3, 9)
-- [ ] **Step 4 — CSS tokens**: in `src/index.css` replace `.theme-red/.theme-purple` with `html[data-variant='b'][data-mode='light'|'dark']` and E placeholders (`'e'`, light/dark, accent `#AC0000`) with the semantic variables; B accent `#7A1414`; transitions guarded by `prefers-reduced-motion`; add the dither overlay classes (checker mask + `steps()` keyframes, accent colored), all disabled under reduced motion. (FR-3, BR-U1-9)
-- [ ] **Step 5 — No-flash script**: create `public/theme-init.js` (plain ES5, guarded storage access, sets `data-variant="b"` and `data-mode` on ``, mirrors `resolveInitialMode`); add `` (blocking, in `
`) in `index.html`. No inline script. (BR-U1-5)
-- [ ] **Step 6 — ThemeProvider**: rewrite with `variant`, `mode`, `modeSource`, `toggleMode`, `toggleVariant`, `transition`, `announce`; follow system changes while source is `system`; persist mode on user toggle (guarded); remove the legacy key once; apply data attributes in an effect; `toggleVariant` runs the phases cover → swap → reveal (timers, ~300 ms each), scrolls to top and moves focus to `#main` after the swap, immediate under reduced motion. (BR-U1-1..10, FR-5)
-- [ ] **Step 7 — UI components**: `ModeToggle` (aria-pressed = dark, label "Donkere weergave", ≥44px target on mobile, `data-testid="mode-toggle-button"`), icon-only `VariantToggle` (label "Tijdreis: bekijk de site zoals vroeger" / "Terug naar nu", tooltip = label, `data-testid="variant-toggle-button"`), `TransitionOverlay`, `LiveRegion`, `EBoundary`, `VariantRenderer` (B eager, E via `React.lazy(() => import('../../variants/e/LandingE'))`, `Suspense` fallback = cover, error → B + alert + retry). Delete `ThemeToggle.tsx`. (FR-4, FR-6, BR-U1-6..8, 12)
-- [ ] **Step 8 — Layout integration**: `Nav.tsx` shows `ModeToggle` then `VariantToggle` (desktop and mobile bar); `RootLayout.tsx` wraps content in ``, renders `VariantRenderer` (B shell = Nav + page + Footer), `TransitionOverlay`, `LiveRegion`; `LandingE` is a minimal placeholder ("Tijdreis — in aanbouw") with its own nav containing the two toggles so the round trip is testable. `src/routes/__root.tsx` composition order unchanged.
-- [ ] **Step 9 — Tests**: per the acceptance list in `frontend-components.md` (8 items): table-driven `resolveInitialMode`; ThemeProvider (first render, legacy key removal, system change following, user click stops following, persistence, storage failure, variant never persisted); variant switch (scroll to top, focus on `#main`, announcement, reduced-motion path with no overlay, failure path with alert + retry); accessibility attributes of both buttons; Nav test updates. Replace obsolete red/purple assertions.
-- [ ] **Step 10 — Build and test (automatic, Step 13.5)**: `pnpm lint`, `pnpm test`, `pnpm build` (runs `tsc -b`). Fix and retry until green; report real counts. Manual smoke check of both modes via `pnpm build` output is not required.
-- [ ] **Step 11 — Docs**: write `construction/theme-foundation/code/summary.md` (files, behaviour, how to use the hooks, notes for U2..U5, the `/theme-init.js` CSP/nginx note for Operations: must be served same-origin and not cached long).
-- [ ] **Step 12 — Commit**: one commit for U1 code (Dutch message in the repo's style, `Co-Authored-By` line as required). No push.
+- [x] **Step 0 — Preparation**: commit the AI-DLC inception/design documents separately (`aidlc-docs/`) on the branch so code commits stay clean. Verify the baseline: `pnpm test`, `pnpm lint`, `pnpm build` are green before changes (record the numbers).
+- [x] **Step 1 — Dependency and fonts**: add `@fontsource-variable/archivo` (variable weight + width axis) respecting the repo's pnpm settings; if the package is blocked by the release-age policy or missing, stop and report instead of working around it. Import it in `src/fonts.ts` next to the existing fonts (old fonts are removed in U2); add Tailwind `fontFamily.archivo`.
+- [x] **Step 2 — Tokens (pure logic)**: rewrite `src/theme/tokens.ts`: types `Variant`, `Mode`, `ModeSource`; constants `MODE_STORAGE_KEY = 'slp-software-mode'`, `LEGACY_THEME_STORAGE_KEY = 'slp-software-theme'`; pure functions `isValidMode`, `resolveInitialMode(stored, systemPrefersDark)` returning `{ mode, source }`. (BR-U1-1, 2, 11)
+- [x] **Step 3 — Media-query hooks**: `usePrefersReducedMotion`, `usePrefersDark` (SSR-safe, subscribe/unsubscribe, jsdom-safe when `matchMedia` is missing → defaults false). (BR-U1-3, 9)
+- [x] **Step 4 — CSS tokens**: in `src/index.css` replace `.theme-red/.theme-purple` with `html[data-variant='b'][data-mode='light'|'dark']` and E placeholders (`'e'`, light/dark, accent `#AC0000`) with the semantic variables; B accent `#7A1414`; transitions guarded by `prefers-reduced-motion`; add the dither overlay classes (checker mask + `steps()` keyframes, accent colored), all disabled under reduced motion. (FR-3, BR-U1-9)
+- [x] **Step 5 — No-flash script**: create `public/theme-init.js` (plain ES5, guarded storage access, sets `data-variant="b"` and `data-mode` on ``, mirrors `resolveInitialMode`); add `` (blocking, in ``) in `index.html`. No inline script. (BR-U1-5)
+- [x] **Step 6 — ThemeProvider**: rewrite with `variant`, `mode`, `modeSource`, `toggleMode`, `toggleVariant`, `transition`, `announce`; follow system changes while source is `system`; persist mode on user toggle (guarded); remove the legacy key once; apply data attributes in an effect; `toggleVariant` runs the phases cover → swap → reveal (timers, ~300 ms each), scrolls to top and moves focus to `#main` after the swap, immediate under reduced motion. (BR-U1-1..10, FR-5)
+- [x] **Step 7 — UI components**: `ModeToggle` (aria-pressed = dark, label "Donkere weergave", ≥44px target on mobile, `data-testid="mode-toggle-button"`), icon-only `VariantToggle` (label "Tijdreis: bekijk de site zoals vroeger" / "Terug naar nu", tooltip = label, `data-testid="variant-toggle-button"`), `TransitionOverlay`, `LiveRegion`, `EBoundary`, `VariantRenderer` (B eager, E via `React.lazy(() => import('../../variants/e/LandingE'))`, `Suspense` fallback = cover, error → B + alert + retry). Delete `ThemeToggle.tsx`. (FR-4, FR-6, BR-U1-6..8, 12)
+- [x] **Step 8 — Layout integration**: `Nav.tsx` shows `ModeToggle` then `VariantToggle` (desktop and mobile bar); `RootLayout.tsx` wraps content in ``, renders `VariantRenderer` (B shell = Nav + page + Footer), `TransitionOverlay`, `LiveRegion`; `LandingE` is a minimal placeholder ("Tijdreis — in aanbouw") with its own nav containing the two toggles so the round trip is testable. `src/routes/__root.tsx` composition order unchanged.
+- [x] **Step 9 — Tests**: per the acceptance list in `frontend-components.md` (8 items): table-driven `resolveInitialMode`; ThemeProvider (first render, legacy key removal, system change following, user click stops following, persistence, storage failure, variant never persisted); variant switch (scroll to top, focus on `#main`, announcement, reduced-motion path with no overlay, failure path with alert + retry); accessibility attributes of both buttons; Nav test updates. Replace obsolete red/purple assertions.
+- [x] **Step 10 — Build and test (automatic, Step 13.5)**: `pnpm lint`, `pnpm test`, `pnpm build` (runs `tsc -b`). Fix and retry until green; report real counts. Manual smoke check of both modes via `pnpm build` output is not required.
+- [x] **Step 11 — Docs**: write `construction/theme-foundation/code/summary.md` (files, behaviour, how to use the hooks, notes for U2..U5, the `/theme-init.js` CSP/nginx note for Operations: must be served same-origin and not cached long).
+- [x] **Step 12 — Commit**: one commit for U1 code (Dutch message in the repo's style, `Co-Authored-By` line as required). No push.
## Explicitly NOT touched in U1
Section content and layout (Hero, About, Packages, Process, Contact), `content.ts`, `usePackagesQuery`, Sentry/Umami wiring, nginx configs, router. Old fonts stay until U2. The E variant's real content is U5.
diff --git a/aidlc-docs/features/redesign-modern-timetravel/construction/theme-foundation/code/summary.md b/aidlc-docs/features/redesign-modern-timetravel/construction/theme-foundation/code/summary.md
new file mode 100644
index 0000000..91a13dd
--- /dev/null
+++ b/aidlc-docs/features/redesign-modern-timetravel/construction/theme-foundation/code/summary.md
@@ -0,0 +1,29 @@
+# Code Summary — theme-foundation (U1)
+
+## What was built
+- **Theme model**: variant (`b` | `e`) × mode (`light` | `dark`). The old red/purple themes are gone. The variant is always `b` at startup and never stored or in the URL; the mode follows the system preference until the first click, after which it is persisted under `slp-software-mode`. The legacy key `slp-software-theme` is removed once (BR-U1-1..4, 10, 11).
+- **No theme flash**: `public/theme-init.js` is a blocking same-origin script (no inline script) that sets `data-variant` and `data-mode` on `` before first paint; `ThemeProvider` keeps them in sync (BR-U1-5).
+- **Tokens**: `src/index.css` defines the semantic CSS variables for B light, B dark (accent `#7A1414` light / `#E5524A` dark for text contrast), and base tokens for E light/dark (accent `#AC0000` light, a lighter red in dark; refined per era in U5). Tailwind color names are unchanged.
+- **Buttons**: `ModeToggle` (aria-pressed, label "Donkere weergave") and icon-only `VariantToggle` (label changes: "Tijdreis: bekijk de site zoals vroeger" / "Terug naar nu"), both real buttons with 44px touch targets on mobile, in the nav of B and in the E placeholder (BR-U1-12).
+- **Variant switching**: `ThemeProvider.toggleVariant` runs the time-travel transition (cover → swap → reveal, 300 ms phases, zero under reduced motion): E is preloaded via `loadVariant` (lazy chunk `LandingE`), the page scrolls to the top, focus moves to `#main`, and a live region announces the result. A load failure keeps B and shows `VariantAlert` with retry; a crash in E is caught by `EBoundary` (BR-U1-6..9).
+- **Transition effect**: `TransitionOverlay` + `.tt-overlay` CSS (pixel-dither checker, `steps()` animation); not rendered under `prefers-reduced-motion`.
+- **Layout**: `RootLayout` renders `VariantRenderer` (B shell = Nav + `` + Footer), `TransitionOverlay`, `LiveRegion`, `VariantAlert`.
+- **Font**: `@fontsource-variable/archivo` (weight + width axes) added and imported; Tailwind `fontFamily.archivo`. The old families stay until U2.
+- **E placeholder**: `src/variants/e/LandingE.tsx` (own nav with the two toggles, "in aanbouw" content). Real content is U5.
+
+## Files
+- Modified: `index.html`, `package.json`, `pnpm-lock.yaml`, `tailwind.config.ts`, `src/fonts.ts`, `src/index.css`, `src/theme/tokens.ts`, `src/theme/ThemeProvider.tsx`, `src/components/layout/Nav.tsx`, `src/components/layout/RootLayout.tsx`, `src/routes/__root.tsx`, `src/test/setup.ts`, tests `ThemeProvider.test.tsx`, `Nav.test.tsx`.
+- Created: `public/theme-init.js`, `src/theme/loadVariant.ts`, `src/shared/hooks/{mediaQuery,usePrefersDark,usePrefersReducedMotion}.ts`, `src/components/ui/{ModeToggle,VariantToggle}.tsx`, `src/components/layout/{VariantRenderer,TransitionOverlay,LiveRegion,VariantAlert,EBoundary}.tsx`, `src/variants/e/LandingE.tsx`, `src/test/matchMedia.ts`, tests `tokens.test.ts`, `mediaQueryHooks.test.tsx`, `Toggles.test.tsx`, `VariantRenderer.test.tsx`.
+- Deleted: `src/components/ui/ThemeToggle.tsx`.
+
+## Verification (Step 13.5, real output)
+- Baseline before changes: 6 test files / 24 tests passed, lint 0 errors (2 existing warnings), build OK.
+- After: **10 test files / 56 tests passed**, `pnpm lint` 0 errors (same 2 warnings: `react-refresh/only-export-components` in `SentryTestButton.tsx` and `ThemeProvider.tsx`, the latter existed before as well), `pnpm build` OK (tsc -b + vite). E is a separate chunk (`LandingE-*.js`, 0.9 kB); main bundle 444.8 kB (baseline 438.3 kB, +Archivo CSS).
+- `pnpm-lock.yaml` also contains peer-suffix (`supports-color`) churn produced by the local pnpm 12; the only real addition is `@fontsource-variable/archivo@5.3.0`.
+
+## Notes for the next units
+- Use `useTheme()` for `variant`/`mode`; use semantic Tailwind colors (`bg-bg`, `text-text`, `border-line`, `text-accent`...) so both modes and variants work. U2 restyles the sections to design B and then removes the old font families.
+- **Interim look**: until U2 the existing sections use the new B tokens (light by default for many visitors).
+- **Operations notes**: `/theme-init.js` must be served same-origin (CSP `script-src 'self'`) and must not be cached for long; the E chunk file name changes per build.
+- jsdom helpers: `src/test/matchMedia.ts` (`mockMatchMedia`, `clearMatchMedia`) and a global `window.scrollTo` mock in `src/test/setup.ts`.
+- Not done on purpose: mobile menu keeps the two toggles in the top bar (they are always visible); icons are inline SVG.
diff --git a/aidlc-docs/features/redesign-modern-timetravel/inception/application-design/contact-api-contract.md b/aidlc-docs/features/redesign-modern-timetravel/inception/application-design/contact-api-contract.md
index a63876e..5c444a0 100644
--- a/aidlc-docs/features/redesign-modern-timetravel/inception/application-design/contact-api-contract.md
+++ b/aidlc-docs/features/redesign-modern-timetravel/inception/application-design/contact-api-contract.md
@@ -50,7 +50,7 @@ Request body:
| `email` | string | yes | trimmed, 1–254 chars, regex `^[^\s@]+@[^\s@]+\.[^\s@]{2,}$`, no control characters |
| `subject` | string | yes | trimmed, 1–100 chars; **opaque value** chosen by the site (a package id, slug, or `other`); no slug regex; stored as given, never validated against offerings. The label of `other` is per site (ASF: "Overig"). |
| `message` | string | yes | trimmed, 1–2000 chars |
-| `hpCheck` | string | yes (key present) | **honeypot**; must be empty. Deliberately implausible name (not `website`/`url`) to avoid password-manager autofill; field is configurable per site; render with `autocomplete="off"`, `tabindex="-1"`, `aria-hidden`, off-screen |
+| `hpCheck` | string | no (a missing key counts as empty; CMS-U3) | **honeypot**; must be empty. The JSON name is fixed `hpCheck`; the DOM name/id in the site is free. Deliberately implausible name (not `website`/`url`) to avoid password-manager autofill; render with `autocomplete="off"`, `tabindex="-1"`, `aria-hidden`, off-screen |
| `token` | string | yes | from 2.1 |
| `captchaToken` | string \| null | when `captcha` enabled | verified server-side |
@@ -71,7 +71,7 @@ Responses:
"errors": { "name": ["required"], "email": ["invalid"], "message": ["tooLong"] }
}
```
-The `type` URI is configurable per host (`Contact:ProblemTypeBase`), default `about:blank`, so no site domain is hard-coded in a module used by two sites; clients map on `errors`, never on `type`. Codes: `required`, `tooLong`, `invalid`, `expired` (token only; also for forged/other-site tokens). The `errors` mapping is custom (not the default ASP.NET `ValidationProblemDetails`). Messages are **not** localized by the API; the client maps `messages[field][code]`. Client-side validation uses the same limits and codes.
+The `type` URI is configurable per host (`Contact:ProblemTypeBase`), default `about:blank`, so no site domain is hard-coded in a module used by two sites; clients map on `errors`, never on `type`. Codes: `required`, `tooLong`, `invalid`, `expired` (token only; also for forged/other-site tokens). A body that cannot be bound (broken JSON, wrong types) answers `400` with `errors.body = ["invalid"]` in the same problem shape, without echoing values (implemented in CMS-U3). The `errors` mapping is custom (not the default ASP.NET `ValidationProblemDetails`). Messages are **not** localized by the API; the client maps `messages[field][code]`. Client-side validation uses the same limits and codes.
## 4. Server behaviour agreements
1. **Store first, mail after commit.** Validate → store and commit (`status: new`, `mailStatus: pending`) → respond 202. Mail is **not fire-and-forget** in the request scope: a `BackgroundService`/queue picks up `pending` rows, sends via `IEmailSender`/`IMailAvailability` (returns `MailSendResult`, does not throw) and updates `mailStatus` and `mailAttempts`. A short sweep (every few minutes) catches `pending` rows left by a crash; `failed` rows are retried with **backoff** up to a configurable max attempts (so a first outage does not mean 24 h delay). A mail failure never fails the request. If `Email:Smtp:Host` is not configured: store only, show a notice in the admin.
diff --git a/index.html b/index.html
index f69f31b..895099b 100644
--- a/index.html
+++ b/index.html
@@ -8,6 +8,7 @@
name="description"
content="SLP Software bouwt landingspagina's, websites en maatwerk .NET-oplossingen. Vaste prijzen, heldere afspraken."
/>
+
diff --git a/package.json b/package.json
index 454ff70..909c218 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"format": "prettier --write ."
},
"dependencies": {
+ "@fontsource-variable/archivo": "^5.3.0",
"@fontsource/instrument-sans": "^5.1.0",
"@fontsource/jetbrains-mono": "^5.1.1",
"@fontsource/sora": "^5.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 66043af..60d3b47 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -8,6 +8,9 @@ importers:
.:
dependencies:
+ '@fontsource-variable/archivo':
+ specifier: ^5.3.0
+ version: 5.3.0
'@fontsource/instrument-sans':
specifier: ^5.1.0
version: 5.2.8
@@ -53,25 +56,25 @@ importers:
version: 18.3.7(@types/react@18.3.31)
'@vitejs/plugin-react':
specifier: ^4.3.2
- version: 4.7.0(vite@5.4.21)
+ version: 4.7.0(supports-color@7.2.0)(vite@5.4.21)
autoprefixer:
specifier: ^10.4.20
version: 10.5.4(postcss@8.5.19)
eslint:
specifier: ^9.13.0
- version: 9.39.5(jiti@1.21.7)
+ version: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
eslint-plugin-react-hooks:
specifier: ^5.0.0
- version: 5.2.0(eslint@9.39.5(jiti@1.21.7))
+ version: 5.2.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))
eslint-plugin-react-refresh:
specifier: ^0.4.12
- version: 0.4.26(eslint@9.39.5(jiti@1.21.7))
+ version: 0.4.26(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))
globals:
specifier: ^15.9.0
version: 15.15.0
jsdom:
specifier: ^25.0.1
- version: 25.0.1
+ version: 25.0.1(supports-color@7.2.0)
postcss:
specifier: ^8.4.47
version: 8.5.19
@@ -86,13 +89,13 @@ importers:
version: 5.9.3
typescript-eslint:
specifier: ^8.8.0
- version: 8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)
+ version: 8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)
vite:
specifier: ^5.4.8
version: 5.4.21
vitest:
specifier: ^2.1.2
- version: 2.1.9(jsdom@25.0.1)
+ version: 2.1.9(jsdom@25.0.1(supports-color@7.2.0))(supports-color@7.2.0)
packages:
@@ -397,6 +400,9 @@ packages:
resolution: {integrity: sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@fontsource-variable/archivo@5.3.0':
+ resolution: {integrity: sha512-HogK8FJelrD1o7TlZlkIVtHgc20bO5PZRWE7mUeUTdMN055alznQV6/00J00IBeu8FQAH4s3zW9UJNvKExXf+g==}
+
'@fontsource/instrument-sans@5.2.8':
resolution: {integrity: sha512-TJRYVbjZPx4DGMMU5lb5eFKrP3iLe9h7rz8Pk+dP958IZKiyHjYGXXwQZapVbBXcQN+YOiviVhAWxrjv8g6Z6g==}
@@ -1105,6 +1111,7 @@ packages:
eslint@9.39.5:
resolution: {integrity: sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options.
hasBin: true
peerDependencies:
jiti: '*'
@@ -1946,20 +1953,20 @@ snapshots:
'@babel/compat-data@7.29.7': {}
- '@babel/core@7.29.7':
+ '@babel/core@7.29.7(supports-color@7.2.0)':
dependencies:
'@babel/code-frame': 7.29.7
'@babel/generator': 7.29.7
'@babel/helper-compilation-targets': 7.29.7
- '@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7)
+ '@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7(supports-color@7.2.0))(supports-color@7.2.0)
'@babel/helpers': 7.29.7
'@babel/parser': 7.29.7
'@babel/template': 7.29.7
- '@babel/traverse': 7.29.7
+ '@babel/traverse': 7.29.7(supports-color@7.2.0)
'@babel/types': 7.29.7
'@jridgewell/remapping': 2.3.5
convert-source-map: 2.0.0
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.1
@@ -1984,19 +1991,19 @@ snapshots:
'@babel/helper-globals@7.29.7': {}
- '@babel/helper-module-imports@7.29.7':
+ '@babel/helper-module-imports@7.29.7(supports-color@7.2.0)':
dependencies:
- '@babel/traverse': 7.29.7
+ '@babel/traverse': 7.29.7(supports-color@7.2.0)
'@babel/types': 7.29.7
transitivePeerDependencies:
- supports-color
- '@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7)':
+ '@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7(supports-color@7.2.0))(supports-color@7.2.0)':
dependencies:
- '@babel/core': 7.29.7
- '@babel/helper-module-imports': 7.29.7
+ '@babel/core': 7.29.7(supports-color@7.2.0)
+ '@babel/helper-module-imports': 7.29.7(supports-color@7.2.0)
'@babel/helper-validator-identifier': 7.29.7
- '@babel/traverse': 7.29.7
+ '@babel/traverse': 7.29.7(supports-color@7.2.0)
transitivePeerDependencies:
- supports-color
@@ -2017,14 +2024,14 @@ snapshots:
dependencies:
'@babel/types': 7.29.7
- '@babel/plugin-transform-react-jsx-self@7.29.7(@babel/core@7.29.7)':
+ '@babel/plugin-transform-react-jsx-self@7.29.7(@babel/core@7.29.7(supports-color@7.2.0))':
dependencies:
- '@babel/core': 7.29.7
+ '@babel/core': 7.29.7(supports-color@7.2.0)
'@babel/helper-plugin-utils': 7.29.7
- '@babel/plugin-transform-react-jsx-source@7.29.7(@babel/core@7.29.7)':
+ '@babel/plugin-transform-react-jsx-source@7.29.7(@babel/core@7.29.7(supports-color@7.2.0))':
dependencies:
- '@babel/core': 7.29.7
+ '@babel/core': 7.29.7(supports-color@7.2.0)
'@babel/helper-plugin-utils': 7.29.7
'@babel/runtime@7.29.7': {}
@@ -2035,7 +2042,7 @@ snapshots:
'@babel/parser': 7.29.7
'@babel/types': 7.29.7
- '@babel/traverse@7.29.7':
+ '@babel/traverse@7.29.7(supports-color@7.2.0)':
dependencies:
'@babel/code-frame': 7.29.7
'@babel/generator': 7.29.7
@@ -2043,7 +2050,7 @@ snapshots:
'@babel/parser': 7.29.7
'@babel/template': 7.29.7
'@babel/types': 7.29.7
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
transitivePeerDependencies:
- supports-color
@@ -2141,17 +2148,17 @@ snapshots:
'@esbuild/win32-x64@0.21.5':
optional: true
- '@eslint-community/eslint-utils@4.9.1(eslint@9.39.5(jiti@1.21.7))':
+ '@eslint-community/eslint-utils@4.9.1(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))':
dependencies:
- eslint: 9.39.5(jiti@1.21.7)
+ eslint: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
eslint-visitor-keys: 3.4.3
'@eslint-community/regexpp@4.12.2': {}
- '@eslint/config-array@0.21.2':
+ '@eslint/config-array@0.21.2(supports-color@7.2.0)':
dependencies:
'@eslint/object-schema': 2.1.7
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
minimatch: 3.1.5
transitivePeerDependencies:
- supports-color
@@ -2164,10 +2171,10 @@ snapshots:
dependencies:
'@types/json-schema': 7.0.15
- '@eslint/eslintrc@3.3.6':
+ '@eslint/eslintrc@3.3.6(supports-color@7.2.0)':
dependencies:
ajv: 6.15.0
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
espree: 10.4.0
globals: 14.0.0
ignore: 5.3.2
@@ -2187,6 +2194,8 @@ snapshots:
'@eslint/core': 0.17.0
levn: 0.4.1
+ '@fontsource-variable/archivo@5.3.0': {}
+
'@fontsource/instrument-sans@5.2.8': {}
'@fontsource/jetbrains-mono@5.2.8': {}
@@ -2464,15 +2473,15 @@ snapshots:
'@types/prop-types': 15.7.15
csstype: 3.2.3
- '@typescript-eslint/eslint-plugin@8.64.0(@typescript-eslint/parser@8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)':
+ '@typescript-eslint/eslint-plugin@8.64.0(@typescript-eslint/parser@8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3))(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)':
dependencies:
'@eslint-community/regexpp': 4.12.2
- '@typescript-eslint/parser': 8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)
+ '@typescript-eslint/parser': 8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)
'@typescript-eslint/scope-manager': 8.64.0
- '@typescript-eslint/type-utils': 8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)
- '@typescript-eslint/utils': 8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)
+ '@typescript-eslint/type-utils': 8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)
+ '@typescript-eslint/utils': 8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)
'@typescript-eslint/visitor-keys': 8.64.0
- eslint: 9.39.5(jiti@1.21.7)
+ eslint: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
ignore: 7.0.6
natural-compare: 1.4.0
ts-api-utils: 2.5.0(typescript@5.9.3)
@@ -2480,23 +2489,23 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/parser@8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)':
+ '@typescript-eslint/parser@8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)':
dependencies:
'@typescript-eslint/scope-manager': 8.64.0
'@typescript-eslint/types': 8.64.0
- '@typescript-eslint/typescript-estree': 8.64.0(typescript@5.9.3)
+ '@typescript-eslint/typescript-estree': 8.64.0(supports-color@7.2.0)(typescript@5.9.3)
'@typescript-eslint/visitor-keys': 8.64.0
- debug: 4.4.3
- eslint: 9.39.5(jiti@1.21.7)
+ debug: 4.4.3(supports-color@7.2.0)
+ eslint: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/project-service@8.64.0(typescript@5.9.3)':
+ '@typescript-eslint/project-service@8.64.0(supports-color@7.2.0)(typescript@5.9.3)':
dependencies:
'@typescript-eslint/tsconfig-utils': 8.64.0(typescript@5.9.3)
'@typescript-eslint/types': 8.64.0
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -2510,13 +2519,13 @@ snapshots:
dependencies:
typescript: 5.9.3
- '@typescript-eslint/type-utils@8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)':
+ '@typescript-eslint/type-utils@8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)':
dependencies:
'@typescript-eslint/types': 8.64.0
- '@typescript-eslint/typescript-estree': 8.64.0(typescript@5.9.3)
- '@typescript-eslint/utils': 8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)
- debug: 4.4.3
- eslint: 9.39.5(jiti@1.21.7)
+ '@typescript-eslint/typescript-estree': 8.64.0(supports-color@7.2.0)(typescript@5.9.3)
+ '@typescript-eslint/utils': 8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)
+ debug: 4.4.3(supports-color@7.2.0)
+ eslint: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
ts-api-utils: 2.5.0(typescript@5.9.3)
typescript: 5.9.3
transitivePeerDependencies:
@@ -2524,13 +2533,13 @@ snapshots:
'@typescript-eslint/types@8.64.0': {}
- '@typescript-eslint/typescript-estree@8.64.0(typescript@5.9.3)':
+ '@typescript-eslint/typescript-estree@8.64.0(supports-color@7.2.0)(typescript@5.9.3)':
dependencies:
- '@typescript-eslint/project-service': 8.64.0(typescript@5.9.3)
+ '@typescript-eslint/project-service': 8.64.0(supports-color@7.2.0)(typescript@5.9.3)
'@typescript-eslint/tsconfig-utils': 8.64.0(typescript@5.9.3)
'@typescript-eslint/types': 8.64.0
'@typescript-eslint/visitor-keys': 8.64.0
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
minimatch: 10.2.5
semver: 7.8.5
tinyglobby: 0.2.17
@@ -2539,13 +2548,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/utils@8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)':
+ '@typescript-eslint/utils@8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)':
dependencies:
- '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.5(jiti@1.21.7))
+ '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))
'@typescript-eslint/scope-manager': 8.64.0
'@typescript-eslint/types': 8.64.0
- '@typescript-eslint/typescript-estree': 8.64.0(typescript@5.9.3)
- eslint: 9.39.5(jiti@1.21.7)
+ '@typescript-eslint/typescript-estree': 8.64.0(supports-color@7.2.0)(typescript@5.9.3)
+ eslint: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -2555,11 +2564,11 @@ snapshots:
'@typescript-eslint/types': 8.64.0
eslint-visitor-keys: 5.0.1
- '@vitejs/plugin-react@4.7.0(vite@5.4.21)':
+ '@vitejs/plugin-react@4.7.0(supports-color@7.2.0)(vite@5.4.21)':
dependencies:
- '@babel/core': 7.29.7
- '@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/core@7.29.7)
- '@babel/plugin-transform-react-jsx-source': 7.29.7(@babel/core@7.29.7)
+ '@babel/core': 7.29.7(supports-color@7.2.0)
+ '@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/core@7.29.7(supports-color@7.2.0))
+ '@babel/plugin-transform-react-jsx-source': 7.29.7(@babel/core@7.29.7(supports-color@7.2.0))
'@rolldown/pluginutils': 1.0.0-beta.27
'@types/babel__core': 7.20.5
react-refresh: 0.17.0
@@ -2769,9 +2778,11 @@ snapshots:
whatwg-mimetype: 4.0.0
whatwg-url: 14.2.0
- debug@4.4.3:
+ debug@4.4.3(supports-color@7.2.0):
dependencies:
ms: 2.1.3
+ optionalDependencies:
+ supports-color: 7.2.0
decimal.js@10.6.0: {}
@@ -2848,13 +2859,13 @@ snapshots:
escape-string-regexp@4.0.0: {}
- eslint-plugin-react-hooks@5.2.0(eslint@9.39.5(jiti@1.21.7)):
+ eslint-plugin-react-hooks@5.2.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0)):
dependencies:
- eslint: 9.39.5(jiti@1.21.7)
+ eslint: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
- eslint-plugin-react-refresh@0.4.26(eslint@9.39.5(jiti@1.21.7)):
+ eslint-plugin-react-refresh@0.4.26(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0)):
dependencies:
- eslint: 9.39.5(jiti@1.21.7)
+ eslint: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
eslint-scope@8.4.0:
dependencies:
@@ -2867,14 +2878,14 @@ snapshots:
eslint-visitor-keys@5.0.1: {}
- eslint@9.39.5(jiti@1.21.7):
+ eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0):
dependencies:
- '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.5(jiti@1.21.7))
+ '@eslint-community/eslint-utils': 4.9.1(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))
'@eslint-community/regexpp': 4.12.2
- '@eslint/config-array': 0.21.2
+ '@eslint/config-array': 0.21.2(supports-color@7.2.0)
'@eslint/config-helpers': 0.4.2
'@eslint/core': 0.17.0
- '@eslint/eslintrc': 3.3.6
+ '@eslint/eslintrc': 3.3.6(supports-color@7.2.0)
'@eslint/js': 9.39.5
'@eslint/plugin-kit': 0.4.1
'@humanfs/node': 0.16.8
@@ -2884,7 +2895,7 @@ snapshots:
ajv: 6.15.0
chalk: 4.1.2
cross-spawn: 7.0.6
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
escape-string-regexp: 4.0.0
eslint-scope: 8.4.0
eslint-visitor-keys: 4.2.1
@@ -3039,17 +3050,17 @@ snapshots:
dependencies:
whatwg-encoding: 3.1.1
- http-proxy-agent@7.0.2:
+ http-proxy-agent@7.0.2(supports-color@7.2.0):
dependencies:
agent-base: 7.1.4
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
transitivePeerDependencies:
- supports-color
- https-proxy-agent@7.0.6:
+ https-proxy-agent@7.0.6(supports-color@7.2.0):
dependencies:
agent-base: 7.1.4
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
transitivePeerDependencies:
- supports-color
@@ -3100,15 +3111,15 @@ snapshots:
dependencies:
argparse: 2.0.1
- jsdom@25.0.1:
+ jsdom@25.0.1(supports-color@7.2.0):
dependencies:
cssstyle: 4.6.0
data-urls: 5.0.0
decimal.js: 10.6.0
form-data: 4.0.6
html-encoding-sniffer: 4.0.0
- http-proxy-agent: 7.0.2
- https-proxy-agent: 7.0.6
+ http-proxy-agent: 7.0.2(supports-color@7.2.0)
+ https-proxy-agent: 7.0.6(supports-color@7.2.0)
is-potential-custom-element-name: 1.0.1
nwsapi: 2.2.24
parse5: 7.3.0
@@ -3532,13 +3543,13 @@ snapshots:
dependencies:
prelude-ls: 1.2.1
- typescript-eslint@8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3):
+ typescript-eslint@8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3):
dependencies:
- '@typescript-eslint/eslint-plugin': 8.64.0(@typescript-eslint/parser@8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)
- '@typescript-eslint/parser': 8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)
- '@typescript-eslint/typescript-estree': 8.64.0(typescript@5.9.3)
- '@typescript-eslint/utils': 8.64.0(eslint@9.39.5(jiti@1.21.7))(typescript@5.9.3)
- eslint: 9.39.5(jiti@1.21.7)
+ '@typescript-eslint/eslint-plugin': 8.64.0(@typescript-eslint/parser@8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3))(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)
+ '@typescript-eslint/parser': 8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)
+ '@typescript-eslint/typescript-estree': 8.64.0(supports-color@7.2.0)(typescript@5.9.3)
+ '@typescript-eslint/utils': 8.64.0(eslint@9.39.5(jiti@1.21.7)(supports-color@7.2.0))(supports-color@7.2.0)(typescript@5.9.3)
+ eslint: 9.39.5(jiti@1.21.7)(supports-color@7.2.0)
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -3561,10 +3572,10 @@ snapshots:
util-deprecate@1.0.2: {}
- vite-node@2.1.9:
+ vite-node@2.1.9(supports-color@7.2.0):
dependencies:
cac: 6.7.14
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
es-module-lexer: 1.7.0
pathe: 1.1.2
vite: 5.4.21
@@ -3587,7 +3598,7 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
- vitest@2.1.9(jsdom@25.0.1):
+ vitest@2.1.9(jsdom@25.0.1(supports-color@7.2.0))(supports-color@7.2.0):
dependencies:
'@vitest/expect': 2.1.9
'@vitest/mocker': 2.1.9(vite@5.4.21)
@@ -3597,7 +3608,7 @@ snapshots:
'@vitest/spy': 2.1.9
'@vitest/utils': 2.1.9
chai: 5.3.3
- debug: 4.4.3
+ debug: 4.4.3(supports-color@7.2.0)
expect-type: 1.4.0
magic-string: 0.30.21
pathe: 1.1.2
@@ -3607,10 +3618,10 @@ snapshots:
tinypool: 1.1.1
tinyrainbow: 1.2.0
vite: 5.4.21
- vite-node: 2.1.9
+ vite-node: 2.1.9(supports-color@7.2.0)
why-is-node-running: 2.3.0
optionalDependencies:
- jsdom: 25.0.1
+ jsdom: 25.0.1(supports-color@7.2.0)
transitivePeerDependencies:
- less
- lightningcss
diff --git a/public/theme-init.js b/public/theme-init.js
new file mode 100644
index 0000000..34182ea
--- /dev/null
+++ b/public/theme-init.js
@@ -0,0 +1,23 @@
+/*
+ * Runs (blocking, same origin, no inline script) before first paint so the page never flashes the
+ * wrong theme. Mirrors resolveInitialMode() in src/theme/tokens.ts (BR-U1-2, BR-U1-5):
+ * variant is always "b"; mode = valid stored mode, else the system preference.
+ */
+(function () {
+ var mode = 'light';
+ try {
+ var stored = window.localStorage.getItem('slp-software-mode');
+ if (stored === 'light' || stored === 'dark') {
+ mode = stored;
+ } else if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
+ mode = 'dark';
+ }
+ } catch (e) {
+ if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
+ mode = 'dark';
+ }
+ }
+ var root = document.documentElement;
+ root.setAttribute('data-variant', 'b');
+ root.setAttribute('data-mode', mode);
+})();
diff --git a/src/components/layout/EBoundary.tsx b/src/components/layout/EBoundary.tsx
new file mode 100644
index 0000000..259700f
--- /dev/null
+++ b/src/components/layout/EBoundary.tsx
@@ -0,0 +1,29 @@
+import { Component } from 'react';
+import type { ErrorInfo, ReactNode } from 'react';
+
+interface EBoundaryProps {
+ children: ReactNode;
+ /** Falls back to variant B and shows the alert (BR-U1-8). */
+ onError: () => void;
+}
+
+/** Error boundary around the lazy E variant: a crash in E never takes the whole site down. */
+export class EBoundary extends Component {
+ state = { failed: false };
+
+ static getDerivedStateFromError() {
+ return { failed: true };
+ }
+
+ componentDidCatch(error: Error, info: ErrorInfo) {
+ console.error('Variant E crashed', error, info.componentStack);
+ this.props.onError();
+ }
+
+ render() {
+ if (this.state.failed) {
+ return null;
+ }
+ return this.props.children;
+ }
+}
diff --git a/src/components/layout/LiveRegion.tsx b/src/components/layout/LiveRegion.tsx
new file mode 100644
index 0000000..549ffee
--- /dev/null
+++ b/src/components/layout/LiveRegion.tsx
@@ -0,0 +1,12 @@
+import { useTheme } from '../../theme/ThemeProvider';
+
+/** Polite live region that announces variant changes to screen readers (BR-U1-7). */
+export function LiveRegion() {
+ const { announcement } = useTheme();
+
+ return (
+
+ {announcement}
+
+ );
+}
diff --git a/src/components/layout/Nav.tsx b/src/components/layout/Nav.tsx
index cbbc70d..7126888 100644
--- a/src/components/layout/Nav.tsx
+++ b/src/components/layout/Nav.tsx
@@ -1,6 +1,7 @@
import { useState } from 'react';
import { navLinks } from '../../features/landing/data/content';
-import { ThemeToggle } from '../ui/ThemeToggle';
+import { ModeToggle } from '../ui/ModeToggle';
+import { VariantToggle } from '../ui/VariantToggle';
import { handleAnchorClick } from '../../utils/scrollToHash';
export function Nav() {
@@ -21,7 +22,7 @@ export function Nav() {
>
SLP.Software
-