this post was submitted on 19 Sep 2024
817 points (97.8% liked)

Programmer Humor

19623 readers
2 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 2 months ago (1 children)

tip: add this to your html for it to automatically follow browser settings for dark mode: <meta name="color-scheme" content="light dark">
another tip: in firefox, go to about:preferences > general > fonts > advanced > proportional > sans serif

[–] [email protected] 9 points 2 months ago (1 children)

The color-scheme meta tag is only fully supported on Safari.

https://caniuse.com/meta-theme-color

[–] [email protected] 1 points 2 months ago

that is theme-color (accent color for browser ui), not color-scheme. color-scheme is supported more, see compatibility table for meta color-scheme