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

Adding a solid version of badges #520

Merged
merged 4 commits into from
Jan 15, 2025
Merged

Adding a solid version of badges #520

merged 4 commits into from
Jan 15, 2025

Conversation

gjones
Copy link
Collaborator

@gjones gjones commented Jan 13, 2025

Summary

In addition to our regular, more opaque badges, the docs team has a need for more visible variants. This PR adds the new set of badge colours under the type prop.

Note: Breaking change to tokens. @gjones will author an accompanying Control Plane PR to ensure no references to the discontinued badge.color.x tokens remain.

CleanShot.2025-01-13.at.13.08.42.mp4

@gjones gjones self-assigned this Jan 13, 2025
Copy link

vercel bot commented Jan 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
click-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 14, 2025 7:38pm

Copy link

@crisalbu crisalbu left a comment

Choose a reason for hiding this comment

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

Thanks for working on this, Gareth! ❤️

After doing the squint test and having tested the contrast on https://coolors.co/contrast-checker/, I realised some of these didn't have the best contrast. It was good, but not great, so I changed some of the colors for dark mode. Plus, that green was too flashy compared to the more toned down version we had on red, blue, etc.

New colors in Figma

Would you mind updating them, please?

@gjones
Copy link
Collaborator Author

gjones commented Jan 14, 2025

The colours have been updated.

Copy link

@crisalbu crisalbu left a comment

Choose a reason for hiding this comment

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

Thank you for the quick execution!

@gjones gjones merged commit b38422c into main Jan 15, 2025
6 checks passed
@gjones gjones deleted the gj-solid-badge branch January 15, 2025 17:52
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.

2 participants