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
Bug: Brand color is saved and injected as --primary, but no visible UI consumes it — setting it has no effect #2394
Setting an organization brand color appears to do nothing.
Verified live 2026-07-02: saved brand color #FF0055 in Settings → Branding. --primary correctly became 340 100% 50% (the injection works) — yet a page-wide computed-style scan found the color rendered only by the branding form's own picker swatch and preview. Primary buttons (e.g. Save) render rgb(3, 7, 18): the Button primary variant does not consume --primary, and neither does any other visible element. Accent color is worse: it is stored but never injected as a CSS variable at all (only read inline by navigation.tsx / tab-navigation.tsx for the active nav item background).
Current behavior
Injection: services/platform/app/components/branding/branding-provider.tsx:164-182 sets --primary/--primary-foreground from brandColor (theme-adjusted). No effect exists for accentColor.
Consumption: @tale/ui components (Button etc.) style with tokens that don't reference --primary, so the injected variable is orphaned.
Proposed change
Decide the palette contract first — #1960 proposes dropping brand color entirely and deriving the whole palette from a single accent color. Either:
if brand color stays, map it into the token(s) the design system actually uses for primary actions/highlights, in both themes, with contrast handling.
Either way, "set a color in Branding → see it in the product" must hold, and the dead accentColor path should not silently persist a value that does nothing.
Acceptance criteria
Changing the org color visibly restyles primary UI elements in light and dark.
No branding field persists a value with zero product effect.
Activity