Custom:button-card apply style in theme.yaml file?

Hi,

I’m a former UX designer wanting to creating my own custom theme, based on Mattias Persson’s ‘homekit tablet’ theme.

I want to use a lot of button-cards with basic styling, although I need to apply all the styling on the dashboard file which means a lot of cluttering.

Does anyone know if and how you can apply the styling of state-active/inactive background colours for the custom:button-card inside a theme.yaml file?

Thanks in advance,