Class on mendix native app not working?

Hi, it is my first time building a native application. I was trying to add styles to the application using code. I have added a dummy class in theme/native/custom-variables.js to test this out, however the class is not working. I have added the class `buttonRounded ` to a button from toolbox. Any idea why this could be happening? export const buttonRounded = {     container: {         borderRadius: 0,         backgroundColor: orange,         borderWidth: 4     },     icon: {       },     caption: {         fontSize: 40     } };   Thank you.
1 answers

Hi Steffi,


You should correct your backgroundColor to “orange” instead of orange.

You can also use the hexadecimal code of your color e.g. backgroundColor: "#FFA500".