diff options
author | Aram Drevekenin <aram@poor.dev> | 2021-11-25 16:21:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 16:21:59 +0100 |
commit | 6c6a4393f403359838ea9b32b09520de4f50c019 (patch) | |
tree | d1b553cab1a22c271be99bbc35a5e608bc96676d /zellij-utils/src | |
parent | 9fb2c7ca168679905d79dcdaf686d40f4a6dc958 (diff) |
This adds a UI for multiple users in panes (behind a feature flag) (#897)
* feat(ui): multiple users in panes
* style(fmt): make rustfmt happy
* style(fmt): make clippy happy
Diffstat (limited to 'zellij-utils/src')
-rw-r--r-- | zellij-utils/src/shared.rs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/zellij-utils/src/shared.rs b/zellij-utils/src/shared.rs index 37dfc3be2..008f1ff6b 100644 --- a/zellij-utils/src/shared.rs +++ b/zellij-utils/src/shared.rs @@ -49,6 +49,10 @@ pub mod colors { pub const RED: u8 = 88; pub const ORANGE: u8 = 166; pub const BLACK: u8 = 16; + pub const MAGENTA: u8 = 201; + pub const CYAN: u8 = 51; + pub const YELLOW: u8 = 226; + pub const BLUE: u8 = 45; } pub fn _hex_to_rgb(hex: &str) -> (u8, u8, u8) { @@ -66,12 +70,13 @@ pub fn default_palette() -> Palette { black: PaletteColor::EightBit(colors::BLACK), red: PaletteColor::EightBit(colors::RED), green: PaletteColor::EightBit(colors::GREEN), - yellow: PaletteColor::EightBit(colors::GRAY), - blue: PaletteColor::EightBit(colors::GRAY), - magenta: PaletteColor::EightBit(colors::GRAY), - cyan: PaletteColor::EightBit(colors::GRAY), + yellow: PaletteColor::EightBit(colors::YELLOW), + blue: PaletteColor::EightBit(colors::BLUE), + magenta: PaletteColor::EightBit(colors::MAGENTA), + cyan: PaletteColor::EightBit(colors::CYAN), white: PaletteColor::EightBit(colors::WHITE), orange: PaletteColor::EightBit(colors::ORANGE), + gray: PaletteColor::EightBit(colors::GRAY), } } |