use bevy::prelude::Color;
use crate::presentation::{ResolvedTheme, SurfaceRole};
#[must_use]
pub fn scene_text_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::EditorText).color()
}
#[must_use]
pub fn editor_background_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::EditorBackground).color()
}
#[must_use]
pub fn cursor_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::Cursor).color()
}
#[must_use]
pub fn selection_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::Selection).color()
}
#[must_use]
pub fn search_match_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::SearchMatch).color()
}
#[must_use]
pub fn cursor_text_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::CursorText).color()
}
#[must_use]
pub fn status_bar_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::StatusBar).color()
}
#[must_use]
pub fn status_text_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::StatusText).color()
}
#[must_use]
pub fn status_error_text_color(theme: &ResolvedTheme) -> Color {
theme.surface(SurfaceRole::StatusErrorText).color()
}