In Angular we can dynamically set css properties, like this:
<style ng-if="color">
.theme-color { color: {{color}}; }
.theme-background-color { background-color: {{color}}; }
.theme-border-color { border-color: {{color}}; }
</style>
In Vue, we can modify :class=... but that limits us to predefined class options, and :style... that doesn't allow us to use class names.
Is there a way to achieve dynamic CSS as above? Or do we have to code the styles so that they include all color properties?
Thanks