use std::time::Duration;

use lazy_static::lazy_static;
use tui::style::{Color, Style};

lazy_static! {
    pub static ref TAIL_RATE: Duration = Duration::from_secs(1);
    pub static ref DATE_FORMAT: String = String::from("%Y-%m-%d %H:%M:%S");
    pub static ref MORE_LOG_GROUP_NAME: String = String::from("More...");
    pub static ref MORE_LOG_GROUP_ARN: String = String::from("more");
    pub static ref MORE_LOG_EVENT_ID: String = String::from("999");
    pub static ref DESELECTED_COLOR: Color = Color::White;
    pub static ref SELECTED_COLOR: Color = Color::Yellow;
    pub static ref NORMAL_STYLE: Style = Style::default().fg(*DESELECTED_COLOR);
    pub static ref ACTIVE_STYLE: Style = Style::default().fg(*SELECTED_COLOR);
    pub static ref MAX_LOG_GROUP_SELECTION: usize = 4;
    pub static ref HELP_INSTRUCTION: String = String::from("'?' to help");
    pub static ref LOADER: String = String::from("⣾⣽⣻⢿⡿⣟⣯⣷");
    pub static ref HELP_MESSAGE: String = String::from(
        r#"
<Navigation>
  [TAB]   - Toggle folding side menu
  [Arrow] - Move focus 

<Side Menu>

<Log Event>
    "#
    );
}
