Posted on 17/08/2021 14:12:14
Hi Nicolai,
I understand how it is set up now, and I see how you are supposed to use the properties.
I guess I need to change the mindset from Rapido to Swift :)
Rapido had more options for the elements while in here we need to create custom css or extend with properties. Which is fine as long as we understand what we can/should do.
One specific issue I have is how am I supposed to use the properties (or classes) of a theme.
For example, I have a situation where I need to set a different color for the subheading.
On the theme, I can only set one color (foreground color). How do I extend the theme with a second color? I can definitely add a new property but will that result automatically in a swift class or variable?
In Rapido, I could have used a more generic class defining (like brand-color-2) to create a custom rule for my elements.
Thank you,
Adrian