Skip to content

Commit

Permalink
Fix btn-primary in flash alerts (#1991)
Browse files Browse the repository at this point in the history
* Fix btn-primary in a flash alert

* Create cuddly-mugs-peel.md
  • Loading branch information
simurai authored Mar 22, 2022
1 parent 1938596 commit 5e87eff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-mugs-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Fix `btn-primary` in flash alerts
8 changes: 6 additions & 2 deletions src/alerts/flash.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,12 @@
color: var(--color-fg-muted);
}

&.btn-primary .octicon {
color: inherit;
&.btn-primary {
background-clip: border-box;

.octicon {
color: inherit;
}
}
}

Expand Down

0 comments on commit 5e87eff

Please sign in to comment.