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-Site: Update incorrect success-dark color token values #1939

Merged
merged 6 commits into from Mar 1, 2023

Conversation

amyleadem
Copy link
Contributor

@amyleadem amyleadem commented Dec 8, 2022

Summary

  • Updated the value of success-dark from green-cool-50 to green-cool-50v and success-darker from green-cool-60 to green-cool-60v to match current USWDS value.
  • Updated the value of $theme-color-accent-warm-darker from orange-60v to orange-60 to match current USWDS value.

⚠️ Before merge, we must update the changelog data with the correct date.

Related issue

Closes #1926

Preview links

Test and review

  • To review, confirm that updated documentation matches the values in the uswds repo.

Outstanding question

There is a mismatch between the default value and the recommended color grades. I have opened up issue #1941 to assess if we should update either the recommended values or the defaults.

image

@amyleadem amyleadem changed the title USWDS-Site: Update success-dark and success-darker color values USWDS-Site: Update incorrect color token values Dec 8, 2022
@amyleadem amyleadem marked this pull request as ready for review December 8, 2022 18:51
Copy link
Contributor

@mahoneycm mahoneycm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything checks out! I checked the hex values for fun and it updated appropriately as well.

Should we do a sweep of other token values to make sure everything is matched up?

@amyleadem
Copy link
Contributor Author

amyleadem commented Dec 8, 2022

@mahoneycm I did an initial sweep of the color values for tokens and settings, which is how I caught $theme-color-accent-warm-darker. Your comment inspired me to look again and I caught that the order of the state tokens was a bit off. So I fixed in 137c454. Thanks for the reminder!

kind: color
- name: success-darker
subsection: state color token
usage: Use grades 70-80.
var: $theme-color-success-darker
default: "'green-cool-60'"
default: "'green-cool-60v'"
kind: color

- name: Info color family
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran a quick test on all color values and this all looks correct now. Thanks for fixing!

@amyleadem amyleadem changed the title USWDS-Site: Update incorrect color token values USWDS-Site: Update incorrect success-dark color token values Jan 17, 2023
@thisisdano thisisdano merged commit 129de24 into main Mar 1, 2023
@thisisdano thisisdano deleted the al-success-dark branch March 1, 2023 05:11
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.

USWDS-Site - Color tokens: Update value of theme success colors
4 participants