summaryrefslogtreecommitdiff
path: root/material_theme/src/lib.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-10 06:32:06 +0200
committerpml68 <contact@pml68.dev>2025-04-15 23:51:47 +0200
commit16feecdd82a27dbf0ccae6c32f4e6844f5b45c5f (patch)
treef0428f53a709268acef8ae2e8fbcfde2da658696 /material_theme/src/lib.rs
parentfeat: update `iced`, make designer view more usable (diff)
downloadiced-builder-16feecdd82a27dbf0ccae6c32f4e6844f5b45c5f.tar.gz
feat(material_theme): implement `theme::Base` for theme (`None` for now)
Diffstat (limited to 'material_theme/src/lib.rs')
-rw-r--r--material_theme/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/material_theme/src/lib.rs b/material_theme/src/lib.rs
index a4eea24..ba9d478 100644
--- a/material_theme/src/lib.rs
+++ b/material_theme/src/lib.rs
@@ -69,6 +69,11 @@ impl Base for Theme {
text_color: self.colorscheme.surface.on_surface,
}
}
+
+ fn palette(&self) -> Option<iced_widget::theme::Palette> {
+ // TODO: create a Palette
+ None
+ }
}
#[cfg(feature = "animate")]