UI Resource Brand Colors

0
I am creating a Resource UI module in Mendix 10.6.5. I want to change my brand-primary colors in the module, but it doesn't work. To make it as simple as possible, I have just removed all code and added the $brand-primary code and some other code in the main.scss, as such:   $brand-primary: purple; .rounded { border-radius: 25%; }   If I add a primary button with the class rounded attached, I get a blue rounded button instead of a purple one. I checked, and the module is at the bottom in settings/theme section.   Somebody knows what is going wrong?
asked
1 answers
0

Did you copy the old custom-variables.scss to your theme, then remove the original from the theme folder? There is an example in the documentation on how to do this, see part 4.3.1.

 

https://docs.mendix.com/howto/front-end/customize-styling-new/#create-theme-mod

 

Good luck

answered