mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-27 15:02:50 -05:00
welcome: add a first launch welcome page with doctor integration
fixes #760
This commit is contained in:
@@ -336,7 +336,7 @@ Singleton {
|
||||
if (typeof SettingsData !== "undefined" && SettingsData.theme) {
|
||||
Theme.switchTheme(SettingsData.theme);
|
||||
} else {
|
||||
Theme.switchTheme("blue");
|
||||
Theme.switchTheme("purple");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ Singleton {
|
||||
property alias dankBarCenterWidgetsModel: centerWidgetsModel
|
||||
property alias dankBarRightWidgetsModel: rightWidgetsModel
|
||||
|
||||
property string currentThemeName: "blue"
|
||||
property string currentThemeName: "purple"
|
||||
property string currentThemeCategory: "generic"
|
||||
property string customThemeFile: ""
|
||||
property var registryThemeVariants: ({})
|
||||
|
||||
@@ -30,7 +30,7 @@ Singleton {
|
||||
return useAuto ? Math.max(4, spacing) : manualValue;
|
||||
}
|
||||
|
||||
property string currentTheme: "blue"
|
||||
property string currentTheme: "purple"
|
||||
property string currentThemeCategory: "generic"
|
||||
property bool isLightMode: typeof SessionData !== "undefined" ? SessionData.isLightMode : false
|
||||
property bool colorsFileLoadFailed: false
|
||||
@@ -196,7 +196,7 @@ Singleton {
|
||||
|
||||
readonly property var currentThemeData: {
|
||||
if (currentTheme === "custom") {
|
||||
return customThemeData || StockThemes.getThemeByName("blue", isLightMode);
|
||||
return customThemeData || StockThemes.getThemeByName("purple", isLightMode);
|
||||
} else if (currentTheme === dynamic) {
|
||||
return {
|
||||
"primary": getMatugenColor("primary", "#42a5f5"),
|
||||
|
||||
@@ -6,7 +6,7 @@ function percentToUnit(v) {
|
||||
}
|
||||
|
||||
var SPEC = {
|
||||
currentThemeName: { def: "blue", onChange: "applyStoredTheme" },
|
||||
currentThemeName: { def: "purple", onChange: "applyStoredTheme" },
|
||||
currentThemeCategory: { def: "generic" },
|
||||
customThemeFile: { def: "" },
|
||||
registryThemeVariants: { def: {} },
|
||||
|
||||
Reference in New Issue
Block a user