@boostercloud/cli
Version:
CLI of the Booster Framework, the next level of abstraction for cloud-native applications
38 lines (37 loc) • 916 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const chalk_1 = require("chalk");
/**
* Class to output text with proper Booster brand colors
*/
class Brand {
/**
* Apply a dangerous feeling (red) to some text
* @param text
*/
static dangerize(text) {
return chalk_1.default.hex('#FA6E59')(text);
}
/**
* Apply a mellancholic blue color to some text
* @param text
*/
static mellancholize(text) {
return chalk_1.default.hex('#4797D8')(text);
}
/**
* Apply a nice canary yellow tone to some text
* @param text
*/
static canarize(text) {
return chalk_1.default.hex('#FFD243')(text);
}
/**
* Apply an energic orange tone to some text
* @param text
*/
static energize(text) {
return chalk_1.default.hex('#FF8D40')(text);
}
}
exports.default = Brand;