racket/scribble

Dark mode for scribble docs

jackfirth opened this issue · 7 comments

With the prefers-color-scheme media query, CSS stylesheets can detect whether the user has dark mode enabled in their operating system settings. Can we get a dark theme for Scribble docs? I tend to code at night a bit more than I like to admit, and the bright whites of scribble docs cause a lot of eye strain. Paging @mbutterick for typography concerns and general web design wizardry.

I’m afraid I must decline. I am morally opposed to dark mode. It would not be a difficult project for a true believer.

Fascinating, and as a subscriber to your tinyletter mailing list I'd love to hear your thoughts about it sometime.

Anyway, noted. Perhaps someday I'll give this a shot.

I worked around this on OSX by learning a bit more about the accessibility system.

If you already have the accessibility icon available in your top bar, you can navigate to the Accessibility Preferences choice (also available somewhere in system preferences)

Screen Shot 2021-01-25 at 3 05 26 PM

I made Invert Colors available

Screen Shot 2021-01-25 at 3 05 46 PM

I also searched separately for "shortcuts" and made sure that the keyboard binding is available, which makes this basically usable

Screen Shot 2021-01-25 at 3 06 05 PM

Hey I think I misread the above comment from @mbutterick . Sorry.

Just to clarify, are PRs welcome ?

samth commented

Yes, PRs for this (and other things) are certainly welcome.