mirror of
https://github.com/primer/css.git
synced 2024-11-26 02:38:32 +03:00
Add gradient hack to TimelineItem-badge (#1550)
* Add gradient hack to TimelineItem-badge * Create fuzzy-carpets-promise.md
This commit is contained in:
parent
cde3172c50
commit
8a684ee4d1
5
.changeset/fuzzy-carpets-promise.md
Normal file
5
.changeset/fuzzy-carpets-promise.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
Add gradient hack to TimelineItem-badge
|
@ -34,7 +34,8 @@
|
||||
// stylelint-disable-next-line primer/colors
|
||||
color: var(--color-icon-secondary);
|
||||
align-items: center;
|
||||
background-color: var(--color-timeline-badge-bg);
|
||||
background-color: var(--color-bg-canvas); // covers the "line"
|
||||
background-image: linear-gradient(0deg, var(--color-timeline-badge-bg), var(--color-timeline-badge-bg));
|
||||
// stylelint-disable-next-line primer/borders
|
||||
border: 2px $border-style var(--color-bg-canvas);
|
||||
border-radius: 50%;
|
||||
|
Loading…
Reference in New Issue
Block a user