Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Incorrect Token Values #1026

Open
claytoncollie opened this issue Aug 8, 2024 · 0 comments
Open

Bug: Incorrect Token Values #1026

claytoncollie opened this issue Aug 8, 2024 · 0 comments

Comments

@claytoncollie
Copy link

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

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

No branches or pull requests

1 participant