diff --git a/cms/settings.py b/cms/settings.py index 42895eb..559433c 100644 --- a/cms/settings.py +++ b/cms/settings.py @@ -16,7 +16,8 @@ CAN_ADD_MEDIA = "all" # valid choices here are 'public', 'private', 'unlisted PORTAL_WORKFLOW = "public" -DEFAULT_THEME = "black" # this is not taken under consideration currently +# valid values: 'light', 'dark'. +DEFAULT_THEME = "light" # These are passed on every request diff --git a/templates/config/installation/site.html b/templates/config/installation/site.html index be5333b..e181b72 100644 --- a/templates/config/installation/site.html +++ b/templates/config/installation/site.html @@ -4,7 +4,7 @@ MediaCMS.site = { url: '{{FRONTEND_HOST}}', api: '{{FRONTEND_HOST}}api/v1', theme: { - mode: 'light', // Valid values: 'light', 'dark'. + mode: '{{DEFAULT_THEME}}', switch: { position: 'header', // Valid values: 'header', 'sidebar'. },