Replies: 2 comments 3 replies
-
Or as minimal viable allow me to apply a color like $warning for the label |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can access the theme variables in the So from a widget, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing a program that uses the tree to navigate, and I would love to be able to have classes on the nodes in such a way that I can mark all "warning" nodes with a color or all "ok" nodes woth another. Right now I prepend an emoji, but it gets cluttery very fast.
I have a workaround right now with Text.assemble("label", style="red")... But this does not work well with the css afaik (also it would be lovely to use the theme colors instead of hardcoding)
Beta Was this translation helpful? Give feedback.
All reactions