From d2e711ee9ec470d6b4495400ca1813279d772a1c Mon Sep 17 00:00:00 2001 From: Natalie Date: Fri, 19 Jun 2026 10:39:49 -0500 Subject: [PATCH] =?UTF-8?q?refactor(@projects/@magic-civilization):=20?= =?UTF-8?q?=F0=9F=8E=A8=20dedup=20guide=20bg=20tokens=20=E2=86=92=20backgr?= =?UTF-8?q?ound.*=20aliases=20(p2-87)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .project/designs/design-tokens.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.project/designs/design-tokens.json b/.project/designs/design-tokens.json index bee5a366..5342fbeb 100644 --- a/.project/designs/design-tokens.json +++ b/.project/designs/design-tokens.json @@ -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" },