mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 08:13:33 +01:00
Set default theme in settings (#132)
* Update DEFAULT_THEME variable * Update site.html to use DEFAULT_THEME variable
This commit is contained in:
parent
784a18ad27
commit
be41c6876d
@ -16,7 +16,8 @@ CAN_ADD_MEDIA = "all"
|
|||||||
# valid choices here are 'public', 'private', 'unlisted
|
# valid choices here are 'public', 'private', 'unlisted
|
||||||
PORTAL_WORKFLOW = "public"
|
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
|
# These are passed on every request
|
||||||
|
@ -4,7 +4,7 @@ MediaCMS.site = {
|
|||||||
url: '{{FRONTEND_HOST}}',
|
url: '{{FRONTEND_HOST}}',
|
||||||
api: '{{FRONTEND_HOST}}api/v1',
|
api: '{{FRONTEND_HOST}}api/v1',
|
||||||
theme: {
|
theme: {
|
||||||
mode: 'light', // Valid values: 'light', 'dark'.
|
mode: '{{DEFAULT_THEME}}',
|
||||||
switch: {
|
switch: {
|
||||||
position: 'header', // Valid values: 'header', 'sidebar'.
|
position: 'header', // Valid values: 'header', 'sidebar'.
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user