diff --git a/gpt4all-chat/main.qml b/gpt4all-chat/main.qml index 817db9ed..6e317062 100644 --- a/gpt4all-chat/main.qml +++ b/gpt4all-chat/main.qml @@ -225,8 +225,8 @@ Window { text: "gpt4all.io |" horizontalAlignment: Text.AlignLeft font.pixelSize: theme.fontSizeFixedSmall - color: theme.iconBackgroundHovered - linkColor: hoverHandler1.hovered ? theme.accentColor : theme.iconBackgroundHovered + color: theme.iconBackgroundLight + linkColor: hoverHandler1.hovered ? theme.iconBackgroundHovered : theme.iconBackgroundLight HoverHandler { id: hoverHandler1 } onLinkActivated: { Qt.openUrlExternally("https://gpt4all.io") } } @@ -236,8 +236,8 @@ Window { text: "github" horizontalAlignment: Text.AlignLeft font.pixelSize: theme.fontSizeFixedSmall - color: theme.iconBackgroundHovered - linkColor: hoverHandler2.hovered ? theme.accentColor : theme.iconBackgroundHovered + color: theme.iconBackgroundLight + linkColor: hoverHandler2.hovered ? theme.iconBackgroundHovered : theme.iconBackgroundLight HoverHandler { id: hoverHandler2 } onLinkActivated: { Qt.openUrlExternally("https://github.com/nomic-ai/gpt4all") } } @@ -252,8 +252,8 @@ Window { text: "nomic.ai |" horizontalAlignment: Text.AlignRight font.pixelSize: theme.fontSizeFixedSmall - color: theme.iconBackgroundHovered - linkColor: hoverHandler3.hovered ? theme.accentColor : theme.iconBackgroundHovered + color: theme.iconBackgroundLight + linkColor: hoverHandler3.hovered ? theme.iconBackgroundHovered : theme.iconBackgroundLight HoverHandler { id: hoverHandler3 } onLinkActivated: { Qt.openUrlExternally("https://nomic.ai") } } @@ -263,8 +263,8 @@ Window { text: "twitter |" horizontalAlignment: Text.AlignRight font.pixelSize: theme.fontSizeFixedSmall - color: theme.iconBackgroundHovered - linkColor: hoverHandler4.hovered ? theme.accentColor : theme.iconBackgroundHovered + color: theme.iconBackgroundLight + linkColor: hoverHandler4.hovered ? theme.iconBackgroundHovered : theme.iconBackgroundLight HoverHandler { id: hoverHandler4 } onLinkActivated: { Qt.openUrlExternally("https://twitter.com/nomic_ai") } } @@ -274,8 +274,8 @@ Window { text: "discord" horizontalAlignment: Text.AlignRight font.pixelSize: theme.fontSizeFixedSmall - color: theme.iconBackgroundHovered - linkColor: hoverHandler5.hovered ? theme.accentColor : theme.iconBackgroundHovered + color: theme.iconBackgroundLight + linkColor: hoverHandler5.hovered ? theme.iconBackgroundHovered : theme.iconBackgroundLight HoverHandler { id: hoverHandler5 } onLinkActivated: { Qt.openUrlExternally("https://discord.gg/4M2QFmTt2k") } } @@ -533,7 +533,7 @@ Window { anchors.topMargin: 42.5 anchors.rightMargin: 10 width: 40 - height: 40 + height: 42.5 z: 200 padding: 15 toggled: currentChat.collectionList.length diff --git a/gpt4all-chat/qml/MySettingsLabel.qml b/gpt4all-chat/qml/MySettingsLabel.qml index 64f0626f..6dd3e643 100644 --- a/gpt4all-chat/qml/MySettingsLabel.qml +++ b/gpt4all-chat/qml/MySettingsLabel.qml @@ -5,6 +5,6 @@ import QtQuick.Controls.Basic Label { color: theme.settingsTitleTextColor - font.pixelSize: theme.fontSizeLarge - 4 + font.pixelSize: theme.fontSizeSmall font.bold: true } diff --git a/gpt4all-chat/qml/Theme.qml b/gpt4all-chat/qml/Theme.qml index 67cb4fc6..a2543558 100644 --- a/gpt4all-chat/qml/Theme.qml +++ b/gpt4all-chat/qml/Theme.qml @@ -542,15 +542,16 @@ QtObject { } property real fontSizeFixedSmall: 16 + property real fontSize: Qt.application.font.pixelSize property real fontSizeSmall: fontSizeLarge - 2 property real fontSizeLarge: MySettings.fontSize === "Small" ? - Qt.application.font.pixelSize : MySettings.fontSize === "Medium" ? - Qt.application.font.pixelSize + 5 : Qt.application.font.pixelSize + 10 + fontSize : MySettings.fontSize === "Medium" ? + fontSize + 5 : fontSize + 10 property real fontSizeLarger: MySettings.fontSize === "Small" ? - Qt.application.font.pixelSize + 2 : MySettings.fontSize === "Medium" ? - Qt.application.font.pixelSize + 7 : Qt.application.font.pixelSize + 12 + fontSize + 2 : MySettings.fontSize === "Medium" ? + fontSize + 7 : fontSize + 12 property real fontSizeLargest: MySettings.fontSize === "Small" ? - Qt.application.font.pixelSize + 7 : MySettings.fontSize === "Medium" ? - Qt.application.font.pixelSize + 12 : Qt.application.font.pixelSize + 14 + fontSize + 7 : MySettings.fontSize === "Medium" ? + fontSize + 12 : fontSize + 14 }