Skip to content

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

Merged
thisisdano merged 2 commits into
developfrom
jm-state-color-utils
May 24, 2021
Merged

USWDS - Color: Add state color tokens to default palettes.#4198
thisisdano merged 2 commits into
developfrom
jm-state-color-utils

Conversation

@mejiaj

@mejiaj mejiaj commented May 17, 2021

Copy link
Copy Markdown
Contributor

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