Tabs und Aufklappmenü aus Studio (v1.9)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 12:45:42 +01:00
parent 12d89d4488
commit 24fb27034a
5 changed files with 119 additions and 4 deletions

View File

@ -18,4 +18,4 @@ The guide is meant to be the shared design foundation for all of the owner's app
- Color tokens (section 3) are the single source of truth for hex values, mirrored in `tokens.css` (dark = fallback, light via `prefers-color-scheme` and `data-theme`). Change both together. `theme.js` is the reference theme switcher that sets `data-theme`. Contrast ratios in section 4 are computed from the opaque token values, so recompute them if any color token changes.
- Styles (section 3, "Stile") only override accent tokens (`data-accent` in `tokens.css`); a new style needs the same contrast checks as Orange/Blue. The z-index, dialog, toast and sortable-list values originate from the owner's Studio app (`../Golden-Age-Wiki/studio/src/app.css`).
- `reference.html` renders every token and component from `tokens.css`/`theme.js`; update it when tokens or components change, and check it in dark/light and both styles (headless: `chromium --headless --screenshot --blink-settings=preferredColorScheme=0|1`).
- Version and date are in the header line ("Version 1.8 · Stand: 16.11.2026"; the README status line repeats the version); update it when making substantive changes.
- Version and date are in the header line ("Version 1.9 · Stand: 16.11.2026"; the README status line repeats the version); update it when making substantive changes.