Make the collection dialog progress bar more readable.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-02-06 09:34:38 -05:00
parent 92c025a7f6
commit cb10465127
2 changed files with 12 additions and 1 deletions

View File

@ -121,7 +121,7 @@ MyDialog {
} }
Label { Label {
id: speedLabel id: speedLabel
color: theme.textColor color: theme.progressText
visible: model.indexing || model.currentEmbeddingsToIndex !== model.totalEmbeddingsToIndex visible: model.indexing || model.currentEmbeddingsToIndex !== model.totalEmbeddingsToIndex
anchors.verticalCenter: itemProgressBar.verticalCenter anchors.verticalCenter: itemProgressBar.verticalCenter
anchors.left: itemProgressBar.left anchors.left: itemProgressBar.left

View File

@ -222,6 +222,17 @@ QtObject {
} }
} }
property color progressText: {
switch (MySettings.chatTheme) {
case "LegacyDark":
return "#ffffff";
case "Dark":
return "#000000";
default:
return "#000000";
}
}
property color checkboxBorder: { property color checkboxBorder: {
switch (MySettings.chatTheme) { switch (MySettings.chatTheme) {
case "LegacyDark": case "LegacyDark":