How I can change the color of a ion-label in ionic 4?
I tried in the scss of the page:
ion-label{
–color: green;
}
But it doesn’t work!
How I can change the color of a ion-label in ionic 4?
I tried in the scss of the page:
ion-label{
–color: green;
}
But it doesn’t work!
not sure if this is a typo, but it should be
ion-label {
otherwise @brandyshea answered a similar question over here
Hope this is useful!
Yes mine was a typo in the post.
Your answer was useful. Following @brandyshea post I found a solution.
I put in my variables.scss
.ion-color-mycolorLabel {
--ion-color-base:green;
}
and then i my html tag
color="mycolorLabel"