|
|
|
@ -194,16 +194,18 @@ impl Color {
|
|
|
|
|
Color::Red => termion_fg!(Red),
|
|
|
|
|
Color::Green => termion_fg!(Green),
|
|
|
|
|
Color::Yellow => termion_fg!(Yellow),
|
|
|
|
|
Color::Blue => termion_fg!(Blue),
|
|
|
|
|
Color::Magenta => termion_fg!(Magenta),
|
|
|
|
|
Color::Cyan => termion_fg!(Cyan),
|
|
|
|
|
Color::Gray => termion_fg_rgb!(146, 131, 116),
|
|
|
|
|
Color::DarkGray => termion_fg_rgb!(80, 73, 69),
|
|
|
|
|
Color::Gray => termion_fg!(White),
|
|
|
|
|
Color::DarkGray => termion_fg!(LightBlack),
|
|
|
|
|
Color::LightRed => termion_fg!(LightRed),
|
|
|
|
|
Color::LightGreen => termion_fg!(LightGreen),
|
|
|
|
|
Color::LightBlue => termion_fg!(LightBlue),
|
|
|
|
|
Color::LightYellow => termion_fg!(LightYellow),
|
|
|
|
|
Color::LightMagenta => termion_fg!(LightMagenta),
|
|
|
|
|
Color::LightCyan => termion_fg!(LightCyan),
|
|
|
|
|
Color::White => termion_fg!(White),
|
|
|
|
|
Color::White => termion_fg!(LightWhite),
|
|
|
|
|
Color::Rgb(r, g, b) => termion_fg_rgb!(r, g, b),
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -214,16 +216,18 @@ impl Color {
|
|
|
|
|
Color::Red => termion_bg!(Red),
|
|
|
|
|
Color::Green => termion_bg!(Green),
|
|
|
|
|
Color::Yellow => termion_bg!(Yellow),
|
|
|
|
|
Color::Blue => termion_bg!(Blue),
|
|
|
|
|
Color::Magenta => termion_bg!(Magenta),
|
|
|
|
|
Color::Cyan => termion_bg!(Cyan),
|
|
|
|
|
Color::Gray => termion_bg_rgb!(146, 131, 116),
|
|
|
|
|
Color::DarkGray => termion_bg_rgb!(80, 73, 69),
|
|
|
|
|
Color::Gray => termion_bg!(White),
|
|
|
|
|
Color::DarkGray => termion_bg!(LightBlack),
|
|
|
|
|
Color::LightRed => termion_bg!(LightRed),
|
|
|
|
|
Color::LightGreen => termion_bg!(LightGreen),
|
|
|
|
|
Color::LightBlue => termion_bg!(LightBlue),
|
|
|
|
|
Color::LightYellow => termion_bg!(LightYellow),
|
|
|
|
|
Color::LightMagenta => termion_bg!(LightMagenta),
|
|
|
|
|
Color::LightCyan => termion_bg!(LightCyan),
|
|
|
|
|
Color::White => termion_bg!(White),
|
|
|
|
|
Color::White => termion_bg!(LightWhite),
|
|
|
|
|
Color::Rgb(r, g, b) => termion_bg_rgb!(r, g, b),
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|