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:
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.