diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/debugger/wait_tree.cpp | 5 | ||||
| -rw-r--r-- | src/yuzu/uisettings.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu/uisettings.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp index f391a41a9..3439cb333 100644 --- a/src/yuzu/debugger/wait_tree.cpp +++ b/src/yuzu/debugger/wait_tree.cpp | |||
| @@ -38,7 +38,10 @@ constexpr std::array<std::array<Qt::GlobalColor, 2>, 10> WaitTreeColors{{ | |||
| 38 | 38 | ||
| 39 | bool IsDarkTheme() { | 39 | bool IsDarkTheme() { |
| 40 | const auto& theme = UISettings::values.theme; | 40 | const auto& theme = UISettings::values.theme; |
| 41 | return theme == QStringLiteral("qdarkstyle") || theme == QStringLiteral("colorful_dark"); | 41 | return theme == QStringLiteral("qdarkstyle") || |
| 42 | theme == QStringLiteral("qdarkstyle_midnight_blue") || | ||
| 43 | theme == QStringLiteral("colorful_dark") || | ||
| 44 | theme == QStringLiteral("colorful_midnight_blue"); | ||
| 42 | } | 45 | } |
| 43 | 46 | ||
| 44 | } // namespace | 47 | } // namespace |
diff --git a/src/yuzu/uisettings.cpp b/src/yuzu/uisettings.cpp index 738c4b2fc..a51175f36 100644 --- a/src/yuzu/uisettings.cpp +++ b/src/yuzu/uisettings.cpp | |||
| @@ -11,6 +11,8 @@ const Themes themes{{ | |||
| 11 | {"Light Colorful", "colorful"}, | 11 | {"Light Colorful", "colorful"}, |
| 12 | {"Dark", "qdarkstyle"}, | 12 | {"Dark", "qdarkstyle"}, |
| 13 | {"Dark Colorful", "colorful_dark"}, | 13 | {"Dark Colorful", "colorful_dark"}, |
| 14 | {"Midnight Blue", "qdarkstyle_midnight_blue"}, | ||
| 15 | {"Midnight Blue Colorful", "colorful_midnight_blue"}, | ||
| 14 | }}; | 16 | }}; |
| 15 | 17 | ||
| 16 | Values values = {}; | 18 | Values values = {}; |
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h index 6cc65736d..ac7b9aef6 100644 --- a/src/yuzu/uisettings.h +++ b/src/yuzu/uisettings.h | |||
| @@ -24,7 +24,7 @@ struct Shortcut { | |||
| 24 | ContextualShortcut shortcut; | 24 | ContextualShortcut shortcut; |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | using Themes = std::array<std::pair<const char*, const char*>, 4>; | 27 | using Themes = std::array<std::pair<const char*, const char*>, 6>; |
| 28 | extern const Themes themes; | 28 | extern const Themes themes; |
| 29 | 29 | ||
| 30 | struct GameDir { | 30 | struct GameDir { |