Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme "flickering" on reload if dark reader is installed (even if it's turned off) #1

Open
ehanahamed opened this issue Aug 4, 2024 · 0 comments

Comments

@ehanahamed
Copy link
Owner

ehanahamed commented Aug 4, 2024

Description
Every page reload and every time someone navigates to a different page, the whole page flashes black before the correct theme colors are applied. This "flickering" happens really quickly, it flickers so fast that it's almost not noticeable in dark theme, but it is super annoying with light theme.

This "flickering" only happens if dark reader is installed AND if prefers-color-scheme is dark (browser/device dark mode setting). Even if dark reader is turned off, the flickering still happens as long as it's installed. Setting browser/device colorscheme to light makes it not flicker even with dark reader installed.

Related
ehui: ehanahamed/ehui#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant