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
+1
View File
@@ -14,6 +14,7 @@ const Avatar = memo<AvatarProps>(
const size = sizeProp;
const sizeStyles: Record<string, string> = {
small:
// White 30% border: no DS token (opacity scale is black-alpha; inverse border tokens don't cover this).
"w-[var(--spacing-scale-016)] h-[var(--spacing-scale-016)] border-[1.5px] border-[#FFFFFF4D] border-solid",
medium: "w-[var(--spacing-scale-018)] h-[var(--spacing-scale-018)]",
large: "w-[var(--spacing-scale-024)] h-[var(--spacing-scale-024)]",