[vlc-devel] [PATCH 01/28] qml: add glow color for items that are placed on banner colored widget

Fatih Uzunoglu fuzun54 at outlook.com
Tue Jul 21 19:28:31 CEST 2020


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



More information about the vlc-devel mailing list