Skip to content

Commit b6ad2ca

Browse files
committed
Fix GUI dark theme link text color visibility
This sets the application's palette color for links to the shade of blue from gridcoin-community#847. It improves the visibility of links when using the dark mode.
1 parent c33982a commit b6ad2ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/qt/bitcoingui.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
143143
QPalette pal(qApp->palette());
144144
pal.setColor(QPalette::Base, QColor(0, 0, 0, 0));
145145
pal.setColor(QPalette::Mid, pal.color(QPalette::Base));
146+
// Set links to a lighter shade of blue for readability in the dark theme:
147+
pal.setColor(QPalette::Link, QColor(73, 144, 226));
148+
pal.setColor(QPalette::LinkVisited, QColor(73, 144, 226));
146149
qApp->setPalette(pal);
147150

148151
setWindowTitle(tr("Gridcoin") + " " + tr("Wallet"));

0 commit comments

Comments
 (0)