From faa07c7e3cc3ce68fb16e93f0318c67261ed8208 Mon Sep 17 00:00:00 2001 From: Chris Esposito Date: Thu, 24 Jun 2021 17:53:49 +1000 Subject: [PATCH] better hyperlink colours for dark mode --- Desktop_Interface/mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Desktop_Interface/mainwindow.cpp b/Desktop_Interface/mainwindow.cpp index 41a6541c..72d5886c 100644 --- a/Desktop_Interface/mainwindow.cpp +++ b/Desktop_Interface/mainwindow.cpp @@ -2531,9 +2531,12 @@ void MainWindow::setDarkMode(bool dark) QPalette newPalette; newPalette.setColor(QPalette::Window, QColor( 37, 37, 37)); - newPalette.setColor(QPalette::WindowText, QColor(212, 212, 212)); + newPalette.setColor(QPalette::WindowText, QColor( 212, 212, 212)); newPalette.setColor(QPalette::Base, QColor( 60, 60, 60)); newPalette.setColor(QPalette::AlternateBase, QColor( 45, 45, 45)); + newPalette.setColor(QPalette::Link, QColor( 0, 160, 255)); + newPalette.setColor(QPalette::LinkVisited, QColor( 60, 127, 255)); + //newPalette.setColor(QPalette::PlaceholderText, QColor(127, 127, 127)); newPalette.setColor(QPalette::Text, QColor(212, 212, 212)); newPalette.setColor(QPalette::Button, QColor( 45, 45, 45));