Set default theme in settings (#132)

* Update DEFAULT_THEME variable

* Update site.html to use DEFAULT_THEME variable
This commit is contained in:
Dan1ell
2021-04-20 16:05:31 -03:00
committed by GitHub
parent 784a18ad27
commit be41c6876d
2 changed files with 3 additions and 2 deletions

View File

@@ -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'.
},