Using Plasmic to set background colors for elements

Hi Team Plasmic…
In my shopping website, I want to drive the background color of the variant selectors here from the plasmic cms color field. But I don’t see an option to dynamically set the background-color. Can you please help me with how to use the cms color field to dynamically set the text-colors and background colors for the elements in collection items ?


Any help on this Team Plasmic @yang @chungwu ?

There’s no way right now to dynamically set a css style, but you can work around it by adding a style html attribute and using a dynamic value for it