Hi Jochem,
You can use JavaScript Actions for this. Here is a possible solution:
- Let your button call a nanoflow: e.g. ACT_Style_SwitchToVersion1
- Create a custom JavaScript Action "SwitchAppStyle".
- Create one parameter 'styleClass' in this JavaScript Action. This will be the class you want to add that contains your styling.
- Switch to the Code tab at the top and put the following code between the USER CODE:
// BEGIN USER CODE
document.body.className = styleClass;
// END USER CODE
- Call this JavaScript Action in your nanoflow and set the styleClass parameter to your custom class.
This should be a simple solution to your question.
Hope this helps!