Hello! I’m trying out the new theme function with different colors. However I notice that when I use colors other than the examples (the green one or the blue one in the blog post), the background color of the text for my radio button selection always goes with the primary color. Is there a way to fix this problem?
Hello Marisa, thank you very much! Yes exactly. When I copied the code from the examples they look fine. But whenever I make a change (even just one) on one of the four colors, I would see a background color for the selected radio button text different from the sidebar background color (with more experiments, I found out that text background color may not be the same as the main background color; sometimes it’s just a lighter or darker shade). And this happens both when I change it from UI and from the config.toml file.
I’m using python 3.8.5 and pip on macOS big sur (11.0.1). Browser is Chrome.
Thanks again!
@kfh: The primaryColor dictates the color of the radio button while the textColor dictates the color of the text next to the radio button. So in the official example, we have
@abhi Thank you for the reply. My problem is when I select the radio button, the selected text would have a different color background (there’s no problem with textColor itself). Here is my config file: