From b3e01ae865e8605125d2c4be3be73c0a0fb8601c Mon Sep 17 00:00:00 2001 From: Aaron Miller Date: Tue, 25 Apr 2023 13:20:19 -0700 Subject: [PATCH] settings: remove color hardcode & tab radius, darken border --- qml/SettingsDialog.qml | 8 ++++---- qml/Theme.qml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/qml/SettingsDialog.qml b/qml/SettingsDialog.qml index eaab2c64..5819f878 100644 --- a/qml/SettingsDialog.qml +++ b/qml/SettingsDialog.qml @@ -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 diff --git a/qml/Theme.qml b/qml/Theme.qml index 1da6adbc..6417550d 100644 --- a/qml/Theme.qml +++ b/qml/Theme.qml @@ -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 }