Const
Reverse or Inverse style. Swaps the foreground and background colors.
// ANSI Themeinverse("text") // => "\x1b[7mtext\x1b[27m" (includes reset to not inverse)`${inverse}text` // => "\x1b[7mtext" (no reset included)inverse + "text" // => "\x1b[7mtext" (no reset included)inverse.concat("text") // => "\x1b[7mtext" (no reset included) Copy
// ANSI Themeinverse("text") // => "\x1b[7mtext\x1b[27m" (includes reset to not inverse)`${inverse}text` // => "\x1b[7mtext" (no reset included)inverse + "text" // => "\x1b[7mtext" (no reset included)inverse.concat("text") // => "\x1b[7mtext" (no reset included)
Reverse or Inverse style. Swaps the foreground and background colors.