mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
overview: adjust hover/click colors
This commit is contained in:
parent
5c2b12bf96
commit
0beccd69e8
1 changed files with 2 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ Item { // Window
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreencopyView {
|
ScreencopyView {
|
||||||
|
id: windowPreview
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
captureSource: GlobalStates.overviewOpen ? root.toplevel : null
|
captureSource: GlobalStates.overviewOpen ? root.toplevel : null
|
||||||
live: true
|
live: true
|
||||||
|
|
@ -76,7 +77,7 @@ Item { // Window
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
radius: Appearance.rounding.windowRounding * root.scale
|
radius: Appearance.rounding.windowRounding * root.scale
|
||||||
color: pressed ? Appearance.colors.colLayer2Active : hovered ? Appearance.colors.colLayer2Hover : Appearance.colors.colLayer2
|
color: pressed ? Appearance.colors.colLayer2Active : hovered ? Appearance.colors.colLayer2Hover : Appearance.colors.colLayer2
|
||||||
opacity: pressed ? 0.3 : hovered ? 0.2 : 0
|
opacity: pressed ? 0.5 : hovered ? 0.3 : 0
|
||||||
border.color : ColorUtils.transparentize(Appearance.m3colors.m3outline, 0.9)
|
border.color : ColorUtils.transparentize(Appearance.m3colors.m3outline, 0.9)
|
||||||
border.width : 1
|
border.width : 1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue