Sjmarf to Programmer Humor@programming.dev • 4 months agoWhat a stupid guysh.itjust.worksimagemessage-square70fedilinkarrow-up1834
arrow-up1834imageWhat a stupid guysh.itjust.worksSjmarf to Programmer Humor@programming.dev • 4 months agomessage-square70fedilink
minus-squareRain World: Slugcat Gamelinkfedilink11•4 months agotip: 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
minus-squareLemminarylinkfedilink9•4 months agoThe color-scheme meta tag is only fully supported on Safari. https://caniuse.com/meta-theme-color
minus-squareRain World: Slugcat Gamelinkfedilink1•4 months agothat is theme-color (accent color for browser ui), not color-scheme. color-scheme is supported more, see compatibility table for meta color-scheme
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
The
color-scheme
meta tag is only fully supported on Safari.https://caniuse.com/meta-theme-color
that is theme-color (accent color for browser ui), not color-scheme. color-scheme is supported more, see compatibility table for meta color-scheme