refactor(@projects/@magic-civilization): 🎨 dedup guide bg tokens → background.* aliases (p2-87)

guide.bg{Primary,Secondary,Tertiary} held the same hexes as
background.{base,surface,raised} — the only genuine colour duplication left in
the token table. Aliased them so each base colour lives in exactly one place.
Value-preserving (resolved meta blob unchanged; ui_theme.tres byte-identical).

Audit finding: no other dedup exists in the Godot-layer tokens — tech.* are
already aliases of palette.*, and the gold/green families are distinct values,
not duplicates. The single-colour-source goal has no remaining godot-layer work.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Natalie 2026-06-19 10:39:49 -05:00
parent 0c2d7c6d4a
commit d2e711ee9e

View file

@ -461,9 +461,9 @@
}
},
"guide": {
"bgPrimary": { "$value": "#1a1410", "$type": "color", "$description": "Guide app main background" },
"bgSecondary": { "$value": "#221a14", "$type": "color", "$description": "Guide surface" },
"bgTertiary": { "$value": "#2a2018", "$type": "color", "$description": "Guide raised card" },
"bgPrimary": { "$value": "{color.background.base}", "$type": "color", "$description": "Guide app main background (alias → background.base)" },
"bgSecondary": { "$value": "{color.background.surface}", "$type": "color", "$description": "Guide surface (alias → background.surface)" },
"bgTertiary": { "$value": "{color.background.raised}", "$type": "color", "$description": "Guide raised card (alias → background.raised)" },
"textPrimary": { "$value": "#f0e4d0", "$type": "color", "$description": "Guide body — warm cream" },
"textSecondary": { "$value": "#b8a078", "$type": "color", "$description": "Guide subheadings" },
"textMuted": { "$value": "#7a6048", "$type": "color", "$description": "Guide metadata" },