Ionic Info
@ionic/angular: "4.0.0-alpha.11"
Describe the Bug
Maybe I'm doing it wrongly but setting another --ion-color-base color in variable.scss doesn't seems to change the color of the ion-label
Respectively
:root {
--ion-color-base: red;
}
or
:host {
--ion-color-base: red;
}
won't display text in red
Expected Behavior
ion-label once rendered get the following attributes
[data-ion-label-ios-host] {
color: var(--ion-color-base);
--ion-color-base: currentColor;
}
I would have expected, but again maybe I'm wrong
[data-ion-label-ios-host] {
color: var(--ion-color-base);
--ion-color-base: red; // the color I defined in my variable.scss
}