Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Dark mode#55

Right now Scour uses light/dark mode based on what the browser requests. It might be nice to make it an explicit toggle though.

a year ago
Changed the status to
Planned
a year ago
Changed the status to
Completed
a year ago

You can now toggle between using the system theme, light mode, and dark mode. Enjoy!

a year ago

Hi Evan, I have feedback, a flash of white at night time.

Maybe following the system was good after all (apply yagni)? someone with a strong preference for light/dark might customise their device or browser?

Or you could try move this to server state? maybe darkMode: 'media' and try poking the meta name="color-scheme" content=(light_dark_or_both)?

Aside, I tried clicking on the toggle to see whether that fixed this. After setting a theme, I couldn’t get back to system again, without clearing the theme: system from localstorage.

Thanks so much for scour.ing. In a few years I won’t have this feedback (won’t be re-settling my infant through the night) and I’ll be less sensitive to flashes ha

a year ago