You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
498 B
28 lines
498 B
3 years ago
|
/**
|
||
|
* Don't modify this file!
|
||
|
* Colors generated by themes!
|
||
|
*/
|
||
|
|
||
|
/* eslint-disable */
|
||
|
|
||
|
export const colors = {
|
||
|
'light': '#ddd',
|
||
|
'stable': '#b2b2b2',
|
||
|
'positive': '#EBB672',
|
||
|
'calm': '#11c1f3',
|
||
|
'balanced': '#33cd5f',
|
||
|
'energized': '#ffc900',
|
||
|
'assertive': '#ef473a',
|
||
|
'royal': '#886aea',
|
||
|
'dark': '#444',
|
||
|
}
|
||
|
|
||
|
export const isPresetColor = (color) => {
|
||
|
if (!color) {
|
||
|
return false
|
||
|
}
|
||
|
return colors[color] ? colors[color] : color
|
||
|
}
|
||
|
|
||
|
/* eslint-enable */
|