File tree 3 files changed +8
-1
lines changed
packages/components/pie-switch/src
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 3
3
" @justeattakeaway/pie-divider " : minor
4
4
" @justeattakeaway/pie-icon-button " : minor
5
5
" @justeattakeaway/pie-modal " : minor
6
+ " @justeattakeaway/pie-switch " : minor
6
7
" @justeattakeaway/pie-tag " : minor
7
8
---
8
9
Original file line number Diff line number Diff line change @@ -160,7 +160,9 @@ export class PieSwitch extends FormControlMixin(RtlMixin(LitElement)) implements
160
160
}
161
161
162
162
return html `
163
- < span data-test-id ="switch-label- ${ labelPlacement } ">
163
+ < span
164
+ data-test-id ="switch-label- ${ labelPlacement } "
165
+ class ="c-switch-label ">
164
166
${ label }
165
167
</ span > ` ;
166
168
}
Original file line number Diff line number Diff line change 137
137
}
138
138
}
139
139
140
+ .c-switch-label {
141
+ color : var (--dt-color-content-default );
142
+ }
143
+
140
144
// The description is only required for screen readers so we need to visually hide the description
141
145
.c-switch-description {
142
146
@include p .visually-hidden ;
You can’t perform that action at this time.
0 commit comments