colors.js 498 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * Don't modify this file!
  3. * Colors generated by themes!
  4. */
  5. /* eslint-disable */
  6. export const colors = {
  7. 'light': '#ddd',
  8. 'stable': '#b2b2b2',
  9. 'positive': '#387ef5',
  10. 'calm': '#11c1f3',
  11. 'balanced': '#33cd5f',
  12. 'energized': '#ffc900',
  13. 'assertive': '#ef473a',
  14. 'royal': '#886aea',
  15. 'dark': '#444',
  16. }
  17. export const isPresetColor = (color) => {
  18. if (!color) {
  19. return false
  20. }
  21. return colors[color] ? colors[color] : color
  22. }
  23. /* eslint-enable */