mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +00:00
Add a hover and pressed to the visual indication of MyButton.
This commit is contained in:
parent
122b14d526
commit
3e828e1e4b
@ -14,11 +14,10 @@ Button {
|
|||||||
Accessible.name: text
|
Accessible.name: text
|
||||||
}
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
opacity: .5
|
border.color: myButton.down ? theme.backgroundLightest : theme.buttonBorder
|
||||||
border.color: theme.backgroundLightest
|
border.width: 2
|
||||||
border.width: 1
|
|
||||||
radius: 10
|
radius: 10
|
||||||
color: theme.backgroundLight
|
color: myButton.hovered ? theme.backgroundLighter : theme.backgroundLight
|
||||||
}
|
}
|
||||||
Accessible.role: Accessible.Button
|
Accessible.role: Accessible.Button
|
||||||
Accessible.name: text
|
Accessible.name: text
|
||||||
|
@ -12,6 +12,7 @@ QtObject {
|
|||||||
property color backgroundLight: "#343541"
|
property color backgroundLight: "#343541"
|
||||||
property color backgroundLighter: "#444654"
|
property color backgroundLighter: "#444654"
|
||||||
property color backgroundLightest: "#7d7d8e"
|
property color backgroundLightest: "#7d7d8e"
|
||||||
|
property color buttonBorder: "#565869"
|
||||||
property color dialogBorder: "#d1d5db"
|
property color dialogBorder: "#d1d5db"
|
||||||
property color userColor: "#ec86bf"
|
property color userColor: "#ec86bf"
|
||||||
property color assistantColor: "#10a37f"
|
property color assistantColor: "#10a37f"
|
||||||
|
Loading…
Reference in New Issue
Block a user