mirror of
https://github.com/primer/css.git
synced 2024-11-09 12:22:47 +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
|
// stylelint-disable-next-line primer/colors
|
||||||
color: var(--color-icon-secondary);
|
color: var(--color-icon-secondary);
|
||||||
align-items: center;
|
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
|
// stylelint-disable-next-line primer/borders
|
||||||
border: 2px $border-style var(--color-bg-canvas);
|
border: 2px $border-style var(--color-bg-canvas);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
Loading…
Reference in New Issue
Block a user