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:
@@ -2695,6 +2695,10 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
|
|||||||
aMenuBarTextColor = ImplWinColorToSal( color );
|
aMenuBarTextColor = ImplWinColorToSal( color );
|
||||||
aMenuBarRolloverTextColor = ImplWinColorToSal( color );
|
aMenuBarRolloverTextColor = ImplWinColorToSal( color );
|
||||||
CloseThemeData(hTheme);
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user