Skip to content

fix(semantic-tokens): provide sufficient warning color contrast across components #11994

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

Merged

Conversation

aPreciado88
Copy link
Contributor

@aPreciado88 aPreciado88 commented Apr 18, 2025

Related Issue: #7798

Summary

Update the following semantic tokens to resolve contrast issues:

LIGHT MODE
status/warning/default → color/high-saturation/orange-yellow/h-oy-060
status/warning/hover → color/vibrant/orange-yellow/v-oy-180
status/warning/press → color/high-saturation/orange-yellow/h-oy-080

DARK MODE
status/warning/default → color/high-saturation/orange-yellow/h-oy-060
status/warning/hover → color/vibrant/orange-yellow/v-oy-120
status/warning/press → color/vibrant/orange-yellow/v-oy-140

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Apr 18, 2025
@aPreciado88 aPreciado88 added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Apr 18, 2025
@SkyeSeitz
Copy link

Visual changes look g2g! 🚀

@jcfranco jcfranco added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Apr 18, 2025
@aPreciado88
Copy link
Contributor Author

@SkyeSeitz Can you please take a look at the latest snapshots?

@SkyeSeitz
Copy link

SkyeSeitz commented Apr 18, 2025

@SkyeSeitz Can you please take a look at the latest snapshots?

New snapshots look good to me!

@aPreciado88 aPreciado88 merged commit 7e12b6f into dev Apr 18, 2025
14 checks passed
@aPreciado88 aPreciado88 deleted the matgalla/7798-rating-ensure-graphical-objects-contrast branch April 18, 2025 23:39
benelan added a commit that referenced this pull request Apr 21, 2025
* origin/dev: (56 commits)
  feat(button): enhance component's interactivity states (#12005)
  chore: release next
  feat: add image display order web component icons (#11992)
  chore: release next
  fix(list-item): align elements to the left of the item's content (#11977)
  chore: release next
  fix(input, input-number, input-text, text-area, combobox): pass AA for placeholder text color (#11972)
  docs: update list of contributors (#11997)
  chore: release next
  fix(semantic-tokens): provide sufficient warning color contrast across components (#11994)
  chore: release next
  feat(tokens): update core neutral color values (#11993)
  docs: update list of contributors (#11988)
  chore: release next
  build(deps): update nx monorepo to v20.8.0 (#11986)
  build(deps): update arcgis to ^4.32.14 (#11931)
  chore: add design-tokens as dev dependency for Lerna updates (#11990)
  build(deps): update dependency @tokens-studio/sd-transforms to v1.3.0 (#11985)
  feat(tokens): add transparency-inverse tokens (#11974)
  chore: release next
  ...
benelan pushed a commit that referenced this pull request May 14, 2025
…s components (#11994)

**Related Issue:**
[#7798](#7798)

## Summary

Update the following semantic tokens to resolve contrast issues:

LIGHT MODE
status/warning/default → `color/high-saturation/orange-yellow/h-oy-060`
status/warning/hover → `color/vibrant/orange-yellow/v-oy-180`
status/warning/press → `color/high-saturation/orange-yellow/h-oy-080`

DARK MODE
status/warning/default → `color/high-saturation/orange-yellow/h-oy-060`
status/warning/hover → `color/vibrant/orange-yellow/v-oy-120`
status/warning/press → `color/vibrant/orange-yellow/v-oy-140`

---------

Co-authored-by: Matt Gallagher <[email protected]>
Co-authored-by: JC Franco <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants