- complete tokenized theme preset system and admin style guide visibility - refine dashboard layout/scroll behavior and shared async/request UI states - add user nav-visibility settings across API, migration, and frontend stores - harden security headers/CSP handling and related test coverage - enforce CI repository hygiene + frontend contract/theme/build quality gates - update docs/env references and make migration smoke test head-aware
1.8 KiB
1.8 KiB
Theme Inventory (Phase 0)
This file captures the semantic color system baseline for the theme refactor.
Token Domains
scale:brand(50..950)info(50..950)success(50..950)warning(50..950)danger(50..950)
surface:appnavnav_activecardcard_mutedtabletable_headerinputoverlay
text:primarysecondarymutedinverselink
border:defaultstrongsubtleinteractive
focus:ringring_offset
actionvariants (primary,secondary,ghost,danger):bgbordertexthover_bghover_borderhover_text
statevariants (info,success,warning,danger):bgbordertext
Theme Sources
Theme presets are dynamically loaded from frontend/src/theme/presets/*.{json,js}.
Current preset files:
frontend/src/theme/presets/parchment.jsfrontend/src/theme/presets/lilac.jsfrontend/src/theme/presets/dune.jsfrontend/src/theme/presets/oatmeal.jsfrontend/src/theme/presets/scholarly.jsonfrontend/src/theme/presets/graphite.jsonfrontend/src/theme/presets/tide.json
Each preset contains both light and dark mode token definitions.
Adoption Status (Phase 0-3 complete baseline)
Tokenized foundation components:
AppButtonAppCardAppCheckboxAppEmptyStateAppHelpHintAppInputAppSelectAppTableAppModalAppHeaderAppNavAppAlertAppBadgeRunStatusBadgeQueueHealthBadge
Hardening in place:
- Frontend token policy check script:
frontend/scripts/check_theme_tokens.mjs - CI enforcement step in
frontend-qualityworkflow - Theme preset integrity tests in
frontend/src/theme/presets.test.ts