mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
combobox: make color names more consistent with other buttons
This commit is contained in:
@@ -10,16 +10,16 @@ ComboBox {
|
||||
|
||||
property string buttonIcon: ""
|
||||
property real buttonRadius: height / 2
|
||||
property color buttonBackground: Appearance.colors.colSecondaryContainer
|
||||
property color buttonBackgroundHover: Appearance.colors.colSecondaryContainerHover
|
||||
property color buttonBackgroundActive: Appearance.colors.colSecondaryContainerActive
|
||||
property color colBackground: Appearance.colors.colSecondaryContainer
|
||||
property color colBackgroundHover: Appearance.colors.colSecondaryContainerHover
|
||||
property color colBackgroundActive: Appearance.colors.colSecondaryContainerActive
|
||||
|
||||
implicitHeight: 40
|
||||
Layout.fillWidth: true
|
||||
|
||||
background: Rectangle {
|
||||
radius: root.buttonRadius
|
||||
color: root.down ? root.buttonBackgroundActive : root.hovered ? root.buttonBackgroundHover : root.buttonBackground
|
||||
color: root.down ? root.colBackgroundActive : root.hovered ? root.colBackgroundHover : root.colBackground
|
||||
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
|
||||
Reference in New Issue
Block a user