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

fix: add icon specific colors #287

Merged
merged 1 commit into from
May 10, 2024
Merged

fix: add icon specific colors #287

merged 1 commit into from
May 10, 2024

Conversation

two24studios
Copy link
Collaborator

Summary

The design team wanted to add some icon specific tokens to allow us to use slightly different colors from our base color-text tokens. Icons don't require the same color contrast requirements as text does, so it makes sense to give more fine tune control over this.

For context, icons only require 3:1 ratio to pass AA while text needs to be 4.5:1.

We followed the 'component-specific' approach here with name, thus why they are icon-color versus color-icon.

Copy link
Member

@adamdehaven adamdehaven left a comment

Choose a reason for hiding this comment

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

lgtm

@adamdehaven adamdehaven merged commit 63a4038 into main May 10, 2024
4 checks passed
@adamdehaven adamdehaven deleted the icon-colors branch May 10, 2024 18:13
kongponents-bot pushed a commit that referenced this pull request May 10, 2024
## [1.12.12](v1.12.11...v1.12.12) (2024-05-10)

### Bug Fixes

* add icon specific colors ([#287](#287)) ([63a4038](63a4038))
@kongponents-bot
Copy link
Collaborator

🎉 This PR is included in version 1.12.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants