overview: clearer window borders

This commit is contained in:
end-4 2025-06-09 23:08:51 +02:00
parent a6ecf107b3
commit 93a14293aa

View file

@ -76,9 +76,10 @@ Item { // Window
Rectangle {
anchors.fill: parent
radius: Appearance.rounding.windowRounding * root.scale
color: pressed ? Appearance.colors.colLayer2Active : hovered ? Appearance.colors.colLayer2Hover : Appearance.colors.colLayer2
opacity: pressed ? 0.5 : hovered ? 0.3 : 0
border.color : ColorUtils.transparentize(Appearance.m3colors.m3outline, 0.9)
color: pressed ? ColorUtils.transparentize(Appearance.colors.colLayer2Active, 0.5) :
hovered ? ColorUtils.transparentize(Appearance.colors.colLayer2Hover, 0.7) :
ColorUtils.transparentize(Appearance.colors.colLayer2)
border.color : ColorUtils.transparentize(Appearance.m3colors.m3outline, 0.7)
border.width : 1
}