Skip to content

Commit 4d8dcf2

Browse files
authored
Reformat rgba() colors (#1781)
* Reformat rgba() colors * Create nasty-bananas-drive.md
1 parent 99537d3 commit 4d8dcf2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/nasty-bananas-drive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Reformat `rgba()` colors for `.btn-mktg`

src/marketing/buttons/button.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
white-space: nowrap;
1414
vertical-align: middle;
1515
user-select: none;
16-
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%), var(--color-mktg-btn-bg) !important;
16+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%), var(--color-mktg-btn-bg) !important;
1717
border: 0;
1818
// stylelint-disable-next-line primer/borders
1919
border-radius: 0.375rem;
@@ -29,7 +29,7 @@
2929
z-index: -1;
3030
content: '';
3131
// stylelint-disable-next-line primer/colors
32-
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%) !important;
32+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%) !important;
3333
border-radius: inherit;
3434
opacity: 0;
3535
opacity: 0;

0 commit comments

Comments
 (0)