feat: Color Themes page UI + Hero theme support

This commit is contained in:
NGPixel
2017-06-26 21:53:13 -04:00
committed by Nicolas Giard
parent 247d598edb
commit 6b37797a00
3 changed files with 45 additions and 13 deletions

View File

@@ -8,17 +8,20 @@ block adminContent
.form-sections
section
label.label= t('admin:theme.primarycolor')
color-picker(current-color='indigo')
color-picker(current-color=appconfig.theme.primary)
span.desc Used for top navigation bar, headers, links, etc.
section
label.label= t('admin:theme.altcolor')
color-picker(current-color='blue-grey')
color-picker(current-color=appconfig.theme.alt)
span.desc Used for the sidebar (in a darker tone)
section
label.label= t('admin:theme.footercolor')
color-picker(current-color='blue-grey')
color-picker(current-color=appconfig.theme.footer)
span.desc Used for the foter (in a lighter tone)
section
label.label= t('admin:theme.codeblock')
toggle(current-value='dark', desc='Use Dark Theme')
toggle(current-value='dark', desc='Colorize code syntax')
toggle(:current-value=appconfig.theme.code.dark.toString(), desc='Use Dark Theme')
toggle(:current-value=appconfig.theme.code.colorize.toString(), desc='Colorize code syntax')
section
button.button.is-green(@click='saveUser')
i.nc-icon-outline.ui-1_check