vsm 0.1.1

A simple, interactive, command line vim session file manager.
Documentation
//! Global render config for user prompts

use inquire::ui::{Attributes, Color, RenderConfig, StyleSheet, Styled};

/// Builds a custom global style for all prompts.
pub fn get_render_config() -> RenderConfig {
    let mut render_config = RenderConfig::default();
    render_config.prompt_prefix = Styled::new("").with_fg(Color::DarkGreen);
    render_config.highlighted_option_prefix = Styled::new("").with_fg(Color::LightYellow);
    render_config.selected_checkbox = Styled::new("").with_fg(Color::LightGreen);
    render_config.scroll_up_prefix = Styled::new("");
    render_config.scroll_down_prefix = Styled::new("");
    render_config.unselected_checkbox = Styled::new("");

    render_config.error_message = render_config
        .error_message
        .with_prefix(Styled::new("").with_fg(Color::LightRed));

    render_config.answer = StyleSheet::new()
        .with_attr(Attributes::ITALIC)
        .with_fg(Color::LightYellow);

    render_config.help_message = StyleSheet::new().with_fg(Color::DarkYellow);

    render_config
}