Add terminal colors to style
This commit is contained in:
parent
1ac70e653b
commit
6db0c72f4d
|
@ -6,6 +6,14 @@ pub struct Palette {
|
|||
pub surface: Color,
|
||||
pub overlay: Color,
|
||||
pub text: Color,
|
||||
pub black: Color,
|
||||
pub red: Color,
|
||||
pub green: Color,
|
||||
pub yellow: Color,
|
||||
pub blue: Color,
|
||||
pub magenta: Color,
|
||||
pub cyan: Color,
|
||||
pub white: Color,
|
||||
}
|
||||
|
||||
/// Sword Art Online color palette.
|
||||
|
@ -14,6 +22,14 @@ pub const SAO_PALETTE: Palette = Palette {
|
|||
surface: Color::WHITE,
|
||||
overlay: Color::WHITE,
|
||||
text: Color::BLACK,
|
||||
black: Color::BLACK,
|
||||
red: Color::RED,
|
||||
green: Color::GREEN,
|
||||
yellow: Color::YELLOW,
|
||||
blue: Color::BLUE,
|
||||
magenta: Color::MAGENTA,
|
||||
cyan: Color::CYAN,
|
||||
white: Color::WHITE,
|
||||
};
|
||||
|
||||
/// Rose Pine color palette.
|
||||
|
@ -22,6 +38,14 @@ pub const ROSE_PINE_PALETTE: Palette = Palette {
|
|||
surface: Color(0x1f1d2eff),
|
||||
overlay: Color(0x26233aff),
|
||||
text: Color(0xe0def4ff),
|
||||
black: Color(0x6e6a86ff),
|
||||
red: Color(0xeb6f92ff),
|
||||
green: Color(0x7fb59fff),
|
||||
yellow: Color(0xf6c177ff),
|
||||
blue: Color(0x31748fff),
|
||||
magenta: Color(0xc4a7e7ff),
|
||||
cyan: Color(0x9ccfd8ff),
|
||||
white: Color(0xe0def4ff),
|
||||
};
|
||||
|
||||
/// Common measurements for widget shapes.
|
||||
|
|
Loading…
Reference in New Issue