Replies: 1 comment 1 reply
-
Right now highlighting indeed doesn't work well with themes or styled strings. I think rather than overriding back and front color, I may change it to just swap front and back colors. I like the idea of giving more control to this highlighting behavior, but I'm not sure assigning a full palette to each styled span is the best solution. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a
SelectView
and want to change various lines' color. Easy enough, wrap them in aStyledString
with aColorStyle::front()
style. Except this doesn't work well with the theme/palette. This sets the foreground color and does not change it no matter what. It makes it very hard to read when they areHighlight
orHighlightInactive
. It's hard to pick a single color that is readable over light and dark colors.Is there a way to get the
StyledString
to only set the color whenPrimary
is asked for? Or alternative allow aPalette
as aStyle
instead of just a front/back color?Or am I doing this entirely the wrong way, to begin with?
Beta Was this translation helpful? Give feedback.
All reactions