mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 00:41:09 +02:00
Extends the top-of-file comment with the lessons learned from the P5 visual-track migration: - Why bare var(--color-X) silently fails (browser falls back to inherit; the zitare white-on-white regression that triggered the rewrite). - Concrete ❌/✅ examples for the three rewrap patterns (plain ref, ref with fallback, color-mix opacity). - The brand-literal carve-out — which palettes deliberately stay as literal colors and why they should not be migrated. - The stable token allowlist + the four removed names that future code should not reference (--color-info / --color-text / --color-destructive / --color-surface / --color-input) and the right replacements. - A note on the runtime story: createThemeStore writes the same names so static defaults handle first paint and hydration takes over after. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||