Commit 6fc255c3 authored by Marco Martin's avatar Marco Martin

fix tiles colors

parent d215f0c0
......@@ -49,7 +49,7 @@ AbstractDelegate {
property color backgroundColor: useColors ? dominantContrast : PlasmaCore.ColorScope.backgroundColor
property color accentColor: useColors ? highlight : PlasmaCore.ColorScope.highlightColor
property color textColor: useColors
? Kirigami.ColorUtils.brightness(dominantContrast) === Kirigami.ColorUtils.Light ? imagePalette.closestToBlack : imagePalette.closestToWhite
? (Kirigami.ColorUtils.brightnessForColor(dominantContrast) === Kirigami.ColorUtils.Light ? imagePalette.closestToBlack : imagePalette.closestToWhite)
: PlasmaCore.ColorScope.textColor
}
......
Markdown is supported
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