summaryrefslogtreecommitdiff
path: root/src/colors.py
blob: 760c3f3631bf051c7eaae84a03761ae63410521b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def esc(code):
    return f'\033[{code}m'

RESET           = esc(0)
BLACK           = esc(30)
RED             = esc(31)
GREEN           = esc(32)
YELLOW          = esc(33)
BLUE            = esc(34)
MAGENTA         = esc(35)
CYAN            = esc(36)
WHITE           = esc(37)
DEFAULT         = esc(39)
LIGHT_BLACK     = esc(90)
LIGHT_RED       = esc(91)
LIGHT_GREEN     = esc(92)
LIGHT_YELLOW    = esc(93)
LIGHT_BLUE      = esc(94)
LIGHT_MAGENTA   = esc(95)
LIGHT_CYAN      = esc(96)
LIGHT_WHITE     = esc(97)