From 70f0e86bec081e239ab7519725623431d5ac809b Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Mon, 24 Apr 2023 01:15:12 -0400 Subject: [PATCH] Fix link color and nomic name. --- main.qml | 6 +++--- qml/Theme.qml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/main.qml b/main.qml index 7ea1db75..31a578c5 100644 --- a/main.qml +++ b/main.qml @@ -488,7 +488,7 @@ Window { text: qsTr("Check out our discord channel https://discord.gg/4M2QFmTt2k") onLinkActivated: { Qt.openUrlExternally("https://discord.gg/4M2QFmTt2k") } color: theme.textColor - linkColor: "#1e8cda" + linkColor: theme.linkColor Accessible.role: Accessible.Link Accessible.name: qsTr("Discord link") @@ -502,10 +502,10 @@ Window { anchors.top: discordLink.bottom anchors.topMargin: 20 wrapMode: Text.WordWrap - text: qsTr("Thanks to nomic.ai and the community for contributing so much great data and energy!") + text: qsTr("Thanks to Nomic AI and the community for contributing so much great data and energy!") onLinkActivated: { Qt.openUrlExternally("https://home.nomic.ai") } color: theme.textColor - linkColor: "#1e8cda" + linkColor: theme.linkColor Accessible.role: Accessible.Paragraph Accessible.name: qsTr("Thank you blurb") diff --git a/qml/Theme.qml b/qml/Theme.qml index 6b93fc96..23a7ef9c 100644 --- a/qml/Theme.qml +++ b/qml/Theme.qml @@ -13,5 +13,6 @@ QtObject { property color dialogBorder: "#d1d5db" property color userColor: "#ec86bf" property color assistantColor: "#10a37f" + property color linkColor: "white" property real fontSizeLarge: Qt.application.font.pixelSize }