Skip to content

Commit 2e580a7

Browse files
mjacobussimurai
andauthored
Fix label contrast (#1498) (#1499)
* Fix label contrast (#1498) * Update src/dropdown/dropdown.scss Co-authored-by: simurai <[email protected]> * Create two-cows-work.md Co-authored-by: simurai <[email protected]>
1 parent 84bbd50 commit 2e580a7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changeset/two-cows-work.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Fix label contrast when inside a dropdown

src/dropdown/dropdown.scss

+5
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@
9898
[class*="color-text-"] {
9999
color: inherit !important;
100100
}
101+
102+
> .Label {
103+
color: inherit !important;
104+
border-color: currentColor;
105+
}
101106
}
102107

103108
&.btn-link {

0 commit comments

Comments
 (0)