x/pkgsite: deprecation background color is too bright on dark mode #48679
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
pkgsite/frontend
Issues related to pkgsite HTML/CSS/JavaScript and frontend development
pkgsite
UX
Issues that involve UXD/UXR input
Milestone
Take a look at how https://pkg.go.dev/path/filepath#HasPrefix looks on the light theme:
And now the dark theme:
The yellow color changes, and I think the intent was to make it darker for the dark theme. But instead, we simply get a far more striking yellow, that's nearly as bright as the light theme's.
On one hand, I find the black text much harder to read on the dark theme - the stronger yellow background distracts my eyes.
On the other hand, the stronger yellow seems to go against the purpose of the dark theme - to be easy on the eyes and not be too bright. If I open that page on the dark theme in a dark room, the yellow stands out significantly, and can easily light up my entire face yellow :)
For example, using my amazing non-existent design skills, here's how it looks if I keep the text color following the theme, and change the dark warning background to be a darker yellow color,
#906e00
:I'm sure it looks horrible to anyone with UI skills, but at least it looks more like a readable dark theme to me :)
cc @julieqiu
The text was updated successfully, but these errors were encountered: