Skip to content

Commit 8a5b85a

Browse files
- add styles for ion-text in every instance we were customize ion-label;
1 parent 8c4bf8b commit 8a5b85a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
// Segment Button Label
4848
// --------------------------------------------------
4949

50-
::slotted(ion-label) {
50+
::slotted(ion-label),
51+
::slotted(ion-text) {
5152
@include globals.typography(globals.$ion-body-action-sm);
5253

5354
color: var(--color);
@@ -67,6 +68,7 @@
6768
// --------------------------------------------------
6869

6970
:host(.segment-button-checked) ::slotted(ion-label),
71+
:host(.segment-button-checked) ::slotted(ion-text),
7072
:host(.segment-button-checked) ::slotted(ion-icon) {
7173
color: var(--color-checked);
7274
}
@@ -75,6 +77,7 @@
7577
// --------------------------------------------------
7678

7779
:host(.segment-button-disabled) ::slotted(ion-label),
80+
:host(.segment-button-disabled) ::slotted(ion-text),
7881
:host(.segment-button-disabled) ::slotted(ion-icon) {
7982
color: var(--color-disabled);
8083
}

0 commit comments

Comments
 (0)