Skip to content

Commit 5378ac4

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 5378ac4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/qt/bitcoingui.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ 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+
pal.setColor(QPalette::Link, QColor(73, 144, 226));
147+
pal.setColor(QPalette::LinkVisited, QColor(73, 144, 226));
146148
qApp->setPalette(pal);
147149

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

0 commit comments

Comments
 (0)