mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-10 20:31:46 +00:00
settings: remove color hardcode & tab radius, darken border
This commit is contained in:
parent
cc6005b18c
commit
b3e01ae865
@ -113,8 +113,7 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
|||||||
}
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: genSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
|
color: genSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
|
||||||
radius: 5
|
border.color: theme.tabBorder
|
||||||
border.color: "#fff"
|
|
||||||
border.width: 1 ? genSettingsButton.checked : 0
|
border.width: 1 ? genSettingsButton.checked : 0
|
||||||
}
|
}
|
||||||
Accessible.role: Accessible.Button
|
Accessible.role: Accessible.Button
|
||||||
@ -132,8 +131,7 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
|||||||
}
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: appSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
|
color: appSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
|
||||||
radius: 2
|
border.color: theme.tabBorder
|
||||||
border.color: "#fff"
|
|
||||||
border.width: 1 ? appSettingsButton.checked : 0
|
border.width: 1 ? appSettingsButton.checked : 0
|
||||||
}
|
}
|
||||||
Accessible.role: Accessible.Button
|
Accessible.role: Accessible.Button
|
||||||
@ -157,6 +155,7 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
|||||||
border.width: 1
|
border.width: 1
|
||||||
radius: 2
|
radius: 2
|
||||||
}
|
}
|
||||||
|
padding: 10
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height - 30
|
height: parent.height - 30
|
||||||
contentWidth: availableWidth - 20
|
contentWidth: availableWidth - 20
|
||||||
@ -515,6 +514,7 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
|||||||
border.width: 1
|
border.width: 1
|
||||||
radius: 2
|
radius: 2
|
||||||
}
|
}
|
||||||
|
padding: 10
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height - 30
|
height: parent.height - 30
|
||||||
contentWidth: availableWidth - 20
|
contentWidth: availableWidth - 20
|
||||||
|
@ -14,7 +14,7 @@ QtObject {
|
|||||||
property color userColor: "#ec86bf"
|
property color userColor: "#ec86bf"
|
||||||
property color assistantColor: "#10a37f"
|
property color assistantColor: "#10a37f"
|
||||||
property color linkColor: "white"
|
property color linkColor: "white"
|
||||||
property color tabBorder: "#ddd"
|
property color tabBorder: "#aaa"
|
||||||
property real fontSizeLarge: Qt.application.font.pixelSize
|
property real fontSizeLarge: Qt.application.font.pixelSize
|
||||||
property real fontSizeLarger: Qt.application.font.pixelSize + 2
|
property real fontSizeLarger: Qt.application.font.pixelSize + 2
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user