Bulmaswatch
This commit is contained in:
parent
c02510659c
commit
f9c34f8de1
7 changed files with 12 additions and 3 deletions
|
@ -85,6 +85,8 @@ SHORT_TITLE=Christmas
|
|||
ROOT_PATH=/
|
||||
# Where to trust the X-Forwarded-For header from. Defaults to "loopback". Useful for proxying to docker.
|
||||
TRUST_PROXY=loopback
|
||||
# Any theme from https://jenil.github.io/bulmaswatch
|
||||
BULMASWATCH=default
|
||||
|
||||
## Wishlist Settings
|
||||
# Set to true to not allow users to have their own lists. You may want this for a birthday or wedding.
|
||||
|
|
|
@ -12,5 +12,6 @@ module.exports = {
|
|||
shortTitle: process.env.SHORT_TITLE || 'Christmas',
|
||||
wishlist: require('./wishlist'),
|
||||
base: (process.env.ROOT_PATH || '/').endsWith('/') ? (process.env.ROOT_PATH || '/') : `${process.env.ROOT_PATH}/`,
|
||||
trustProxy: process.env.TRUST_PROXY === 'true' ? true : process.env.TRUST_PROXY || 'loopback'
|
||||
trustProxy: process.env.TRUST_PROXY === 'true' ? true : process.env.TRUST_PROXY || 'loopback',
|
||||
bulmaswatch: (process.env.BULMASWATCH || 'default').toLowerCase()
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"dependencies": {
|
||||
"bcrypt-nodejs": "^0.0.3",
|
||||
"body-parser": "^1.18.3",
|
||||
"bulmaswatch": "^0.8.1",
|
||||
"chalk": "^4.1.0",
|
||||
"child-process-promise": "^2.2.1",
|
||||
"connect-flash": "^0.1.1",
|
||||
|
|
1
static/libraries/bulma.min.css
vendored
1
static/libraries/bulma.min.css
vendored
File diff suppressed because one or more lines are too long
1
static/libraries/bulmaswatch
Symbolic link
1
static/libraries/bulmaswatch
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../node_modules/bulmaswatch
|
|
@ -10,7 +10,7 @@ html(lang='en')
|
|||
title #{config.siteTitle} - #{title}
|
||||
else
|
||||
title #{config.siteTitle}
|
||||
link(rel='stylesheet', href=`${_CC.config.base}libraries/bulma.min.css`)
|
||||
link(rel='stylesheet', href=`${_CC.config.base}libraries/bulmaswatch/${_CC.config.bulmaswatch}/bulmaswatch.min.css`)
|
||||
link(rel='stylesheet', href=`${_CC.config.base}libraries/fontawesome/css/all.css`)
|
||||
link(rel='stylesheet', href=`${_CC.config.base}libraries/animate.min.css`)
|
||||
link(rel='stylesheet', href=`${_CC.config.base}css/main.css`)
|
||||
|
|
|
@ -405,6 +405,11 @@
|
|||
"base64-js" "^1.3.1"
|
||||
"ieee754" "^1.1.13"
|
||||
|
||||
"bulmaswatch@^0.8.1":
|
||||
"integrity" "sha512-7HGm5v9If6gzxbTht4/oVS0dhySp6g/JyTrxmpSXHXgDQXivvxiuVmcJOZo3PFv9GAOn4om7SK36I2V8W81sgw=="
|
||||
"resolved" "https://registry.npmjs.org/bulmaswatch/-/bulmaswatch-0.8.1.tgz"
|
||||
"version" "0.8.1"
|
||||
|
||||
"bytes@3.0.0":
|
||||
"integrity" "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg="
|
||||
"resolved" "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz"
|
||||
|
|
Loading…
Reference in a new issue