Re:The beauty of a text only webpage
by bitpush on Friday August 15, 2025 @11:36AM
(#44913691)
There's an #EEE text on #FFF at the bottom of the post.
[ Parent
| on HN ]
The title is also showing up as #EEE on #FFF for me, but the inspector view is showing a bunch of other "computed" colour values in the CSS.
And the title too.
The page has a @media (prefers-color-scheme: dark) style that causes this, so those in light mode are unaffected.
Re:The beauty of a text only webpage
by dcchambers on Friday August 15, 2025 @11:44AM
(#44913799)
Oh - I'm in light mode and all the text on the page is #111111 with a #ffffff background. Switched to dark mode and now I see what you're saying - indeed that's not great.
There seems to be a bug in this blog's stylesheet where the headings are significantly lower contrast if the browser renders prefers-color-scheme as dark instead of light.
I had my browser/OS in light mode, so the contrast was excellent, but I tried dark mode just to see what would happen, and it was... not excellent.
Re:The beauty of a text only webpage
by albanbrooke on Friday August 15, 2025 @12:08PM
(#44914126)
Thank you! This is my site, and your comment helped me fix it.
Yes, I found the main body perfectly readable, but the lighter grey on white could be a problem for some. I'd use something like #777 or darker here.
Re:The beauty of a text only webpage
by dcchambers on Friday August 15, 2025 @11:45AM
(#44913801)
Oh - I'm in light mode and all the text on the page is #111111 with a #ffffff background. Switched to dark mode and now I see what you're saying - indeed that's not great.