Skip to content

Commit

Permalink
Reformat rgba() colors (#1781)
Browse files Browse the repository at this point in the history
* Reformat rgba() colors

* Create nasty-bananas-drive.md
  • Loading branch information
simurai committed Dec 3, 2021
1 parent 99537d3 commit 4d8dcf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/nasty-bananas-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Reformat `rgba()` colors for `.btn-mktg`
4 changes: 2 additions & 2 deletions src/marketing/buttons/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
white-space: nowrap;
vertical-align: middle;
user-select: none;
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%), var(--color-mktg-btn-bg) !important;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%), var(--color-mktg-btn-bg) !important;
border: 0;
// stylelint-disable-next-line primer/borders
border-radius: 0.375rem;
Expand All @@ -29,7 +29,7 @@
z-index: -1;
content: '';
// stylelint-disable-next-line primer/colors
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%) !important;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%) !important;
border-radius: inherit;
opacity: 0;
opacity: 0;
Expand Down

0 comments on commit 4d8dcf2

Please sign in to comment.