diff --git a/oryx-tui/src/section.rs b/oryx-tui/src/section.rs index dc97ca2..47060e9 100644 --- a/oryx-tui/src/section.rs +++ b/oryx-tui/src/section.rs @@ -54,32 +54,32 @@ impl Section { FocusedSection::Inspection => { if is_focused { Span::styled( - " Inspection ", + " Inspection 󰏖 ", Style::default().bg(Color::Green).fg(Color::White).bold(), ) } else { - Span::from(" Inspection ").fg(Color::DarkGray) + Span::from(" Inspection 󰏖 ").fg(Color::DarkGray) } } FocusedSection::Stats => { if is_focused { Span::styled( - " Stats ", + " Stats 󱕍 ", Style::default().bg(Color::Green).fg(Color::White).bold(), ) } else { - Span::from(" Stats ").fg(Color::DarkGray) + Span::from(" Stats 󱕍 ").fg(Color::DarkGray) } } FocusedSection::Alerts => self.alert.title_span(is_focused), FocusedSection::Firewall => { if is_focused { Span::styled( - " Firewall ", + " Firewall 󰞀 ", Style::default().bg(Color::Green).fg(Color::White).bold(), ) } else { - Span::from(" Firewall ").fg(Color::DarkGray) + Span::from(" Firewall 󰞀 ").fg(Color::DarkGray) } } } diff --git a/oryx-tui/src/section/alert.rs b/oryx-tui/src/section/alert.rs index e3c5fef..7263f57 100644 --- a/oryx-tui/src/section/alert.rs +++ b/oryx-tui/src/section/alert.rs @@ -80,24 +80,24 @@ impl Alert { if is_focused { if self.detected { if self.flash_count % 12 == 0 { - Span::from(" Alert 󰐼 ").fg(Color::White).bg(Color::Red) + Span::from(" Alert 󰐼 ").fg(Color::White).bg(Color::Red) } else { - Span::from(" Alert 󰐼 ").bg(Color::Red) + Span::from(" Alert 󰐼 ").bg(Color::Red) } } else { Span::styled( - " Alert ", + " Alert 󰀦 ", Style::default().bg(Color::Green).fg(Color::White).bold(), ) } } else if self.detected { if self.flash_count % 12 == 0 { - Span::from(" Alert 󰐼 ").fg(Color::White).bg(Color::Red) + Span::from(" Alert 󰐼 ").fg(Color::White).bg(Color::Red) } else { - Span::from(" Alert 󰐼 ").fg(Color::Red) + Span::from(" Alert 󰐼 ").fg(Color::Red) } } else { - Span::from(" Alert ").fg(Color::DarkGray) + Span::from(" Alert 󰀦 ").fg(Color::DarkGray) } } } diff --git a/oryx-tui/src/section/firewall.rs b/oryx-tui/src/section/firewall.rs index 490bc8a..867ab92 100644 --- a/oryx-tui/src/section/firewall.rs +++ b/oryx-tui/src/section/firewall.rs @@ -378,10 +378,10 @@ impl Firewall { .highlight_style(Style::default().bg(Color::DarkGray)) .header( Row::new(vec![ - Line::from("Name").centered(), - Line::from("IP").centered(), - Line::from("Port").centered(), - Line::from("Status").centered(), + Line::from("Name").centered().blue(), + Line::from("IP").centered().blue(), + Line::from("Port").centered().blue(), + Line::from("Status").centered().blue(), ]) .style(Style::new().bold()) .bottom_margin(1),