From b4cdf28497071ba39260243e1c1974c2cd2c6bec Mon Sep 17 00:00:00 2001 From: Ihor Manzii Date: Thu, 16 Jan 2025 12:10:55 +0100 Subject: [PATCH] Added Fallout (videogame) PipBoy HUD classic colors; --- src/config.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index a045f83..9833332 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2,8 +2,16 @@ use ratatui::style::Color; use serde::{Deserialize, Serialize}; use serde_inline_default::serde_inline_default; -const COLORS_OPTIONS: [Color; 7] = - [Color::Green, Color::Yellow, Color::Red, Color::Blue, Color::Magenta, Color::Cyan, Color::Reset]; +const PIPBOY_GREEN: Color = Color::Rgb(26, 255, 128); +const PIPBOY_AMBER: Color = Color::Rgb(255, 182, 66); +const PIPBOY_BLUE: Color = Color::Rgb(46, 207, 255); +const PIPBOY_WHITE : Color = Color::Rgb(192, 255, 255); + +const COLORS_OPTIONS: [Color; 11] = + [Color::Green, Color::Yellow, Color::Red, + Color::Blue, Color::Magenta, Color::Cyan, + PIPBOY_GREEN, PIPBOY_AMBER, PIPBOY_BLUE, PIPBOY_WHITE, + Color::Reset]; #[derive(Debug, Serialize, Deserialize, PartialEq)] pub enum ViewType {