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

Improve Counter colors when nested in Button #1712

Merged
merged 2 commits into from
Dec 15, 2022
Merged

Improve Counter colors when nested in Button #1712

merged 2 commits into from
Dec 15, 2022

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Dec 15, 2022

Description

Improves the colors of .Counter when nested in a .Button.

Before After
Screen Shot 2022-12-15 at 16 33 23 Screen Shot 2022-12-15 at 16 45 08
Screen Shot 2022-12-15 at 16 33 59 Screen Shot 2022-12-15 at 16 46 07

Reported in Slack.

What should reviewers focus on?

Note that dark_high_contrast still needs fixing. Added a comment here: primer/primitives#262 (comment)

Screen Shot 2022-12-15 at 16 59 11

Integration

Does this change require any updates to code in production?

No

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews

@changeset-bot
Copy link

changeset-bot bot commented Dec 15, 2022

🦋 Changeset detected

Latest commit: 5887eb7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the css Pull requests that update CSS code label Dec 15, 2022
Copy link
Member

@jonrohan jonrohan left a comment

Choose a reason for hiding this comment

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

Nice fix 👍🏻

@jonrohan jonrohan merged commit 1568f7f into main Dec 15, 2022
@jonrohan jonrohan deleted the button-counter branch December 15, 2022 18:16
@primer-css primer-css mentioned this pull request Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css Pull requests that update CSS code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants