From c6df4645c859f682141392c53310bba2aff458d6 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Sat, 20 May 2023 20:02:38 -0400 Subject: [PATCH] Add a new muted text color. --- gpt4all-chat/main.qml | 2 +- gpt4all-chat/qml/Theme.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gpt4all-chat/main.qml b/gpt4all-chat/main.qml index 2fed822a..cbcfe845 100644 --- a/gpt4all-chat/main.qml +++ b/gpt4all-chat/main.qml @@ -803,7 +803,7 @@ Window { wrapMode: Text.WordWrap font.pixelSize: theme.fontSizeLarge placeholderText: qsTr("Send a message...") - placeholderTextColor: theme.backgroundLightest + placeholderTextColor: theme.mutedTextColor background: Rectangle { color: theme.backgroundLighter radius: 10 diff --git a/gpt4all-chat/qml/Theme.qml b/gpt4all-chat/qml/Theme.qml index d54555f0..548aeba7 100644 --- a/gpt4all-chat/qml/Theme.qml +++ b/gpt4all-chat/qml/Theme.qml @@ -4,6 +4,7 @@ import QtQuick.Controls.Basic QtObject { property color textColor: "#d1d5db" + property color mutedTextColor: backgroundLightest property color textErrorColor: "red" property color backgroundDarkest: "#202123" property color backgroundDarker: "#222326"