Make quick settings buttons stand out
This commit is contained in:
1 parent
885ae8a17b
commit
cfafe8825b
2 files changed
+4
-2
No files matched your search
@@ -13,7 +13,7 @@ Rectangle {
|
|||||||
radius: Style.cardRadius
|
radius: Style.cardRadius
|
||||||
color: root.active
|
color: root.active
|
||||||
? Color.accent
|
? Color.accent
|
||||||
: (hover.hovered ? Util.alpha(Color.blue, 0.25) : "transparent")
|
: (hover.hovered ? Util.alpha(Color.blue, 0.3) : Util.alpha(Color.foreground, 0.1))
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ Rectangle {
|
|||||||
radius: Style.cardRadius
|
radius: Style.cardRadius
|
||||||
color: root.active
|
color: root.active
|
||||||
? Color.accent
|
? Color.accent
|
||||||
: (hover.hovered ? Util.alpha(Color.blue, 0.25) : Util.alpha(Color.background, Style.cardFillAlpha))
|
: (hover.hovered ? Util.alpha(Color.blue, 0.3) : Util.alpha(Color.foreground, 0.1))
|
||||||
|
border.width: 1
|
||||||
|
border.color: root.active ? Color.accent : Util.alpha(Color.foreground, 0.2)
|
||||||
|
|
||||||
Behavior on color {
|
Behavior on color {
|
||||||
ColorAnimation { duration: 150 }
|
ColorAnimation { duration: 150 }
|
||||||
|
|||||||
Reference in new issue
Block a user