Commit 6750353c authored by Jan Blackquill's avatar Jan Blackquill 🌈 Committed by Nate Graham
Browse files

kcm/colors: don't dull accent colour on dark themes in colorsapplicator

User demand shows that bright accent colours are wanted over potentially
better legibility, so let's avoid changing them.

BUG: 442820
FIXED-IN: 5.25
parent fa7b0514
Pipeline #161530 passed with stage
in 5 minutes and 37 seconds
......@@ -43,13 +43,7 @@ inline QColor alphaBlend(const QColor &foreground, const QColor &background)
inline QColor accentBackground(const QColor &accent, const QColor &background)
auto c = accent;
// light bg
if (KColorUtils::luma(background) > 0.5) {
} else {
// dark bg
return alphaBlend(c, background);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment