use ratatui::style::{Color, Style};
#[derive(Debug, Clone)]
pub struct ScrollbarConfig {
pub width: u16,
pub track_char: char,
pub thumb_char: char,
pub track_style: Style,
pub thumb_style: Style,
pub percentage_style: Style,
pub min_thumb_height: u16,
}
impl Default for ScrollbarConfig {
fn default() -> Self {
Self {
width: 1,
track_char: '░',
thumb_char: '█',
track_style: Style::default().fg(Color::Rgb(50, 55, 65)),
thumb_style: Style::default().fg(Color::Rgb(120, 130, 145)),
percentage_style: Style::default().fg(Color::Rgb(70, 75, 85)),
min_thumb_height: 1,
}
}
}