ktg-plugin-marketplace/plugins/ms-ai-architect/playground
Kjell Tore Guttormsen bebe070236 feat(ms-ai-architect): playground v3 theme toggle with localStorage persistence [skip-docs]
Step 13 (Wave 5). Adds light/dark theme toggle to v3 playground.

- Inline <script> in <head> reads ms-ai-architect-theme from localStorage and
  sets <html data-theme="..."> BEFORE stylesheets parse (avoids FOUC).
- New .theme-toggle button in topbar (vendored design-system class).
- ACTIONS['toggle-theme'] flips data-theme, persists to localStorage, and
  syncs all [data-theme-label] elements + aria-label in-place (no re-render).
- Default behavior (no localStorage value or unsupported value) keeps existing
  data-theme="dark" hard-coded on <html>.
2026-05-03 20:01:53 +02:00
..
test-fixtures test(ms-ai-architect): playground v3 markdown fixtures (17 commands) [skip-docs] 2026-05-03 19:23:26 +02:00
vendor/playground-design-system feat(ms-ai-architect): vendor playground-design-system v0.1 [skip-docs] 2026-05-03 12:25:42 +02:00
ms-ai-architect-playground.html refactor(ms-ai-architect): playground uses vendored design-system 2026-05-03 12:35:47 +02:00
ms-ai-architect-v3.html feat(ms-ai-architect): playground v3 theme toggle with localStorage persistence [skip-docs] 2026-05-03 20:01:53 +02:00