linear-cmd
Version:
A GitHub CLI-like tool for Linear - manage issues, accounts, and more
20 lines (19 loc) • 757 B
JavaScript
import chalk from 'chalk';
export const colors = {
red: (text) => chalk.red(text),
green: (text) => chalk.green(text),
blue: (text) => chalk.blue(text),
yellow: (text) => chalk.yellow(text),
cyan: (text) => chalk.cyan(text),
gray: (text) => chalk.gray(text),
white: (text) => chalk.white(text),
dim: (text) => chalk.dim(text),
bold: (text) => chalk.bold(text),
italic: (text) => chalk.italic(text),
underline: (text) => chalk.underline(text),
boldBlue: (text) => chalk.bold.blue(text),
boldCyan: (text) => chalk.bold.cyan(text),
boldUnderline: (text) => chalk.bold.underline(text),
hex: (color) => (text) => chalk.hex(color)(text),
hexBold: (color) => (text) => chalk.hex(color).bold(text)
};