feat: Color Themes - Header + Sidebar + Footer support

This commit is contained in:
NGPixel
2017-06-26 17:47:01 -04:00
committed by Nicolas Giard
parent c863059a53
commit 247d598edb
8 changed files with 107 additions and 10 deletions

View File

@@ -57,6 +57,13 @@ defaults:
papertrail: false
rollbar: false
sentry: false
theme:
primary: indigo
alt: blue-grey
footer: blue-grey
code:
dark: true
colorize: true
langs:
-
id: en

View File

@@ -1,4 +1,4 @@
footer.footer
footer.footer(class=['is-' + appconfig.theme.footer])
span
= t('footer.poweredby') + ' '
a(href='https://github.com/Requarks/wiki') Wiki.js

View File

@@ -1,6 +1,6 @@
#header-container
nav.nav#header
nav.nav#header(class=['is-' + appconfig.theme.primary])
.nav-left
block rootNavLeft
a.nav-item(href='/')

View File

@@ -29,7 +29,7 @@ html
block head
body
#root.has-stickynav
#root.has-stickynav(class=['is-primary-' + appconfig.theme.primary, 'is-alternate-' + appconfig.theme.alt])
include ./common/header.pug
alert
main