closeheat
Version:
Static Website Hosting with CMS without touching your code.
30 lines (23 loc) • 598 B
text/coffeescript
Couleurs = require('couleurs')()
chalk = require 'chalk'
module.exports =
class Color
ORANGE = '#FFBB5D'
VIOLET = '#3590F3'
RED = '#F8006C'
RED_YELLOW = '#FF6664'
return msg unless global.COLORS
Couleurs.fg(msg, ORANGE)
return msg unless global.COLORS
Couleurs.fg(msg, RED)
return msg unless global.COLORS
Couleurs.fg(msg, RED_YELLOW)
return msg unless global.COLORS
Couleurs.fg(msg, VIOLET)
return msg unless global.COLORS
chalk.stripColor(msg)