diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-11-22 08:30:00 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-11-22 08:30:00 +0100 |
| commit | ff7e17988d5868c72cfb39d09ccf4efb05d3ceda (patch) | |
| tree | 0734e0f409028e203532bfaea2c7372e2c646078 /src/dialog.rs | |
| parent | chore: add mailmap (diff) | |
| download | iced_material-ff7e17988d5868c72cfb39d09ccf4efb05d3ceda.tar.gz | |
feat!: combine `Primary`, `Secondary`, `Tertiary` and `Error`
Now only a singular `ColorQuartet` struct exists.
Also rename some `Surface` and `Inverse` fields for consistency.
Diffstat (limited to 'src/dialog.rs')
| -rw-r--r-- | src/dialog.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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() } |
