Skip to content

Commit

Permalink
Update Windows dark mode control to 0xFF303030 and button face colors…
Browse files Browse the repository at this point in the history
… to 0xFF373737
  • Loading branch information
gammasoft71 committed Jun 23, 2024
1 parent 7359fb0 commit 016db1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ intptr system_colors::button_face() {
#if defined(__WXOSX__)
return __xtd__macos_system_colors_button_face__();
#elif defined(__WXMSW__)
if (is_windows_dark_mode()) return 0xFF353535;
if (is_windows_dark_mode()) return 0xFF373737;
return ::to_argb(0xFFFFFFFF);
#else
return ::to_argb(wxSystemSettings::GetColour(wxSystemColour::wxSYS_COLOUR_BTNFACE));
Expand All @@ -134,7 +134,7 @@ intptr system_colors::button_shadow() {

intptr system_colors::control() {
toolkit::initialize(); // Must be first
if (is_windows_dark_mode()) return 0xFF191919;
if (is_windows_dark_mode()) return 0xFF303030;
#if defined(__WXOSX__)
return __xtd__macos_system_colors_control__();
#else
Expand Down
4 changes: 2 additions & 2 deletions themes/windows_dark/system-colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ system-colors {
active-caption-text: white;
active-text: #D03E3D;
app-workspace: #191919;
button-face: #353535;
button-face: #373737;
button-highlight: #00A0FA;
button-shadow: #232323;
control: #191919;
control: #303030;
control-dark: #232323;
control-dark-dark: #171717;
control-light: #4A4A4A;
Expand Down

0 comments on commit 016db1d

Please sign in to comment.