mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:01:09 +02:00
refactor(theming): migrate remaining 12 ListViews to theme tokens
Replace raw white-alpha Tailwind utilities across the last 12 module ListViews that were flagged by validate-theme-tokens: citycorners, guides, inventory, memoro, picture, plants, playground, presi, questions, times, uload, who. Also replace semantic color hex/names (bg-yellow-500/20, bg-green-400, text-blue-400, bg-teal-600, etc.) with success/warning/error/primary tokens. Per-deck brand colors in who/ListView (#a855f7 purple/historical, #ec4899 pink/women, #f59e0b amber/antiquity, #0ea5e9 blue/inventors) stay as hex — those are domain semantics, not theme intent. Wire validate:theme-tokens into validate:all so future regressions fail the local pre-push gate. All 76 module ListViews now pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a2a43b1d5a
commit
86c205ffc5
13 changed files with 129 additions and 124 deletions
|
|
@ -22,7 +22,7 @@
|
|||
"validate:turbo": "node scripts/validate-no-recursive-turbo.mjs",
|
||||
"validate:pg-schema": "node scripts/validate-pg-schema-isolation.mjs",
|
||||
"validate:theme-tokens": "node scripts/validate-theme-tokens.mjs",
|
||||
"validate:all": "pnpm run validate:turbo && pnpm run validate:pg-schema && pnpm run check:crypto",
|
||||
"validate:all": "pnpm run validate:turbo && pnpm run validate:pg-schema && pnpm run validate:theme-tokens && pnpm run check:crypto",
|
||||
"check:crypto": "node scripts/audit-crypto-registry.mjs",
|
||||
"check:crypto:seed": "node scripts/audit-crypto-registry.mjs --seed",
|
||||
"audit:deps": "node scripts/audit-workspace-deps.mjs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue