refactor: wip refactor on color scheme, make screenshots suck less, etc.

This commit is contained in:
kossLAN 2025-10-06 12:36:40 -04:00
parent 0052b00904
commit 21969cf5a9
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
8 changed files with 214 additions and 49 deletions

View file

@ -5,16 +5,21 @@ MouseArea {
id: root
hoverEnabled: true
property real radius: width / 2
property real radius: 10
property bool checked: false
property var activeColor: ShellSettings.colors.active_translucent
property var inactiveColor: "transparent"
Rectangle {
color: root.containsMouse || root.checked ? root.activeColor : root.inactiveColor
color: root.containsMouse || root.checked ? root.activeColor : root.inactiveColor
radius: root.radius
anchors.fill: parent
border {
width: root.containsMouse ? 1 : 0
color: ShellSettings.colors.active_translucent
}
Behavior on color {
ColorAnimation {
duration: 200