Skip to content

design: one accent or two — teal, amber, or a rule for each #983

Closed

Description

@thinkclay

Decision needed

The comp has exactly one accent, amber #b68235; every badge, active tab, link and selected state is amber. We run two: teal primary[600] as brand/emphasis and amber warning[700] as attention (packages/ui/src/tokens/colors.ts). The ramp comments say the teal was contrast-matched to the prototype's amber step, so this is a deliberate brand divergence — but it means half the comp's amber details land teal here (the drawer's active rule, the selected folder tab, the count tags, the Appearance ring).

Options

  1. Keep teal as the one accent and stop using amber for anything but genuine attention states (over-SLA, transparency banners). Cheapest; the components above already read primary[*].
  2. Move the accent to amber and demote teal to brand marks (logo, marketing). Touches every primary[*] use and the dark ramp fixed in 15 dark status tokens were never inverted — they are byte-identical to their light values #951.
  3. Keep both, with a written rule for which goes where.

Decide before the chip, segmented-control and bottom-bar work lands, so they are coloured once.

Activity

  1. added
    needs-design
    redesign
    on Oct 5, 2026
  2. thinkclay commented on Oct 5, 2026

    @thinkclay
    ContributorAuthor

    Brief (measured 2026-10-05, main at dcf0779)

    The decision was half-made already. packages/ui/src/tokens/colors.ts carries a written rule above the warning ramp: amber serves two jobs, warning (caution) and attention (act on this: overdue, over-SLA, stale in stage); "the SCF prototype uses this hue as its accent; we reserve it for priority so teal stays the one primary, which is what its design audit asked for." The teal 600/700 steps were retuned to carry exactly the visual weight of the prototype's amber on the warm ground (6.34:1 vs the prototype's 6.28:1). And the warning ramp is the prototype's accent ramp step for step (700 = #7d5411 = the comp's --color-accent-700; 100 = #fff3e4 = its --color-accent-100). So "one accent" is already the house position; what is missing is that nobody can find the rule, and a few places use amber decoratively.

    Where each colour lands today

    scf-core features @scaffald/ui
    colors.primary[*] (teal) sites 68 213 (68 component files)
    colors.warning[*] (amber) sites 54 48
    text[theme].attention (amber) 17, in 13 files —
    text[theme].emphasis (teal) 3 —

    The 17 attention sites split into two kinds: genuine priority (over-SLA rows, dispute and check timelines, notification severity, "needs work" labels on the profile-strength section) and decoration — the ScreenHeader kicker on every screen, and the amber "Raise your standing" style sub-headings, which are amber only because the comp's accent is amber.

    Contrast (WCAG ratio)

    foreground on white on gray[50] ground on dark ground #16110d
    teal primary[600] #176476 6.73 6.34 2.79
    teal primary[300] #3fb5c7 (dark step) 2.43 2.29 7.72
    amber comp accent #b68235 3.37 3.17 5.57
    amber warning[600] #a06f24 4.38 4.13 4.28
    amber warning[700] #7d5411 6.67 6.28 2.81
    amber warning[400] #e1ad66 (dark step) 2.02 1.91 9.26

    The comp's accent itself (#b68235) is a UI-component colour, not a text colour: 3.4:1 on white fails AA for text, which is why the comp writes its text in accent-700 and draws rules and borders in the raw accent. Any amber switch would have to keep that split; teal already has it (600 for text, 300 in dark).

    Options and cost

    1. Teal is the one accent; amber means priority. Write the rule into .radium/scaffald-ui.md, move the decorative amber (the kicker, the amber sub-headings) to teal emphasis or neutral tertiary, and leave the 54 + 48 warning sites alone — they are mostly real warnings. ~2 files in ui, ~6 in scf-core. S. The logo, the marketing palette (features/marketing/theme.ts, all teal) and the dark ramp fixed in 15 dark status tokens were never inverted — they are byte-identical to their light values #951 stay coherent.
    2. Amber is the one accent; teal becomes a brand mark. Every primary[*] site (281) and the emphasis tokens retint; the dark ramp needs re-auditing (15 dark status tokens were never inverted — they are byte-identical to their light values #951 was done for teal); the logo and marketing stay teal, so the signed-in app and the public site diverge in hue. L, and it reopens 15 dark status tokens were never inverted — they are byte-identical to their light values #951.
    3. Both, with the rule as written. That is the status quo minus the two decorative uses; the cost of 3 is that "which one?" keeps getting asked at every new component — the epic's feat(ui): one quiet floating surface for Popover, ActionSheet and the bottom toolbars — the filters flyout is a blurred 20px bubble #977–feat(ui): SegmentedControl is the comp's bordered box with an inset accent ring, not an iOS thumb #979 included.

    Recommendation

    Option 1. It is what the tokens already say, it keeps the logo and the app one colour, and it costs a small sweep rather than a retint. The one real loss versus the comp is the amber kicker; a teal or neutral kicker reads the same at 11px uppercase.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXneeds-designredesign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions