learn-awesome / learndb

Curated learning resources with topics, formats, difficulty levels, expert reviews and metadata tags

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dark mode is broken

prince-ao opened this issue · comments

On the Firefox browser the main background is black and the nav & nav links are both white making the nav link words unreadable. This error does not happen on the chromium browser.
Screenshot_20220613_142814

Thanks for reporting. I can see the same issue in Chrome with the OS being in dark-mode.

A good path here is to implement dark mode as dynamically applied theme. So, we should avoid using Tailwind's dark: classes inside the markup.

Fixed this by disabling dark mode. I'd prefer to implement dark mode as a theme, and to use themes, I think we should rethink what it means to have a color palette.