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
Improvement: Drop "brand color" — derive the whole palette from a single accent color #1960
There are two color inputs (brand + accent); only one accent color should drive everything, and even a "bad" chosen color must be transformed into a legible palette for dark and light themes.
Current behavior
brandColor + accentColor (en.json:6707-6708) in the branding form (services/platform/app/features/settings/branding/components/branding-form.tsx).
Palette adaptation in services/platform/lib/utils/color.ts (adjustColorForTheme, hexToHsl, isLightColor, contrastRatio), applied via services/platform/app/components/branding/branding-provider.tsx.
Proposed change
Remove the brand-color field (and its data/schema usage — this needs a Convex data migration; see the convex-migrations skill).
Make the accent color the single source of truth, and improve the palette algorithm so any input is normalized into a coherent, WCAG-legible palette across dark/light (foreground contrast, shades).
Acceptance criteria
Only an accent color is configurable.
Picking a poor color still yields a legible palette in both themes.
Existing orgs migrate cleanly (no data loss / broken theme).
Ripple
Locale files; Convex migration to drop/merge brandColor; theme/color util tests.
Live evidence supporting this direction (2026-07-02, local dev): saved brand color #FF0055 — --primary is correctly injected (340 100% 50%), but a page-wide computed-style scan found no visible element consuming it except the branding form's own swatch/preview (primary buttons render rgb(3,7,18)). accentColor is stored but never injected as a CSS variable at all — only read inline by navigation.tsx/tab-navigation.tsx. So today neither color field has a real product effect, which strengthens the case for one accent color wired into the actual component tokens. Observed defect filed as #2394 (cross-linked).
Activity
yannickmonney commentedon Jul 2, 2026
Live evidence supporting this direction (2026-07-02, local dev): saved brand color
#FF0055—--primaryis correctly injected (340 100% 50%), but a page-wide computed-style scan found no visible element consuming it except the branding form's own swatch/preview (primary buttons renderrgb(3,7,18)).accentColoris stored but never injected as a CSS variable at all — only read inline bynavigation.tsx/tab-navigation.tsx. So today neither color field has a real product effect, which strengthens the case for one accent color wired into the actual component tokens. Observed defect filed as #2394 (cross-linked).