cagov / design-system

State of California Design System
MIT License
79 stars 25 forks source link

Bug: Incorrect Token Values #1026

Open claytoncollie opened 2 months ago

claytoncollie commented 2 months ago

The theme color tokens are incorrect on the DS website. All colors, when inspected and when referenced in the @cagov package use the color values from the primary and accent sections. The screenshot below shows the tokens on the left that are incorrect and then the inspected color for example on the primary dark. This happens for all four of these Ca.gov colors.

image

And then we can also look at the theme colors in the base CSS file, they use the #165ac2 as the primary-700 as the primary default color.

https://github.com/cagov/design-system/blob/main/components/base-css/src/colorschemes/_cagov.scss#L7

In the end, the token values in the documentation need to be changed below.

https://github.com/cagov/design-system/blob/main/docs/pages/style/tokens.md#cagov-main-colors