[vlc-commits] qml: add separator color to VLCColors

Prince Gupta git at videolan.org
Wed Jun 24 17:41:50 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Wed Jun  3 17:04:05 2020 +0530| [9c8d6d283a7ba885728e1d0dae0c27ad937b71c0] | committer: Pierre Lamot

qml: add separator color to VLCColors

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

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

diff --git a/modules/gui/qt/style/VLCColors.qml b/modules/gui/qt/style/VLCColors.qml
index 61ef92b34e..a92a090407 100644
--- a/modules/gui/qt/style/VLCColors.qml
+++ b/modules/gui/qt/style/VLCColors.qml
@@ -79,6 +79,8 @@ Item {
     property color playerBg: "black"
     property color playerBorder: "#222222"
 
+    property color separator: blendColors(bg, text, .95)
+
     //vlc orange
     property color accent: "#FFFF950D";
 
@@ -121,6 +123,7 @@ Item {
 
                 accent: "#ff950d";
                 alert: "#ff0000";
+                separator: "#ededed"
             }
         },
         State {
@@ -144,6 +147,7 @@ Item {
                 bannerHover: "#3daee9"
                 accent: "#ff950d"
                 alert: "#ff0000"
+                separator: "#2d2d2d"
             }
         },
         State {
@@ -171,6 +175,8 @@ Item {
                 textActiveSource: accent
                 banner: systemPalette.window
                 bannerHover: systemPalette.highlight
+
+                separator: blendColors(bg, text, .95)
             }
         }
     ]



More information about the vlc-commits mailing list