-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Loading the blog with Javascript disabled results in light-theme rendering of the blog pages, even when prefers-color-scheme: dark is provided by the browser.
To Reproduce
Steps to reproduce the behavior:
- Configure browser to set
prefers-color-scheme: darkwhen loading sites - Go to https://tailwind-nextjs-starter-blog.vercel.app/
- Open uBlock Origin and disable JS on the site
- Refresh page
- See light theme
Expected behavior
Page should be loaded with dark theme.
Browser Info (if display / formatting issue):
- Device: Desktop
- Browser: Firefox
- Version: 107.0b9
Additional context
- The code blocks inside blog posts do get dark themes. I suspect this is just a CSS issue.
- Toggle for dark mode obviously doesn't work, since JS is disabled.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working