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

USWDS - Color: Add state color tokens to default palettes. #4198

Merged
merged 2 commits into from May 24, 2021

Conversation

mejiaj
Copy link
Contributor

@mejiaj mejiaj commented May 17, 2021

Description

Resolves #4098. Adds state colors to utilities.

Preview

State color utils test →

Additional information

Adds $tokens-color-state to $palettes-default.

File Old size New size
uswds.css 464 KB 488 KB
uswds.min.css 363 KB 379 KB

Before you hit Submit, make sure you’ve done whichever of these applies to you:

  • Follow the 18F Front End Coding Style Guide and Accessibility Guide.
  • Run npm test and make sure the tests for the files you have changed have passed.
  • Run your code through HTML_CodeSniffer and make sure it’s error free.
  • Title your pull request using this format: [Website] - [UI component]: Brief statement describing what this pull request solves.

@mejiaj mejiaj marked this pull request as ready for review May 17, 2021 15:18
@thisisdano thisisdano merged commit 758a8ed into develop May 24, 2021
@thisisdano thisisdano mentioned this pull request Jun 16, 2021
@mejiaj mejiaj deleted the jm-state-color-utils branch August 12, 2021 18:59
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.

Add success and error state color utilities
2 participants