From cff70f2c04c54f03e8449c8a1c1f4aa0387d2b02 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Wed, 23 Aug 2023 21:53:40 +0200 Subject: [PATCH] improve bg color map --- nested/src/utils/color.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nested/src/utils/color.rs b/nested/src/utils/color.rs index 322a7af..bb43622 100644 --- a/nested/src/utils/color.rs +++ b/nested/src/utils/color.rs @@ -5,8 +5,11 @@ use { pub fn bg_style_from_depth(depth: usize) -> TerminalStyle { match depth { 0 => TerminalStyle::bg_color((150,80,230)), - 1 => TerminalStyle::bg_color((35,35,35)), - 2 => TerminalStyle::bg_color((20,20,20)), + 1 => TerminalStyle::bg_color((75,75,75)), + 2 => TerminalStyle::bg_color((40,40,40)), + 3 => TerminalStyle::bg_color((30,30,30)), + 4 => TerminalStyle::bg_color((25,25,25)), + 5 => TerminalStyle::bg_color((20,20,20)), _ => TerminalStyle::default(), } }