54 lines
466 B
D
54 lines
466 B
D
module style.color;
|
|
|
|
enum Color {
|
|
black = 30,
|
|
red,
|
|
green,
|
|
yellow,
|
|
blue,
|
|
magenta,
|
|
cyan,
|
|
white,
|
|
def,
|
|
reset = 0
|
|
}
|
|
|
|
enum Bright {
|
|
black = 90,
|
|
red,
|
|
green,
|
|
yellow,
|
|
blue,
|
|
magenta,
|
|
cyan,
|
|
white,
|
|
def,
|
|
reset = 0
|
|
}
|
|
|
|
enum Bg {
|
|
black = 40,
|
|
red,
|
|
green,
|
|
yellow,
|
|
blue,
|
|
magenta,
|
|
cyan,
|
|
white,
|
|
def,
|
|
reset = 0
|
|
}
|
|
|
|
enum BrightBg {
|
|
black = 100,
|
|
red,
|
|
green,
|
|
yellow,
|
|
blue,
|
|
magenta,
|
|
cyan,
|
|
white,
|
|
def,
|
|
reset = 0
|
|
}
|