mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
update descriptions
This commit is contained in:
@@ -19,6 +19,7 @@ Singleton {
|
||||
property bool isLightMode: false
|
||||
|
||||
readonly property string dynamic: "dynamic"
|
||||
readonly property string custom : "custom"
|
||||
|
||||
readonly property string homeDir: Paths.strip(StandardPaths.writableLocation(StandardPaths.HomeLocation))
|
||||
readonly property string configDir: Paths.strip(StandardPaths.writableLocation(StandardPaths.ConfigLocation))
|
||||
@@ -208,11 +209,11 @@ Singleton {
|
||||
function switchTheme(themeName, savePrefs = true) {
|
||||
if (themeName === dynamic) {
|
||||
currentTheme = dynamic
|
||||
currentThemeCategory = "dynamic"
|
||||
currentThemeCategory = dynamic
|
||||
extractColors()
|
||||
} else if (themeName === "custom") {
|
||||
currentTheme = "custom"
|
||||
currentThemeCategory = "custom"
|
||||
} else if (themeName === custom) {
|
||||
currentTheme = custom
|
||||
currentThemeCategory = custom
|
||||
if (typeof SettingsData !== "undefined" && SettingsData.customThemeFile) {
|
||||
loadCustomThemeFromFile(SettingsData.customThemeFile)
|
||||
}
|
||||
|
||||
@@ -161,12 +161,16 @@ Item {
|
||||
|
||||
StyledText {
|
||||
text: {
|
||||
if (Theme.currentTheme === Theme.dynamic)
|
||||
return "Wallpaper-based dynamic colors"
|
||||
else if (Theme.currentThemeCategory === "catppuccin")
|
||||
return "Soothing pastel theme inspired by Catppuccin"
|
||||
else
|
||||
return "Material Design inspired color themes"
|
||||
if (Theme.currentTheme === Theme.dynamic) {
|
||||
return "Material colors generated from wallpaper"
|
||||
}
|
||||
if (Theme.currentThemeCategory === "catppuccin") {
|
||||
return "Soothing pastel theme based on Catppuccin"
|
||||
}
|
||||
if (Theme.currentTheme === Theme.custom) {
|
||||
return "Custom theme loaded from JSON file"
|
||||
}
|
||||
return "Material Design inspired color themes"
|
||||
}
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Theme.surfaceVariantText
|
||||
|
||||
Reference in New Issue
Block a user