mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 17:00:57 +01:00
wait_tree: Include Midnight Blue dark themes
This commit is contained in:
parent
7e01311061
commit
d942472cce
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@ constexpr std::array<std::array<Qt::GlobalColor, 2>, 10> WaitTreeColors{{
|
||||||
|
|
||||||
bool IsDarkTheme() {
|
bool IsDarkTheme() {
|
||||||
const auto& theme = UISettings::values.theme;
|
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
|
} // namespace
|
||||||
|
|
Loading…
Reference in a new issue