tdf#148448 pick a warning color more likely to be readable in dark theme

I can't see anything that is useful which could be used to derive this
so just pick a better hard coded color

Change-Id: Ia351e636ed3a44e9af79147b2d9dfcf347bd8ea9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133068
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2022-04-15 13:50:10 +01:00
parent b9c806b9e3
commit a0f9f8ddaa

View File

@@ -2695,6 +2695,10 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
aMenuBarTextColor = ImplWinColorToSal( color );
aMenuBarRolloverTextColor = ImplWinColorToSal( color );
CloseThemeData(hTheme);
// tdf#148448 pick a warning color more likely to be readable as a
// background in a dark theme
aStyleSettings.SetWarningColor(Color(0xf5, 0x79, 0x00));
}
else
{