From 2a9d9cab9fcbc17a58bd39ab8878b4c9e44a2411 Mon Sep 17 00:00:00 2001 From: Ahmed Sobhy <175150-ahmedsobhy@users.noreply.code.videolan.org> Date: Thu, 5 Feb 2026 16:07:04 +0200 Subject: [PATCH] fix: update menubar highlight colors to improve visibility in light mode --- modules/gui/qt/style/systempalette.cpp | 4 ++-- modules/gui/qt/style/systempalette.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt/style/systempalette.cpp b/modules/gui/qt/style/systempalette.cpp index 247f25f708..19a593f567 100644 --- a/modules/gui/qt/style/systempalette.cpp +++ b/modules/gui/qt/style/systempalette.cpp @@ -531,8 +531,8 @@ void SystemPalette::makeLightPalette() { C::ColorSet CS = C::MenuBar; setColor(CS, C::Bg, C::Primary, C::Normal, setColorAlpha(lightGrey300, 0.0)); - setColor(CS, C::Bg, C::Primary, C::Focused, lightGrey300); - setColor(CS, C::Bg, C::Primary, C::Hovered, lightGrey300); + setColor(CS, C::Bg, C::Primary, C::Focused, lightGrey700); + setColor(CS, C::Bg, C::Primary, C::Hovered, lightGrey700); setColor(CS, C::Fg, C::Primary, C::Normal, Qt::black); setColor(CS, C::Fg, C::Primary, C::Disabled, setColorAlpha(Qt::black, 0.2)); } diff --git a/modules/gui/qt/style/systempalette.hpp b/modules/gui/qt/style/systempalette.hpp index 6d5ec9d4c2..ab922e1fc8 100644 --- a/modules/gui/qt/style/systempalette.hpp +++ b/modules/gui/qt/style/systempalette.hpp @@ -130,6 +130,7 @@ public: COLOR_DEFINITION(lightGrey400, "#EDEDED"); COLOR_DEFINITION(lightGrey500, "#E9E9E9"); COLOR_DEFINITION(lightGrey600, "#E5E5E5"); + COLOR_DEFINITION(lightGrey700, "#E0E0E0"); COLOR_DEFINITION(red500, "#FF0000");