vlc | branch: master | Fatih Uzunoglu <[email protected]> | Fri Feb 12 
00:23:41 2021 +0300| [de41fb66fde8645c333e00682de038c5fe8168ac] | committer: 
Pierre Lamot

qml: change default icon color

blendColors(text, bg, 0.6) does not provide enough contrast with textInactive

Signed-off-by: Pierre Lamot <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de41fb66fde8645c333e00682de038c5fe8168ac
---

 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";
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to