53 lines
794 B
Python
53 lines
794 B
Python
from __future__ import annotations
|
|
|
|
from typing import Literal
|
|
|
|
Attribute = Literal[
|
|
"bold",
|
|
"dark",
|
|
"underline",
|
|
"blink",
|
|
"reverse",
|
|
"concealed",
|
|
]
|
|
|
|
Highlight = Literal[
|
|
"on_black",
|
|
"on_grey",
|
|
"on_red",
|
|
"on_green",
|
|
"on_yellow",
|
|
"on_blue",
|
|
"on_magenta",
|
|
"on_cyan",
|
|
"on_light_grey",
|
|
"on_dark_grey",
|
|
"on_light_red",
|
|
"on_light_green",
|
|
"on_light_yellow",
|
|
"on_light_blue",
|
|
"on_light_magenta",
|
|
"on_light_cyan",
|
|
"on_white",
|
|
]
|
|
|
|
Color = Literal[
|
|
"black",
|
|
"grey",
|
|
"red",
|
|
"green",
|
|
"yellow",
|
|
"blue",
|
|
"magenta",
|
|
"cyan",
|
|
"light_grey",
|
|
"dark_grey",
|
|
"light_red",
|
|
"light_green",
|
|
"light_yellow",
|
|
"light_blue",
|
|
"light_magenta",
|
|
"light_cyan",
|
|
"white",
|
|
]
|