Skip to content

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

Merged
simurai merged 3 commits intomainfrom
remove-text-white
Jun 28, 2021
Merged

Make TimelineItem-badge--success ready for V2#1475
simurai merged 3 commits intomainfrom
remove-text-white

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.

2 participants