Change color to not be server message color

Took 3 minutes
This commit is contained in:
Lukas Brübach 2026-08-08 22:17:54 +02:00
parent cd6ab95ed8
commit d9d81e5dce

View file

@ -63,14 +63,14 @@ void ChatView::adjustColorsToPalette()
serverMessageColor = QColor(0xFF, 0x73, 0x83); serverMessageColor = QColor(0xFF, 0x73, 0x83);
otherUserColor = otherUserColor.lighter(150); otherUserColor = otherUserColor.lighter(150);
linkColor = QColor(71, 158, 252); linkColor = QColor(71, 158, 252);
unresolvedCardTagColor = QColor(0xFF, 0x73, 0x83); unresolvedCardTagColor = QColor(0xFF, 0xA5, 0x00);
} else { } else {
document()->setDefaultStyleSheet(R"( document()->setDefaultStyleSheet(R"(
a { text-decoration: none; color: blue; } a { text-decoration: none; color: blue; }
.blue { color: blue } .blue { color: blue }
)"); )");
linkColor = palette().link().color(); linkColor = palette().link().color();
unresolvedCardTagColor = QColor(0x85, 0x15, 0x15); unresolvedCardTagColor = QColor(0xA0, 0x52, 0x2D);
} }
QTimer::singleShot(0, this, &ChatView::refreshBlockColors); QTimer::singleShot(0, this, &ChatView::refreshBlockColors);