[Done] Change color-scheme dynamically / programmatically

Being able to change the color-scheme dynamically would be great.
This would allow different sections of the app to be coloured differently without having to set a role on each component.

1 Like

I’ve just posted an example for how to do this by dropping down to CSS; I’ll leave this FR here as a request for a Python API:

3 Likes

app.theme_colors['Primary 500'] = "purple"

Should work now :wink:

9 Likes

Early Christmas present! Thanks @stucork :smiley:

1 Like

This was a really helpful Christmas Present from Anvil.

1 Like