Fix bug where brand color was improperly declared
This commit is contained in:
parent
6777b4fc2e
commit
ffa0a3c516
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
const color = require('color')
|
const color = require('color')
|
||||||
|
|
||||||
module.exports = (brand_color = null) => {
|
module.exports = (brand_color = null) => {
|
||||||
brandColor = brand_color || '#5FB88D'
|
let brandColor = brand_color || '#5FB88D'
|
||||||
return {
|
return {
|
||||||
lightest: color(brandColor).lighten(0.8).hexString()
|
lightest: color(brandColor).lighten(0.8).hexString()
|
||||||
, lighter: color(brandColor).lighten(0.7).hexString()
|
, lighter: color(brandColor).lighten(0.7).hexString()
|
||||||
|
|
Loading…
Reference in a new issue