mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fix some dark mode colors. (#3596)
* Pick a link color that looks good in both light and dark mode * Fix up chat log colors
This commit is contained in:
parent
63839eb464
commit
a7f19f7848
4 changed files with 39 additions and 19 deletions
|
|
@ -1244,6 +1244,10 @@ void TabDeckEditor::showSearchSyntaxHelp()
|
|||
browser->setWindowTitle("Search Help");
|
||||
browser->setReadOnly(true);
|
||||
browser->setMinimumSize({500, 600});
|
||||
|
||||
QString sheet = QString("a { text-decoration: underline; color: rgb(71,158,252) };");
|
||||
browser->document()->setDefaultStyleSheet(sheet);
|
||||
|
||||
browser->setHtml(text);
|
||||
connect(browser, &QTextBrowser::anchorClicked, [=](QUrl link) { searchEdit->setText(link.fragment()); });
|
||||
browser->show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue