From ff7e17988d5868c72cfb39d09ccf4efb05d3ceda Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sat, 22 Nov 2025 08:30:00 +0100 Subject: feat!: combine `Primary`, `Secondary`, `Tertiary` and `Error` Now only a singular `ColorQuartet` struct exists. Also rename some `Surface` and `Inverse` fields for consistency. --- src/dialog.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dialog.rs') diff --git a/src/dialog.rs b/src/dialog.rs index c839948..0c26fa8 100644 --- a/src/dialog.rs +++ b/src/dialog.rs @@ -27,8 +27,8 @@ impl Catalog for Theme { pub fn default_container(theme: &Theme) -> container::Style { let colors = theme.colors().surface; container::Style { - background: Some(Background::Color(colors.surface_container.high)), - text_color: Some(colors.on_surface_variant), + background: Some(Background::Color(colors.container.high)), + text_color: Some(colors.text_variant), border: border::rounded(28), ..container::Style::default() } -- cgit v1.2.3