[vlc-devel] [PATCH 13/15] qml: change default icon color

Fatih Uzunoglu fuzun54 at outlook.com
Thu Feb 11 21:23:41 UTC 2021


blendColors(text, bg, 0.6) does not provide enough contrast with textInactive
---
 modules/gui/qt/style/VLCColors.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/style/VLCColors.qml b/modules/gui/qt/style/VLCColors.qml
index c91452130e..9e5fbf0241 100644
--- a/modules/gui/qt/style/VLCColors.qml
+++ b/modules/gui/qt/style/VLCColors.qml
@@ -69,7 +69,7 @@ Item {
     property color buttonText: systemPalette.buttonText;
     property color buttonBorder: blendColors(systemPalette.button, systemPalette.buttonText, 0.8);
 
-    property color icon: blendColors(text, bg, 0.6);
+    property color icon: isThemeDark ? white : "#666666"
 
     property color textActiveSource: "red";
 
-- 
2.27.0



More information about the vlc-devel mailing list