[vlc-commits] qml: add glow color for items that are placed on banner colored widget

Fatih Uzunoglu git at videolan.org
Fri Jul 24 11:45:32 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Mon Jul  6 20:15:00 2020 +0300| [be0eaa42c05f934f1a8f4e31361925f51f83a212] | committer: Pierre Lamot

qml: add glow color for items that are placed on banner colored widget

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

 modules/gui/qt/style/VLCColors.qml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/style/VLCColors.qml b/modules/gui/qt/style/VLCColors.qml
index 519586c191..083f9f916d 100644
--- a/modules/gui/qt/style/VLCColors.qml
+++ b/modules/gui/qt/style/VLCColors.qml
@@ -83,9 +83,13 @@ Item {
     property color playerBorder: "#222222"
 
     property color separator: blendColors(bg, text, .95)
-    
+
+    // basic color definitions for color blending:
     property color black: "black"
+
+    // glow colors:
     property color glowColor: setColorAlpha(blendColors(bg, black, 0.8), 0.35)
+    property color glowColorBanner: setColorAlpha(blendColors(banner, black, isThemeDark ? 0.25 : 0.35), 0.25)
 
     //vlc orange
     property color accent: "#FFFF950D";



More information about the vlc-commits mailing list