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

Make TimelineItem-badge--success ready for V2 #1475

Merged
merged 3 commits into from
Jun 28, 2021
Merged

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Jun 25, 2021

Currently --color-text-white is dark in HC, but that causes other regressions.. so we decided to not have a replacement in Primer and deprecate --color-text-white and just add a hack to dotcom. See Slack.

image

This PR replaces --color-text-white with --color-fg-on-emphasis for TimelineItem-badge--success. As a fallback for V1 --color-btn-primary-text is used.

@changeset-bot
Copy link

changeset-bot bot commented Jun 25, 2021

🦋 Changeset detected

Latest commit: a2dcb0b

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

@simurai simurai changed the title Use btn-primary-text for TimelineItem-badge--success Make TimelineItem-badge--success ready for V2 Jun 25, 2021
@simurai simurai marked this pull request as ready for review June 25, 2021 07:55
Copy link
Contributor

@Juliusschaeper Juliusschaeper left a comment

Choose a reason for hiding this comment

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

Makes sense to me 👍

@simurai simurai merged commit 105296c into main Jun 28, 2021
@simurai simurai deleted the remove-text-white branch June 28, 2021 11:43
@primer-css primer-css mentioned this pull request Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants