mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
refactor: wip refactor on color scheme, make screenshots suck less, etc.
This commit is contained in:
parent
0052b00904
commit
21969cf5a9
8 changed files with 214 additions and 49 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue