Follow

Got my website updated to account for the prefers-color-scheme variable. I have it defaulted to a light theme, but it should show a dark theme if your browser supports it and you are using a dark system theme.

blaubachn.com

@blaubachn I was considering doing this but it literally doubles the size of my CSS. The scss compiler lets me abstract it so it’s fine maintenance-wise but adding another few kb is too much ;-;

@njha Yeah, it was that way for me at first, but then I basically restructured my site to be more conducive to the change.

Sign in to participate in the conversation
Fosstodon

Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.