mirror of
https://github.com/zrwusa/data-structure-typed.git
synced 2024-11-27 06:24:05 +00:00
32 lines
694 B
TypeScript
32 lines
694 B
TypeScript
export const ConsoleColor = {
|
|
END: '\x1b[0m',
|
|
BOLD: '\x1b[1m',
|
|
DIM: '\x1b[2m',
|
|
ITALIC: '\x1b[3m',
|
|
UNDERLINE: '\x1b[4m',
|
|
INVERSE: '\x1b[7m',
|
|
STRIKETHROUGH: '\x1b[9m',
|
|
NO_BOLD: '\x1b[22m',
|
|
NO_ITALIC: '\x1b[23m',
|
|
NO_UNDERLINE: '\x1b[24m',
|
|
NO_INVERSE: '\x1b[27m',
|
|
NO_STRIKETHROUGH: '\x1b[29m',
|
|
BLACK: '\x1b[30m',
|
|
RED: '\x1b[31m',
|
|
GREEN: '\x1b[32m',
|
|
YELLOW: '\x1b[33m',
|
|
BLUE: '\x1b[34m',
|
|
MAGENTA: '\x1b[35m',
|
|
GRAY: '\x1b[90m',
|
|
CYAN: '\x1b[36m',
|
|
WHITE: '\x1b[37m',
|
|
BG_BLACK: '\x1b[40m',
|
|
BG_RED: '\x1b[41m',
|
|
BG_GREEN: '\x1b[42m',
|
|
BG_YELLOW: '\x1b[43m',
|
|
BG_BLUE: '\x1b[44m',
|
|
BG_MAGENTA: '\x1b[45m',
|
|
BG_CYAN: '\x1b[46m',
|
|
BG_WHITE: '\x1b[47m'
|
|
};
|