summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-02-27 00:34:58 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-02-27 00:34:58 +0100
commitb1eff0a37f242608558d7c3fcdea9e09b89e3457 (patch)
tree875c574918759286d0592f6836bd88aba239ce56 /src
parentDon't let click on reply steal focus from the replied to elements (diff)
downloadnheko-b1eff0a37f242608558d7c3fcdea9e09b89e3457.tar.xz
Improve link theming
Diffstat (limited to 'src')
-rw-r--r--src/timeline/TimelineViewManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp
index 14f903a1..a3827501 100644
--- a/src/timeline/TimelineViewManager.cpp
+++ b/src/timeline/TimelineViewManager.cpp
@@ -32,6 +32,7 @@ TimelineViewManager::updateColorPalette()
                                      /*window*/ QColor("white"));
                 lightActive.setColor(QPalette::ToolTipBase, lightActive.base().color());
                 lightActive.setColor(QPalette::ToolTipText, lightActive.text().color());
+                lightActive.setColor(QPalette::Link, QColor("#0077b5"));
                 view->rootContext()->setContextProperty("currentActivePalette", lightActive);
                 view->rootContext()->setContextProperty("currentInactivePalette", lightActive);
         } else if (settings->theme() == "dark") {
@@ -47,6 +48,7 @@ TimelineViewManager::updateColorPalette()
                 darkActive.setColor(QPalette::Highlight, QColor("#e7e7e9"));
                 darkActive.setColor(QPalette::ToolTipBase, darkActive.base().color());
                 darkActive.setColor(QPalette::ToolTipText, darkActive.text().color());
+                darkActive.setColor(QPalette::Link, QColor("#38a3d8"));
                 view->rootContext()->setContextProperty("currentActivePalette", darkActive);
                 view->rootContext()->setContextProperty("currentInactivePalette", darkActive);
         } else {