Skip to content

Conversation

@tom-vx51
Copy link
Collaborator

Rationale

Refactor color management to be more consistent across the components.

Primary motivation is driven by the fact that we typically deal with colors in two ways: either setting the foreground content (text/icon/etc.), or setting the background color. While we have semantics which dictate which colors should be applied to which content, we can set sensible restrictions within the components (e.g. only accepting a TextColor enum value) while allowing for flexibility in our general color management.

Changes

  • Update color scheme based on latest available in figma
  • Update color management to broadly cover foreground (text/icon/etc.) and background cases
  • Define new enumerations of color categories
  • Update various components to adhere to new scheme

Testing

storybook, npm run build && npm run test
Screenshot 2025-12-30 at 4 38 51 PM

@tom-vx51 tom-vx51 requested a review from a team as a code owner December 31, 2025 00:40
Copy link
Contributor

@erik-nieh erik-nieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, I will update my Radio PR to use this when merged

@tom-vx51 tom-vx51 force-pushed the chore/update-colors branch from 8610835 to 643f29e Compare January 5, 2026 17:07
@tom-vx51 tom-vx51 merged commit 353ac54 into develop Jan 5, 2026
1 check passed
@tom-vx51 tom-vx51 deleted the chore/update-colors branch January 5, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants