Skip to content

chore(ui): WS6 colors-finish — map last drift colors to tokens (ADR-047 D-5)#134

Merged
physercoe merged 1 commit into
mainfrom
chore/ws6-colors-finish
Jun 10, 2026
Merged

chore(ui): WS6 colors-finish — map last drift colors to tokens (ADR-047 D-5)#134
physercoe merged 1 commit into
mainfrom
chore/ws6-colors-finish

Conversation

@physercoe

Copy link
Copy Markdown
Owner

What

Finishes the "Colors only, no visual change" burn-down by mapping the
last cleanly-mappable color leftovers. Every target sits ~1–15 units
from an existing token, so this is effectively no visual change.

Where from to
connections raw-expanded panel bg 0xFF15161C / 0xFFF8F9FA footerBackground / backgroundLight
propose-card result block bg grey.shade900 / shade100 surfaceDark / canvasLight
propose-card mono text grey.shade200 / shade800 textPrimary / textPrimaryLight
runs_screen chart series #5 0xFFB394FF new DesignColors.violet

The chart _seriesPalette already used tokens for 4 of 5 entries; the
5th is now a named categorical accent (violet) rather than a stray hex.

Scope

Ratchets stray_hex_color 5 → 0 and raw_material_color 7 → 3
(total 139 → 130). The 3 remaining raw_material are deliberate:
two pane_layout_painters greys (a CustomPainter opacity scheme where
no token matches shade500-as-border without the stroke vanishing) plus
one doc-comment mention in design_colors.dart.

box_shadow (15) and private_chip_class (30) remain as separate
design arcs.

🤖 Generated with Claude Code

…47 D-5)

Resolve the cleanly-mappable color leftovers (no meaningful visual
change — all targets sit ~1-15 units from an existing token):

- connections raw-expanded panel bg: 0xFF15161C/0xFFF8F9FA ->
  DesignColors.footerBackground / backgroundLight
- propose_card_task result block: grey.shade900/100 bg -> surfaceDark/
  canvasLight; grey.shade200/800 mono text -> textPrimary/textPrimaryLight
- runs_screen chart series #5: new named DesignColors.violet token
  (categorical accent) replacing the stray 0xFFB394FF; the other 4
  series colors were already tokens

Ratchets stray_hex_color 5 -> 0 and raw_material_color 7 -> 3. The 3
remaining are deliberate: 2 pane_layout_painters greys (a CustomPainter
opacity scheme where no token matches shade500-as-border) + 1 doc-comment
mention in design_colors.dart.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@physercoe physercoe merged commit b9c86da into main Jun 10, 2026
4 checks passed
@physercoe physercoe deleted the chore/ws6-colors-finish branch June 10, 2026 03:54
physercoe added a commit that referenced this pull request Jun 10, 2026
ADR-047 design-system burn-down — colors (#133/#134), flat-by-default
shadows (#135), chip consolidation (#136). Token ratchet 130 -> 100.

- pubspec + buildinfo -> 1.0.815-alpha
- changelog: v1.0.815-alpha section + stamp
- re-stamp governed-actions contract docs (UI-token-only release, no
  governance change) so lint-docs stays green at 815

Co-authored-by: Ubuntu <ubuntu@ip-172-26-2-239.agent.ai>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant