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

Suppress USWDS color token errors #491

Closed
drew-usds opened this issue Jan 16, 2020 · 1 comment
Closed

Suppress USWDS color token errors #491

drew-usds opened this issue Jan 16, 2020 · 1 comment

Comments

@drew-usds
Copy link
Contributor

#485 updated UWDS to 2.4.0 and moved our color variables into non-uswds, brand-specific colors. 2.4.0 allows this now, where presently it only let you use specific color tokens.

Presently, building the site locally spits out the below error per overridden color token:

WARNING: Override: `#122d44` is not a USWDS color token.
         on line 916 of /Users/adgardner/usds/website/assets/uswds-sass/core/_functions.scss, in `color'
         from line 288 of /Users/adgardner/usds/website/assets/uswds-sass/core/_variables.scss
         from line 16 of an unknown file

USWDS claims you can suppress the errors, but I wasn't able to get it to work.

@kategreenUSDS
Copy link
Contributor

not relevant to current css scheme

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

2 participants