1
1
mirror of https://github.com/primer/css.git synced 2024-11-09 03:54:59 +03:00

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

* Use btn-primary-text for TimelineItem-badge--success

* Use emphasis color

* Create silent-cycles-camp.md
This commit is contained in:
simurai 2021-06-28 20:43:51 +09:00 committed by GitHub
parent 369c5cc16a
commit 105296c6b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
Make `TimelineItem-badge--success` ready for Color Modes V2

View File

@ -42,8 +42,8 @@
flex-shrink: 0;
&--success {
color: var(--color-text-white);
background-color: var(--color-btn-primary-bg);
color: var(--color-fg-on-emphasis, var(--color-btn-primary-text)); // TODO remove V1 fallback
background-color: var(--color-success-emphasis, var(--color-btn-primary-bg)); // TODO remove V1 fallback
border: $border-width $border-style var(--color-timeline-badge-success-border);
}
}