terminal-cv/node_modules/nanocolors/index.browser.cjs
greg 4d1d2f8c52
Some checks failed
continuous-integration/drone Build is failing
maj
2023-06-11 20:17:11 +02:00

36 lines
625 B
JavaScript

let nope = s => String(s)
function createColors() {
return {
isColorSupported: false,
reset: nope,
bold: nope,
dim: nope,
italic: nope,
underline: nope,
inverse: nope,
hidden: nope,
strikethrough: nope,
black: nope,
red: nope,
green: nope,
yellow: nope,
blue: nope,
magenta: nope,
cyan: nope,
white: nope,
gray: nope,
bgBlack: nope,
bgRed: nope,
bgGreen: nope,
bgYellow: nope,
bgBlue: nope,
bgMagenta: nope,
bgCyan: nope,
bgWhite: nope
}
}
module.exports = createColors()
module.exports.createColors = createColors