feat: Color Themes - Header + Sidebar + Footer support
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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='/')
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user