aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-03-27 10:09:30 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-03-27 10:09:30 +0100
commitfcb40e03d52cf12e587300c998453f127d96d59a (patch)
tree77344faf72c3baf4a2d6b86904d3a0bd2738300f /src/lib.rs
parentfeat: move from sourcehut to my git instance (diff)
downloadiced_material-fcb40e03d52cf12e587300c998453f127d96d59a.tar.gz
chore: necessary updates for iced-rs/iced@6690731
Diffstat (limited to '')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 33134eb..21c04b8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -138,10 +138,10 @@ impl Base for Theme {
}
}
- fn palette(&self) -> Option<iced_widget::theme::Palette> {
+ fn seed(&self) -> Option<iced_widget::theme::palette::Seed> {
let colors = self.colors();
- Some(iced_widget::theme::Palette {
+ Some(iced_widget::theme::palette::Seed {
background: colors.surface.color,
text: colors.surface.text,
primary: colors.primary.color,