use gpui::{App, Hsla};
use theme::ActiveTheme;
pub fn background(cx: &App) -> Hsla {
cx.theme().colors().background
}
pub fn surface(cx: &App) -> Hsla {
cx.theme().colors().surface_background
}
pub fn elevated_surface(cx: &App) -> Hsla {
cx.theme().colors().elevated_surface_background
}
pub fn border(cx: &App) -> Hsla {
cx.theme().colors().border
}
pub fn border_muted(cx: &App) -> Hsla {
cx.theme().colors().border_variant
}
pub fn border_focused(cx: &App) -> Hsla {
cx.theme().colors().border_focused
}
pub fn text(cx: &App) -> Hsla {
cx.theme().colors().text
}
pub fn text_muted(cx: &App) -> Hsla {
cx.theme().colors().text_muted
}
pub fn text_placeholder(cx: &App) -> Hsla {
cx.theme().colors().text_placeholder
}
pub fn hover_bg(cx: &App) -> Hsla {
cx.theme().colors().element_hover
}
pub fn active_bg(cx: &App) -> Hsla {
cx.theme().colors().element_active
}
pub fn icon(cx: &App) -> Hsla {
cx.theme().colors().icon
}
pub fn icon_muted(cx: &App) -> Hsla {
cx.theme().colors().icon_muted
}