I am looking for a way to change the color of the selected value in the RadioButtonGroup while using the FastListTemplate - I don’t need it to be dynamic, just something distinguishable, since the defaults are indecipherable.
In the following image “Seattle” is selected, but the colors are so similar it’s extremely easy to miss:
The hover colors are slightly better (San Francisco is hovered in this one):
I’d like to use #BBECEA as the highlight color when something is selected, but I can’t figure out what css class to adjust to do this. I’ve already added an accent color, which updates other widgets, but not RadioButtonGroups.
Just for info. The Panel button_type is really a concept coming from Bokeh and again from the Bootstrap design framework. The Fast templates are based on the Fast design framework which does not have the concept of a button_type. Instead it has an accent.
So the Panel button_type is translated to an accent when using the Fast templates. Unfortunately the default Fast button type does not work well when used in a toogle, check and radio groups.
Both options here worked. Since I have quite a few of these toggle groups, I’m going to go with the css version, since it universally applies the formatting without needing to update each widget type.
@Marc, thanks for the reference to the Youtube video about the FastListTemplate - I saw in other comments that this template uses accent instead of button_type, and I couldn’t figure out how to make the leap to applying it in my situation. I’ll watch through the video for some more insight!