I'll echo what @Lucas G said as well. If you want to apply different styles to an element and control those with formulas (needs to evaluate to true to be applied), classes are the way to go. A good example of use is dark vs light mode class application. I'm working on that very thing just now.