summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-08-13 14:59:35 +0300
committerGitHub <noreply@github.com>2020-08-13 14:59:35 +0300
commit0a1683e84dfa1d89e65e9b43ed5d586ece47c8dd (patch)
tree2ce83fa033a32f7ed74fc666d300f8d7ec36e748 /alacritty_terminal/src
parentf2211080867f6053b11194819e6e1a9c48cc21ec (diff)
downloadalacritty-0a1683e84dfa1d89e65e9b43ed5d586ece47c8dd.tar.gz
alacritty-0a1683e84dfa1d89e65e9b43ed5d586ece47c8dd.zip
Use yellow/red from the config for message bar colors
This commit completes the effort to use config colors for message bar content by picking red/yellow from user's colors.normal.{red,yellow} for error/warning messages instead of fixed colors. It also removes alacritty_terminal::term::color::RED and alacritty_terminal::term::color::YELLOW from the alacritty_terminal API, bumping its version to 0.11.0-dev. Fixes #4116.
Diffstat (limited to 'alacritty_terminal/src')
-rw-r--r--alacritty_terminal/src/term/color.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/alacritty_terminal/src/term/color.rs b/alacritty_terminal/src/term/color.rs
index fc35952b..104fcfe5 100644
--- a/alacritty_terminal/src/term/color.rs
+++ b/alacritty_terminal/src/term/color.rs
@@ -15,9 +15,6 @@ pub const COUNT: usize = 269;
/// Factor for automatic computation of dim colors used by terminal.
pub const DIM_FACTOR: f32 = 0.66;
-pub const RED: Rgb = Rgb { r: 0xff, g: 0x0, b: 0x0 };
-pub const YELLOW: Rgb = Rgb { r: 0xff, g: 0xff, b: 0x0 };
-
#[derive(Debug, Eq, PartialEq, Copy, Clone, Default, Serialize)]
pub struct Rgb {
pub r: u8,