Post ATOKrLUjWFdNdpm9BY by tdarb@fosstodon.org
(DIR) More posts by tdarb@fosstodon.org
(DIR) Post #ATOKrLUjWFdNdpm9BY by tdarb@fosstodon.org
2023-03-07T16:18:14Z
1 likes, 0 repeats
Tiny update to the "barf" site generator:"Supporting Basic Dark Mode"https://barf.bt.ht/dark-mode/#css #darkmode #linux
(DIR) Post #ATOKxia2bHa8ygISnY by cnx@larkspur.one
2023-03-08T02:21:39.660615Z
0 likes, 0 repeats
Thank you @tdarb, TIL about <meta name='color-scheme' content='dark light'/>!
(DIR) Post #ATfky4BD64iya9rsRs by cnx@larkspur.one
2023-03-16T12:03:09.194990Z
0 likes, 0 repeats
Together with <system-color> I was able to shave a few dozen lines off my personal site's CSS. Blogging about Stop Using Custom Web Colors any time soon, @tdarb?
(DIR) Post #ATfp9D2CunFl2yE3Zg by tdarb@fosstodon.org
2023-03-16T12:35:30Z
1 likes, 0 repeats
@cnx That is really smart. Only one issue with dark mode on iOS devices though - Safari not having proper default link colors (see attached image)I have a “hack” for that: https://bt.ht/safari-default-dark-mode/
(DIR) Post #ATfrTZjwPGAZANWMJU by cnx@larkspur.one
2023-03-16T13:16:04.294368Z
0 likes, 0 repeats
Thanks for pointing that out, @tdarb. Does it any chance offer customization for system colors? As a matter of personal principles, I won’t knee jerk to nonstandard behaviors, but since CSS color 4 is still a draft I might have to revert the stylesheet for maximal portability, since I guess it also affects WebKitGTK.
(DIR) Post #ATfsbEsnw6X8kZsvFw by tdarb@fosstodon.org
2023-03-16T13:27:25Z
1 likes, 0 repeats
@cnx I'm not 100% sure in Safari WebKit's case (and therefore any browser on iOS). Apple is just terrible at fixing the easiest of bugs, so most times I just ignore their issues. If they're not going to make an effort to fix them, why should I do that work for them?