You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
design: one accent or two — teal, amber, or a rule for each #983
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
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[*].
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
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.
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.
Activity
thinkclay commentedon Oct 5, 2026
Brief (measured 2026-10-05, main at dcf0779)
The decision was half-made already.
packages/ui/src/tokens/colors.tscarries a written rule above thewarningramp: amber serves two jobs,warning(caution) andattention(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 thewarningramp 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
colors.primary[*](teal) sitescolors.warning[*](amber) sitestext[theme].attention(amber)text[theme].emphasis(teal)The 17
attentionsites 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 — theScreenHeaderkicker 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)
gray[50]ground#16110dprimary[600]#176476primary[300]#3fb5c7 (dark step)warning[600]#a06f24warning[700]#7d5411warning[400]#e1ad66 (dark step)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
.radium/scaffald-ui.md, move the decorative amber (the kicker, the amber sub-headings) to tealemphasisor neutraltertiary, and leave the 54 + 48warningsites 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.primary[*]site (281) and theemphasistokens 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.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.
feat(controls): Chip as the prototype's tag, SegmentedControl as its …
feat(controls): Chip as the prototype's tag, SegmentedControl as its …