[vlc-commits] qml: change default icon color

Fatih Uzunoglu git at videolan.org
Wed Feb 17 09:31:55 UTC 2021


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | 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 <pierre at videolabs.io>

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



More information about the vlc-commits mailing list