This is either a bug or a feature request.
Canvas doesn’t recognise theme colours like other components
e.g.
c = self.canvas
c.fill_style = 'Theme:Primary 500'
This is either a bug or a feature request.
Canvas doesn’t recognise theme colours like other components
e.g.
c = self.canvas
c.fill_style = 'Theme:Primary 500'
Thanks! Moving to Feature Requests.
Is anything new on this issue?
A way to do this would be to use app.theme_colors
c = self.canvas
c.fill_style = app.theme_colors["Primary 500"]
Thanks Stu, I eventually found that. I knew I had seen it somewhere before, but could find it.