mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-02-03 05:00:16 +00:00
UI: use SelectLightDark
This commit is contained in:
parent
04b48380b1
commit
c4e4d63381
@ -72,7 +72,7 @@ static wxColour theme_patchedData;
|
||||
static void InitSyntaxColors()
|
||||
{
|
||||
theme_textForeground = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
|
||||
theme_textForegroundMuted = wxSystemSettings::GetAppearance().IsDark() ? wxColour(140,142,145) : wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT);
|
||||
theme_textForegroundMuted = wxSystemSettings::SelectLightDark(wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT), wxColour(140, 142, 145));
|
||||
theme_background = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW);
|
||||
|
||||
// line background highlights
|
||||
|
||||
Loading…
Reference in New Issue
Block a user