Skip to content

Commit

Permalink
Fix label contrast (#1498) (#1499)
Browse files Browse the repository at this point in the history
* Fix label contrast (#1498)

* Update src/dropdown/dropdown.scss

Co-authored-by: simurai <simulus@gmail.com>

* Create two-cows-work.md

Co-authored-by: simurai <simulus@gmail.com>
  • Loading branch information
mjacobus and simurai committed Jul 15, 2021
1 parent 84bbd50 commit 2e580a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/two-cows-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Fix label contrast when inside a dropdown
5 changes: 5 additions & 0 deletions src/dropdown/dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@
[class*="color-text-"] {
color: inherit !important;
}

> .Label {
color: inherit !important;
border-color: currentColor;
}
}

&.btn-link {
Expand Down

0 comments on commit 2e580a7

Please sign in to comment.