🚚 Re-writes all theming functionality. Much better now :)

This commit is contained in:
Alicia Sykes
2022-08-06 18:52:54 +01:00
parent 0523c1933e
commit 18f6e4d268
8 changed files with 60 additions and 248 deletions

View File

@@ -349,7 +349,6 @@ const store = new Vuex.Store({
const configContent = yaml.load(response.data);
// Certain values must be inherited from root config
const theme = configContent?.appConfig?.theme || rootConfig?.appConfig?.theme;
console.log(theme);
configContent.appConfig = rootConfig.appConfig;
configContent.pages = rootConfig.pages;
configContent.appConfig.theme = theme;