Skip to content

Commit 5bbca4f

Browse files
- clear selectors;
- add changes to disabled state;
1 parent 64758fe commit 5bbca4f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

core/src/components/segment-button/segment-button.ionic.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,18 @@
6464
}
6565

6666
// Segment Button: Checked
67+
// All slot content should have the checked color even when it's not label or icon
6768
// --------------------------------------------------
6869

69-
:host(.segment-button-checked) ::slotted(ion-label),
70-
:host(.segment-button-checked) ::slotted(ion-icon),
7170
:host(.segment-button-checked) ::slotted(*) {
7271
color: var(--color-checked);
7372
}
7473

7574
// Segment Button: Disabled
75+
// All slot content should have the disabled color even when it's not label or icon
7676
// --------------------------------------------------
7777

78-
:host(.segment-button-disabled) ::slotted(ion-label),
79-
:host(.segment-button-disabled) ::slotted(ion-icon) {
78+
:host(.segment-button-disabled) ::slotted(*) {
8079
color: var(--color-disabled);
8180
}
8281

0 commit comments

Comments
 (0)