Improvement: Value colour scheme improvements#5579
Conversation
Yes, but... The text colors differ between dark and light mode. Now the preview is changing the background, but still uses the text color from the current theme. I think this is not given the right impression. The "blue text color" of the light theme does not work with the dark background color. Unfortunately, the text color is not directly available because it is injected into the ValueColorScheme when the theme is chanted. But maybe there are ways to read the color values and apply them to the text widget? Otherwise I think it is okay to see the preview only for the current theme (light/dark) because this is what the user is using.
Me neither. For me, the bright green in the vivid light color scheme is hard to read. I am also okay to add another 4th scheme. I would need very good arguments to add a fifth. |
|
Claude says there is no easy way to get the CSS colors of the text. It recommends parsing the CSS. I am not sure it is worth the effort (and future maintenance).
|
8303505 to
c7b6091
Compare
Good point. I've solved it by removing the convenience feature that it instantly previewed the theme change. It now uses the active theme bg colour, which will always be the same scheme as the font colour. If the user wants to preview in another theme, they have to switch and apply.
Looking at it again, I agree that it's not good for legibility. I have done a bit of testing now and come up with a different solution. The obvious thing was to fill the up/down arrows with the same shade, but I actually think that's suboptimal. Firstly, I perceive the arrows as having the expected colour, but the text appears lighter than the specified colour. I think that's because the text is ~1px curves, so quite a lot of the pixels are antialiased with white. Secondly, you don't need to be able to read the arrows, so it's fine for them to be a little lighter/more saturated than the text. They form a visual unit with the value, and help to provide a clearer colour cue. So that's what I've done. This is the best result I can find for my vision. See what you think. Light background is inherently suboptimal – I see the colours FAR better in dark. The limitation with such matters is that – alongside the person's vision – users' screens and their settings vary. Inevitably, everybody will have a different idea of what looks good to them on their monitor.
Lightening it would make sense to me, but I leave that to others. |
c7b6091 to
a5da831
Compare
Better for users with common red-green issues Issue: portfolio-performance#5579
- Show values on the view background colour, instead of preferences bg Issue: portfolio-performance#5579
Previously, changing theme and/or value colour scheme left some stale elements with the old colours, until view was changed. Hopefully with this change, everything is changed immediately. Issue: portfolio-performance#5579
a5da831 to
39e0a6f
Compare
Better for users with common red-green issues Issue: #5579
- Show values on the view background colour, instead of preferences bg Issue: #5579
Previously, changing theme and/or value colour scheme left some stale elements with the old colours, until view was changed. Hopefully with this change, everything is changed immediately. Issue: #5579
Like approx 1 in 25 people worldwide, I have (minor) issues with shades of red and green!
The standard value colour scheme in PP is not good for me. The tones are dull, colours are recognisable if I look carefully, but you don't get the intended UI benefit of recognising them at a glance. And I am a mild case: many people would not be able to recognise the coloration at all!
Thus this PR:
TBD: