diff options
author | v1993 <v19930312@gmail.com> | 2022-01-21 20:51:19 +0300 |
---|---|---|
committer | v1993 <v19930312@gmail.com> | 2022-01-21 20:57:00 +0300 |
commit | d63d8bf7f94e28fc03a9cc888ca1dafb57960bb5 (patch) | |
tree | d779b057ef565864a2f19787c4bce5ff7b689080 /src/yuzu/configuration/config.h | |
parent | ef7c50b276611daf21b66cbd9e82e01e8663024f (diff) |
Use Default Colorful theme by default outside of Windows
On OSes with system-wide theming this allows yuzu to follow system style, regardless of its exact coloration, working well with both light and dark system themes. Dark /Colorful, on the other hand, forces dark theme regardless of user preferences set in system settings, making for a poor default.
Use Colorful variation to keep in line with icon style of patron-voted Dark Colorful.
Diffstat (limited to 'src/yuzu/configuration/config.h')
-rw-r--r-- | src/yuzu/configuration/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/yuzu/configuration/config.h b/src/yuzu/configuration/config.h index d673c1cdcb..8f4576def5 100644 --- a/src/yuzu/configuration/config.h +++ b/src/yuzu/configuration/config.h @@ -48,6 +48,14 @@ public: static const std::array<int, Settings::NativeKeyboard::NumKeyboardMods> default_keyboard_mods; static const std::array<UISettings::Shortcut, 21> default_hotkeys; + static constexpr UISettings::Theme default_theme{ +#ifdef _WIN32 + UISettings::Theme::DarkColorful +#else + UISettings::Theme::DefaultColorful +#endif + }; + private: void Initialize(const std::string& config_name); |