mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 05:07:54 -05:00
Merge pull request #4377 from Morph1984/dark-themes
qt-themes: Add Midnight Blue qdarkstyle theme (2.8.1)
This commit is contained in:
@ -38,7 +38,10 @@ constexpr std::array<std::array<Qt::GlobalColor, 2>, 10> WaitTreeColors{{
|
||||
|
||||
bool IsDarkTheme() {
|
||||
const auto& theme = UISettings::values.theme;
|
||||
return theme == QStringLiteral("qdarkstyle") || theme == QStringLiteral("colorful_dark");
|
||||
return theme == QStringLiteral("qdarkstyle") ||
|
||||
theme == QStringLiteral("qdarkstyle_midnight_blue") ||
|
||||
theme == QStringLiteral("colorful_dark") ||
|
||||
theme == QStringLiteral("colorful_midnight_blue");
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
@ -11,6 +11,8 @@ const Themes themes{{
|
||||
{"Light Colorful", "colorful"},
|
||||
{"Dark", "qdarkstyle"},
|
||||
{"Dark Colorful", "colorful_dark"},
|
||||
{"Midnight Blue", "qdarkstyle_midnight_blue"},
|
||||
{"Midnight Blue Colorful", "colorful_midnight_blue"},
|
||||
}};
|
||||
|
||||
Values values = {};
|
||||
|
@ -24,7 +24,7 @@ struct Shortcut {
|
||||
ContextualShortcut shortcut;
|
||||
};
|
||||
|
||||
using Themes = std::array<std::pair<const char*, const char*>, 4>;
|
||||
using Themes = std::array<std::pair<const char*, const char*>, 6>;
|
||||
extern const Themes themes;
|
||||
|
||||
struct GameDir {
|
||||
|
Reference in New Issue
Block a user