UNPKG

radish

Version:

Radish is a React-based static site generator that outputs plain HTML and CSS.

15 lines (14 loc) 397 B
function fn(seq) { return (arg) => { if (typeof arg === "function") return ((arg2) => `\u001b[${seq}m${arg(arg2)}`); return `\u001b[${seq}m${arg}\u001b[0m`; }; } export const underline = fn(4); export const red = fn(31); export const green = fn(32); export const yellow = fn(33); export const cyan = fn(96); export const bold = fn(1); export const dim = fn(2);