aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.rs
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-11-22 08:30:00 +0100
committerPolesznyák Márk <contact@pml68.dev>2025-11-22 08:30:00 +0100
commitff7e17988d5868c72cfb39d09ccf4efb05d3ceda (patch)
tree0734e0f409028e203532bfaea2c7372e2c646078 /src/dialog.rs
parentchore: add mailmap (diff)
downloadiced_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 '')
-rw-r--r--src/dialog.rs4
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()
}