Adds more themes, adds ability to hide unneeded components

This commit is contained in:
Alicia Sykes
2021-04-16 14:29:19 +01:00
parent 7f3e8dd818
commit c5f630849f
12 changed files with 116 additions and 51 deletions

View File

@@ -20,6 +20,7 @@ export default {
props: {
themes: Object,
confTheme: String,
userThemes: Array,
},
watch: {
selectedTheme(newTheme) { this.updateTheme(newTheme); },
@@ -29,7 +30,7 @@ export default {
selectedTheme: this.getInitialTheme(),
themeHelper: new ThemeHelper(),
loading: true,
builtInThemes: Defaults.builtInThemes,
builtInThemes: Defaults.builtInThemes.concat(this.userThemes),
};
},
computed: {