How can I make my app set a theme upon startup, based on the environment?

1
How can I switch theme per environment. My apps do know what environment they are on, that is not a problem. But I do want my app to use theme X when the app is run locally, theme Y when it is on test, theme Z on accp and theme B on production. How can I make my app set the requested theme upon startup?
asked
2 answers
2

May be you want more but we used this widget to achieve this: https://appstore.home.mendix.com/link/app/109716/Objectivity/CssClassSwitcher

Then based on the microflow determine if you are running local, test, accp or production and based on that we swich the color so I can see visually in what environment I am in.

Regards,

Ronald

 

answered
0

Is such a theme switcher widget available for mendix native at runtime?

answered