[vlc-devel] [PATCH 28/30] qml: add bgHover text colors in VLCStyle

Prince Gupta guptaprince8832 at gmail.com
Mon Dec 14 14:28:06 CET 2020


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



More information about the vlc-devel mailing list