saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
33.15k stars 1.27k forks source link

Font on some elements with light theme selected not readable #1326

Closed Der-Penz closed 1 year ago

Der-Penz commented 1 year ago

I implemented a theme toggle button into my projects, but in most of the lighter themes, it is not correctly changing all font colors. The select element gets a white background on Theme=light but the font is not getting dark. This issue is on multiple Themes I tried (light, cupcake. lofi, fantasy, cmyk, and more). Problem image: Screenshot

Der-Penz commented 1 year ago

My mistake added a text-white on a higher-level component and the element inherited the color