by nfw2 · 1y ago · 0 comments
The author also changes their mind halfway through and decides the problem is actually color contrast, not dark mode.
color: #111;
background-color: #fdfdfd;
which is a contrast ratio of 18:56:1.Ironically they end by saying they'll use an invert filter as a workaround, while for those who prefer dark mode if doing the same on the author's own stark white bg/black text site (such as Vivaldi's 'Invert Mode') will produce the very contrast ratio in dark they're complaining about :p
If you wanna argue that we shouldn't force dark mode, maybe don't go around forcing light mode. My eyes hurt.
html {
filter: invert(1);
}
img {
filter: invert(1);
}
Bookmarklet edition: javascript:(function(){var s=document.createElement("style");s.innerText="html{filter: invert(1);}img{filter: invert(1);}";document.head.append(s)})()
(doesn't and can't fix CSS "background-image" but you'll live)