pub use crate::tui::render::palette::{dim, muted, title_style};
use ratatui::style::{Color, Style};
use crate::tui::render::theme::{self, Role};
pub fn text_primary() -> Color {
theme::role(Role::TextPrimary)
}
pub fn text_secondary() -> Color {
theme::role(Role::TextSecondary)
}
pub fn text_dim() -> Color {
theme::role(Role::TextDim)
}
pub fn orange() -> Color {
theme::role(Role::Accent)
}
pub fn teal() -> Color {
theme::role(Role::AccentTeal)
}
pub fn white() -> Color {
theme::role(Role::AccentSoft)
}
pub fn green() -> Color {
theme::role(Role::AnalyticsGreen)
}
pub fn border_idle() -> Color {
theme::role(Role::Gray)
}
pub fn border_inbox_focus() -> Color {
theme::role(Role::AccentTeal)
}
pub fn border_activity_focus() -> Color {
theme::role(Role::Accent)
}
pub fn border_schedule_focus() -> Color {
theme::role(Role::AccentSoft)
}
pub fn border_analytics_focus() -> Color {
theme::role(Role::AnalyticsGreen)
}
pub fn help_bar_style() -> Style {
Style::default().fg(theme::role(Role::Gray))
}