Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 month agoWhat a stupid guysh.itjust.worksimagemessage-square72fedilinkarrow-up1835arrow-down119
arrow-up1816arrow-down1imageWhat a stupid guysh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 month agomessage-square72fedilink
minus-squarerain_worl@lemmy.worldlinkfedilinkarrow-up11arrow-down1·1 month 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-squareLemminary@lemmy.worldlinkfedilinkarrow-up9·1 month agoThe color-scheme meta tag is only fully supported on Safari. https://caniuse.com/meta-theme-color
minus-squarerain_worl@lemmy.worldlinkfedilinkarrow-up1·1 month 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