[vlc-commits] qml: add bgHover text colors in VLCStyle

Prince Gupta git at videolan.org
Thu Dec 17 14:57:27 UTC 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Dec  8 19:24:18 2020 +0530| [a93435cbffda6a0021398e6e48a28ebc082ef1ec] | committer: Pierre Lamot

qml: add bgHover text colors in VLCStyle

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

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

diff --git a/modules/gui/qt/style/VLCColors.qml b/modules/gui/qt/style/VLCColors.qml
index b7444679c6..576cca8d39 100644
--- a/modules/gui/qt/style/VLCColors.qml
+++ b/modules/gui/qt/style/VLCColors.qml
@@ -61,7 +61,9 @@ Item {
     property color bgAltInactive: systemPalette.alternateBaseInactive;
 
     property color bgHover: systemPalette.highlight;
+    property color bgHoverText: systemPalette.highlightText;
     property color bgHoverInactive: systemPalette.highlightInactive;
+    property color bgHoverTextInactive: systemPalette.highlightTextInactive;
 
     property color button: systemPalette.button;
     property color buttonText: systemPalette.buttonText;
@@ -150,7 +152,9 @@ Item {
                 bgAltInactive: "#eff0f1"
 
                 bgHover: "#ededed"
+                bgHoverText: text
                 bgHoverInactive: "#3daee9"
+                bgHoverTextInactive: text
 
                 button: "#eff0f1";
                 buttonText: "#232627";
@@ -180,7 +184,9 @@ Item {
                 bgAlt: "#31363b"
                 bgAltInactive: "#31363b"
                 bgHover: "#2d2d2d"
+                bgHoverText: text
                 bgHoverInactive: "#3daee9"
+                bgHoverTextInactive: text
                 button: "#31363b"
                 buttonText: "#eff0f1"
                 buttonBorder: "#575b5f"
@@ -205,7 +211,9 @@ Item {
                 bgAltInactive: systemPalette.alternateBaseInactive
 
                 bgHover: systemPalette.highlight
+                bgHoverText: systemPalette.highlightText
                 bgHoverInactive: systemPalette.highlightInactive
+                bgHoverTextInactive: systemPalette.highlightTextInactive
 
                 text: systemPalette.text
                 textDisabled: systemPalette.textDisabled



More information about the vlc-commits mailing list