mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 08:52:19 -07:00
Change color to not be server message color
Took 3 minutes
This commit is contained in:
parent
cd6ab95ed8
commit
d9d81e5dce
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue