Browse Source

fix: update menubar highlight colors to improve visibility in light mode

pull/199/head
Ahmed Sobhy 6 months ago
committed by Steve Lhomme
parent
commit
2a9d9cab9f
  1. 4
      modules/gui/qt/style/systempalette.cpp
  2. 1
      modules/gui/qt/style/systempalette.hpp

4
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));
}

1
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");

Loading…
Cancel
Save