3 ms·
To the author, make sure to go through your CSS and fix colors for code boxes At least half of the code is simply unreadable even to a person with good eyes. S
by troupo 3y ago
To the author, make sure to go through your CSS and fix colors for code boxes
At least half of the code is simply unreadable even to a person with good eyes. Some examples: https://nixos-and-flakes.thiscute.world/nixos-with-flakes/downgrade-or-upgrade-packages https://nixos-and-flakes.thiscute.world/nixos-with-flakes/do... https://nixos-and-flakes.thiscute.world/nixpkgs/overriding https://nixos-and-flakes.thiscute.world/nixpkgs/overriding etc.
Simple black-on-white with no syntax highlighting is better than this.
- notfed 3y agoLooks fine to me. Maybe our browsers are rendering differently. Can you be specific?
- troupo 3y agoIt looks like CSS got updated/fixed. It now looks fine. Previously it would light gray on lighter gray, and light yellow-ish-green etc.
- mtlynch 3y agoNot GP, but this is what I see: https://imgur.com/gTQ4J80 https://imgur.com/gTQ4J80 I can read it, but I can understand having trouble with dim gray text on a black background.
- Filligree 3y agoIt depends on the total contrast on your screen. Unfortunately... On a high-contrast, high-brightness screen, white on black becomes glaringly bright and produces halos, while a pure white background actually hurts your eyes. So you default to gray-on-gray because that's what's pleasant, while higher contrasts are used in scenarios where you want glare. (Games and photographs, mostly.) On a low-contrast screen, which describes a lot of cheaper hardware, the exact opposite is true. The real issue is it's all relative to what your display hardware can do, instead of using absolutes. HDR modes fix that, but HDR is still rare.
- troupo 3y agoIf they kept the original vitepress styles, this would be a non-issue
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- pmarreck 3y agoThose look perfectly fine to me over here. It's probably a browser rendering difference or some day/night mode style difference. (Or this... https://colormax.org/color-blind-test/ https://colormax.org/color-blind-test/ )
- troupo 3y agoIt looks like CSS got updated/fixed. It now looks fine. Previously it would light gray on lighter gray, and light yellow-ish-green etc.
- opan 3y agoWhile I can read it, I also think higher-contrast would be better. Always a bit weird when people take this kind of criticism as a chance to say they can deal with it fine and it must be a personal problem if you're not okay with it. Reminds me of ergonomic mice/keyboard discussions where people will start accusing you of having weak hands or something even though ergonomic improvements would benefit everyone.
- notfed 3y agoTo be fair, none of the responses did this.