settings: remove color hardcode & tab radius, darken border

This commit is contained in:
Aaron Miller 2023-04-25 13:20:19 -07:00 committed by AT
parent 7253ab4686
commit cea7b039f1
2 changed files with 5 additions and 5 deletions

View File

@ -113,8 +113,7 @@ The prompt below is a question to answer, a task to complete, or a conversation
}
background: Rectangle {
color: genSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
radius: 5
border.color: "#fff"
border.color: theme.tabBorder
border.width: 1 ? genSettingsButton.checked : 0
}
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 {
color: appSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
radius: 2
border.color: "#fff"
border.color: theme.tabBorder
border.width: 1 ? appSettingsButton.checked : 0
}
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
radius: 2
}
padding: 10
width: parent.width
height: parent.height - 30
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
radius: 2
}
padding: 10
width: parent.width
height: parent.height - 30
contentWidth: availableWidth - 20

View File

@ -14,7 +14,7 @@ QtObject {
property color userColor: "#ec86bf"
property color assistantColor: "#10a37f"
property color linkColor: "white"
property color tabBorder: "#ddd"
property color tabBorder: "#aaa"
property real fontSizeLarge: Qt.application.font.pixelSize
property real fontSizeLarger: Qt.application.font.pixelSize + 2
}