From 122395ac43b173c4c8c3601d1e01a448b05b3769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C5=99=C3=ADza?= Date: Fri, 11 Oct 2024 16:07:02 +0200 Subject: [PATCH] Add color for disabled labels --- modules/Lith/Core/colortheme.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/Lith/Core/colortheme.cpp b/modules/Lith/Core/colortheme.cpp index bbf9486..abae410 100644 --- a/modules/Lith/Core/colortheme.cpp +++ b/modules/Lith/Core/colortheme.cpp @@ -40,6 +40,7 @@ QPalette ColorTheme::palette() const { palette.setBrush(QPalette::Highlight, QColor(0x8F, 0x24, 0x24)); palette.setBrush(QPalette::HighlightedText, QColor(0xED, 0xED, 0xED)); palette.setBrush(QPalette::AlternateBase, QColor(0xc7, 0xc3, 0x6d)); + palette.setBrush(QPalette::Disabled, QPalette::WindowText, mix(text, window, 0.6)); palette.setBrush(QPalette::Disabled, QPalette::Text, mix(text, window, 0.6)); palette.setBrush(QPalette::Disabled, QPalette::Button, mix(button, window, 0.45)); return palette;