Const
Set the background color to green
// ANSI ThemebgGreen("text") // => "\x1b[42mtext\x1b[49m" (includes reset to default background)`${bgGreen}text` // => "\x1b[42mtext" (no reset included)bgGreen + "text" // => "\x1b[42mtext" (no reset included)bgGreen.concat("text") // => "\x1b[42mtext" (no reset included) Copy
// ANSI ThemebgGreen("text") // => "\x1b[42mtext\x1b[49m" (includes reset to default background)`${bgGreen}text` // => "\x1b[42mtext" (no reset included)bgGreen + "text" // => "\x1b[42mtext" (no reset included)bgGreen.concat("text") // => "\x1b[42mtext" (no reset included)
Set the background color to green