use ratatui::style::Color;
use crate::services::theme::app_theme::AppTheme;
use crate::services::theme::diff_colors::DiffColors;
use crate::services::theme::markdown_colors::MarkdownColors;
use crate::services::theme::syntax_colors::SyntaxColors;
impl AppTheme {
#[allow(clippy::too_many_arguments)]
pub fn new(
primary: Color,
secondary: Color,
accent: Color,
error: Color,
warning: Color,
success: Color,
info: Color,
text: Color,
text_muted: Color,
selected_text: Color,
background: Color,
background_panel: Color,
background_element: Color,
background_menu: Color,
border: Color,
border_active: Color,
border_subtle: Color,
diff: DiffColors,
markdown: MarkdownColors,
syntax: SyntaxColors,
) -> Self {
Self {
primary,
secondary,
accent,
error,
warning,
success,
info,
text,
text_muted,
selected_text,
background,
background_panel,
background_element,
background_menu,
border,
border_active,
border_subtle,
diff,
markdown,
syntax,
}
}
}