From d63d8bf7f94e28fc03a9cc888ca1dafb57960bb5 Mon Sep 17 00:00:00 2001 From: v1993 Date: Fri, 21 Jan 2022 20:51:19 +0300 Subject: 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. --- src/yuzu/configuration/config.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/yuzu/configuration/config.h') diff --git a/src/yuzu/configuration/config.h b/src/yuzu/configuration/config.h index d673c1cdc..8f4576def 100644 --- a/src/yuzu/configuration/config.h +++ b/src/yuzu/configuration/config.h @@ -48,6 +48,14 @@ public: static const std::array default_keyboard_mods; static const std::array 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); -- cgit v1.2.3