early-access version 2677

This commit is contained in:
pineappleEA
2022-04-14 08:12:41 +02:00
parent 019a2dffae
commit 876f1f42e0
4 changed files with 19 additions and 1 deletions
+8
View File
@@ -15,6 +15,14 @@ const Themes themes{{
{"Midnight Blue Colorful", "colorful_midnight_blue"},
}};
bool IsDarkTheme() {
const auto& theme = UISettings::values.theme;
return theme == QStringLiteral("qdarkstyle") ||
theme == QStringLiteral("qdarkstyle_midnight_blue") ||
theme == QStringLiteral("colorful_dark") ||
theme == QStringLiteral("colorful_midnight_blue");
}
Values values = {};
} // namespace UISettings