Skip to content

Commit c50d530

Browse files
authored
Set color on SegmentedControl icons (#6275)
1 parent 669c338 commit c50d530

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/seven-kangaroos-collect.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Set `color` on SegmentedControl icons

packages/react/src/SegmentedControl/SegmentedControl.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090

9191
& svg {
9292
fill: var(--fgColor-muted);
93+
color: var(--fgColor-muted);
9394
}
9495

9596
/* fallback :focus state */
@@ -146,7 +147,6 @@
146147
padding-right: calc(var(--segmented-control-button-inner-padding) - var(--segmented-control-button-bg-inset));
147148
/* stylelint-disable-next-line primer/spacing */
148149
padding-left: calc(var(--segmented-control-button-inner-padding) - var(--segmented-control-button-bg-inset));
149-
background-color: transparent;
150150
border-color: transparent;
151151
border-style: solid;
152152
border-width: var(--borderWidth-thin);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy