feat: manage system appearance defaults
This commit is contained in:
@@ -39,7 +39,9 @@ export const SYSTEM_SETTINGS_FALLBACK: SystemSettingsItem = {
|
||||
],
|
||||
enabled_language_codes: ["de", "en"],
|
||||
settings: {},
|
||||
navigation: null
|
||||
navigation: null,
|
||||
appearance_palette: "default",
|
||||
appearance_palette_locked: false
|
||||
};
|
||||
|
||||
export function applySystemSettingsSections(
|
||||
@@ -56,6 +58,7 @@ export function applySystemSettingsSections(
|
||||
: {}),
|
||||
...(sections.maintenance_mode ? { maintenance_mode: sections.maintenance_mode } : {}),
|
||||
...(sections.navigation !== undefined ? { navigation: sections.navigation } : {}),
|
||||
...(sections.appearance ?? {}),
|
||||
...(sections.settings ? { settings: sections.settings } : {})
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user