Skip to content

Commit b9e42eb

Browse files
committed
fix(segment): unselected color
1 parent cd06aa6 commit b9e42eb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

core/src/components/segment/segment.md.scss

+6-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@
2020
// --------------------------------------------------
2121

2222
:host-context(ion-toolbar.ion-color):not(.ion-color) {
23-
--color: currentColor;
24-
--color-checked: currentColor;
23+
--color: #{current-color(contrast)};
24+
--color-checked: #{current-color(contrast)};
25+
}
26+
27+
:host(.ion-color)::slotted(ion-segment-button) {
28+
--color: #{current-color(base)};
2529
}
2630

2731
:host(.ion-color)::slotted(.segment-button-checked) {

0 commit comments

Comments
 (0)