mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 20:59:59 +00:00
17 lines
294 B
JavaScript
17 lines
294 B
JavaScript
function t(color, tt) {
|
|
return color + tt + "\x1b[0m"
|
|
}
|
|
|
|
export function Bright(tt) {
|
|
return t("\x1b[1m", tt)
|
|
}
|
|
export function Red(tt) {
|
|
return t("\x1b[31m", tt)
|
|
}
|
|
export function Green(tt) {
|
|
return t("\x1b[32m", tt)
|
|
}
|
|
export function Cyan(tt) {
|
|
return t("\x1b[36m", tt)
|
|
}
|