Theme switcher dropdown text becomes invisible in Light Mode (contrast issue)
Hi team,
I found a UI/contrast bug in the theme switcher dropdown menu:
Issue: In Dark Mode, the dropdown options ("Light", "Dark", "System") and icons display correctly in white over the dark background. However, when switching to Light Mode, the dropdown container retains a dark background while the text and icons switch to dark styling (or lose contrast), making them completely invisible. Only the active checkmark remains visible.
Must be problem on your side. Check CSS and change it to suit your colors. On my website it works.
Hi AndrΓ© GΓ³is, The issue only shows up with certain colour settings, which is why it doesn't happen on every site, for instance if you check this site, it show fines, still we've updated the codebase in dev:
- It happens when a custom colour scheme uses aΒ dark header in Light mode, like your navy header. The menu takes its background from the header, but the text was taking its colour from the page, so you got dark text on a dark menu. Only the checkmark used the header colour, which is why it stayed visible.
- With the default colour schemes the header is white in Light mode, so everything stays readable. That's why it works fine on other sites.
Until the next release, you can add this to your custom CSS as a temporary fix:
body .fcom_theme_switcher .fcom_theme_item {
color: var(--fcom-menu-text);
}
body .fcom_theme_switcher .fcom_theme_item:hover {
color: var(--fcom-menu-text-hover, var(--fcom-menu-text));
}
You can remove it after the update. Thanks again for reporting this!
Tawsif Ahmed RiyadΒ thanks i Will wait till the Next update