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

Update Counter--secondary bg #1272

Merged
merged 3 commits into from
Mar 29, 2021
Merged

Update Counter--secondary bg #1272

merged 3 commits into from
Mar 29, 2021

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Mar 29, 2021

We got some feedback that the text color of .Counter--secondary didn't have enough contrast. This PR uses the --color-counter-secondary-bg that is semi-transparent and overrides the default background.

Before After
Screen Shot 2021-03-29 at 16 22 00 image

The columns ☝️ above are .Counter, .Counter--primary and .Counter--secondary. Only the dark themes in the last column (.Counter--secondary) are affected.

TODO

@changeset-bot
Copy link

changeset-bot bot commented Mar 29, 2021

🦋 Changeset detected

Latest commit: f19aa48

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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

@vercel
Copy link

vercel bot commented Mar 29, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/primer-css/FEeinhQHafbZqJHmAt76D7eDx7L5
✅ Preview: https://primer-css-git-counter-secondary-primer.vercel.app

@vercel vercel bot temporarily deployed to Preview March 29, 2021 09:56 Inactive
@jonrohan jonrohan marked this pull request as ready for review March 29, 2021 16:03
@vercel vercel bot temporarily deployed to Preview March 29, 2021 16:04 Inactive
@jonrohan jonrohan merged commit b02f1cc into main Mar 29, 2021
@jonrohan jonrohan deleted the counter-secondary branch March 29, 2021 16:07
@github-actions github-actions bot mentioned this pull request Mar 29, 2021
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