just playing a bit with the newly released ionic 4 beta. At the moment, I try to understand how theming actually works. Yes, there is a documentation available. But I still somehow search for a missing link.
The documentation says, there are certain application variables like “–ion-text-color”, which are used throughout the components. It is true, that I can set this variable, and it changes the color in may places, just as I expected.
However, these variables do not seem to have any kind of default. I can not use them in my own CSS, not until I also set them.
Now, the docs also say, that there are stepped colors, like “–ion-text-color-step-300”. Steps are calculated by mixing text color and background color.
But: I can neither use these steps, nor can I influence them. Of course I can set the to some arbitrary value. But that’s not what I expect from the docs. In my impression, I should be able to set both text and background color, and these stepped colors are calculated. At least I would expect them to actually exist.
Where am I wrong?