Skip to content

Decide tokens for progress-bar gradient + dark-amber text #8

Description

@LinzLos

Description

Two consumer hex values have no exact Tiny Wire token. Decide upstream (in the vendor) whether to add tokens or bless a nearest-existing mapping, so the consumer debt issues (LinzLos/shift-prototype#4, LinzLos/shift-prototype#6, LinzLos/shift-prototype#3) can bind to a real token instead of a remap-by-eye.

  1. Progress-bar gradient #bfc7d4 → #8195b5 (cobalt-tinted) — reinvented in shift QueueMonitor + Roster. Candidate: add --progress-from / --progress-to, or map to --cobalt-200 / --cobalt-400.
  2. Dark-amber text #8a5c00 — used in RosterModal. Candidate: confirm --warning (--clay-600 #9A6B33) is close enough, or add a dedicated darker-amber text token.

Why

Per CONTRIBUTING, a value that doesn't exist yet must be added as a token in the vendor (both light + dark), never inlined into the vendored tokens.css in a consumer. This keeps every consumer in sync.

Recommended prerequisite

None. Blocks the gradient/amber lines of #3, #4, #6 only if we choose "add token" over "remap to nearest."

Scope

Vendor-side token decision (cross-repo). If "add token": edit tiny-wire/lib/tokens.css light + dark, bump VERSION, changelog, then re-sync consumers. If "remap": just bless the nearest token and close.

Touches

  • tiny-wire/lib/tokens.css (shared, cross-repo — vendor source of truth)
  • tiny-wire/CHANGELOG.md (cross-repo)

Source

phase4-brief.md → Item 3 (two no-exact-token values).

Owner

Lindsay.

Acceptance criteria

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions