chore: theme color updates

This commit is contained in:
Ashley Wulber 2025-07-21 10:49:47 -04:00 committed by Michael Murphy
parent b8eaad2a7e
commit 8c4cb2e54f
8 changed files with 84 additions and 56 deletions

View file

@ -221,8 +221,8 @@ fn container_style(theme: &crate::Theme) -> iced_widget::container::Style {
let cosmic_theme = &theme.cosmic();
let accent = &cosmic_theme.accent;
let corners = &cosmic_theme.corner_radii;
let current_container = theme.current_container();
let border = if theme.theme_type.is_high_contrast() {
let current_container = theme.current_container();
Border {
radius: corners.radius_s.into(),
width: 1.,
@ -237,8 +237,8 @@ fn container_style(theme: &crate::Theme) -> iced_widget::container::Style {
};
iced_widget::container::Style {
icon_color: Some(accent.base.into()),
text_color: Some(cosmic_theme.palette.neutral_10.into()),
icon_color: Some(current_container.on.into()),
text_color: Some(current_container.on.into()),
background: None,
border,
shadow: Shadow::default(),