diff --git a/src/client/colors.rs b/src/client/colors.rs index 78f8255..7730b6c 100644 --- a/src/client/colors.rs +++ b/src/client/colors.rs @@ -6,6 +6,7 @@ pub struct Theme { pub bg: Color, pub fg: Color, pub accent: Color, + pub secondary: Color, // Add this field pub highlight: Color, pub warning: Color, pub border: Color, @@ -18,6 +19,7 @@ impl Theme { bg: Color::Rgb(245, 245, 245), // Light gray fg: Color::Rgb(64, 64, 64), // Dark gray accent: Color::Rgb(173, 216, 230), // Pastel blue + secondary: Color::Rgb(255, 165, 0), // Orange for secondary highlight: Color::Rgb(152, 251, 152), // Pastel green warning: Color::Rgb(255, 182, 193), // Pastel pink border: Color::Rgb(220, 220, 220), // Light gray border @@ -30,6 +32,7 @@ impl Theme { bg: Color::Rgb(30, 30, 30), // Dark background fg: Color::Rgb(255, 255, 255), // White text accent: Color::Rgb(0, 191, 255), // Bright blue + secondary: Color::Rgb(255, 215, 0), // Gold for secondary highlight: Color::Rgb(50, 205, 50), // Bright green warning: Color::Rgb(255, 99, 71), // Bright red border: Color::Rgb(100, 100, 100), // Medium gray border @@ -42,6 +45,7 @@ impl Theme { bg: Color::Rgb(255, 255, 255), // White background fg: Color::Rgb(0, 0, 0), // Black text accent: Color::Rgb(0, 0, 255), // Blue + secondary: Color::Rgb(255, 140, 0), // Dark orange for secondary highlight: Color::Rgb(0, 128, 0), // Green warning: Color::Rgb(255, 0, 0), // Red border: Color::Rgb(0, 0, 0), // Black border diff --git a/src/client/components/command_line.rs b/src/client/components/command_line.rs index 297a3a2..90aac95 100644 --- a/src/client/components/command_line.rs +++ b/src/client/components/command_line.rs @@ -11,7 +11,7 @@ pub fn render_command_line(f: &mut Frame, area: Rect, input: &str, active: bool, let prompt = if active { ":" } else { - "Press ':' for commands (w = save, q = quit)" + "" }; let style = if active { Style::default().fg(theme.accent) diff --git a/src/client/components/status_line.rs b/src/client/components/status_line.rs index 89df4f3..884ff87 100644 --- a/src/client/components/status_line.rs +++ b/src/client/components/status_line.rs @@ -17,7 +17,7 @@ pub fn render_status_line(f: &mut Frame, area: Rect, current_dir: &str, theme: & Span::styled(current_dir, Style::default().fg(theme.fg)), Span::styled( program_info, - Style::default().fg(theme.accent).add_modifier(ratatui::style::Modifier::BOLD), + Style::default().fg(theme.secondary).add_modifier(ratatui::style::Modifier::BOLD), // Use `secondary` color ), ]);