From 710fb431f789bc20926427178d7efbc416f56bb5 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 1 Jun 2024 12:28:42 +0200 Subject: [PATCH] chore: change default to green Signed-off-by: kjuulh --- crates/hyperlog-tui/src/components/render_graph/summarize.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/hyperlog-tui/src/components/render_graph/summarize.rs b/crates/hyperlog-tui/src/components/render_graph/summarize.rs index ef06d39..d751bf0 100644 --- a/crates/hyperlog-tui/src/components/render_graph/summarize.rs +++ b/crates/hyperlog-tui/src/components/render_graph/summarize.rs @@ -4,7 +4,6 @@ use ratatui::prelude::*; const GREEN: Color = Color::Rgb(127, 255, 0); const ORANGE: Color = Color::Rgb(255, 165, 0); -const PURPLE: Color = Color::Rgb(138, 43, 226); pub trait Summarize { fn heading(&self) -> Vec; @@ -22,7 +21,7 @@ impl Summarize for MovementGraphItem { vec![ name, - Span::from(" ~ ").fg(PURPLE), + Span::from(" ~ ").fg(GREEN), Span::from(format!("(items: {})", items)).fg(Color::DarkGray), ] }