On the “Appearance” tab in your modeler, you can add dynamic classes:
You can use it to change the look depending on an expression, like this:
You will still need to add the classes to your sass / css though!