Replace remaining hardcoded hex colors with color tokens (CR-27)

Map leftover component hex values onto the existing color scale, and leave third-party share brands and the Avatar white-alpha border documented as intentional exceptions.
This commit is contained in:
adilallo
2026-08-17 14:31:28 -06:00
parent 705fa428ce
commit da453f6108
13 changed files with 21 additions and 25 deletions
@@ -35,11 +35,11 @@ export function RadioButtonView({
id={radioId}
>
{/* Radio dot - 16px size per Figma */}
{/* Selected hover state: darker dot color (#333000) per Figma */}
{/* Selected hover: --color-surface-default-brand-primary (#333000 / yellow-1000) per Figma */}
<div
className={`w-[16px] h-[16px] rounded-full transition-all duration-200 ${
checked && mode === "standard"
? "bg-[var(--color-content-default-brand-primary,#fefcc9)] group-hover:!bg-[#333000]"
? "bg-[var(--color-content-default-brand-primary,#fefcc9)] group-hover:!bg-[var(--color-surface-default-brand-primary)]"
: checked && mode === "inverse"
? "bg-[var(--color-content-default-primary,#000000)]"
: "bg-transparent"