-
-
Save signalwerk/60bde0af9cf45e8426b64692cb8858c2 to your computer and use it in GitHub Desktop.
ANSIColors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const ANSIColors = { | |
reset: "\033[0m", | |
hicolor: "\033[1m", | |
underline: "\033[4m", | |
inverse: "\033[7m", | |
// foreground colors | |
black: "\033[30m", | |
red: "\033[31m", | |
green: "\033[32m", | |
yellow: "\033[33m", | |
blue: "\033[34m", | |
magenta: "\033[35m", | |
cyan: "\033[36m", | |
white: "\033[37m", | |
// background colors | |
bg_black: "\033[40m", | |
bg_red: "\033[41m", | |
bg_green: "\033[42m", | |
bg_yellow: "\033[43m", | |
bg_blue: "\033[44m", | |
bg_magenta: "\033[45m", | |
bg_cyan: "\033[46m", | |
bg_white: "\033[47m", | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment