Skip to content

colors/colorsapplicator.cpp: Try to compensate for low contrast ratio for foregroundLinks

Akseli Lahtinen requested to merge work/cherry-pick-102f79a4 into Plasma/6.1

If foreground link contrast ratio with the background is too low, try to make it a bit brighter. It will not always work, but it's better than nothing.

This can be especially noticeable with the "Accent color from wallpaper" setting.

It's not perfect, but it does help a lot with readability.

(cherry picked from commit 102f79a4)

b936f4d7 colors/colorsapplicator.cpp: Try to compensate for low contrast ratio for foregroundLinks 34f44092 Add comment 8ee3a4ec Use lighten/darken methods instead 67956e8d Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Akseli Lahtinen akselmo@akselmo.dev

Merge request reports