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:
parent
369c5cc16a
commit
105296c6b4
5
.changeset/silent-cycles-camp.md
Normal file
5
.changeset/silent-cycles-camp.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
Make `TimelineItem-badge--success` ready for Color Modes V2
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user