vlc | branch: master | Prince Gupta <guptaprince8...@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 <pie...@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

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to