diff options
| author | pml68 <contact@pml68.dev> | 2025-04-10 06:32:06 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-15 23:51:47 +0200 |
| commit | 16feecdd82a27dbf0ccae6c32f4e6844f5b45c5f (patch) | |
| tree | f0428f53a709268acef8ae2e8fbcfde2da658696 /theme_test/src/main.rs | |
| parent | feat: update `iced`, make designer view more usable (diff) | |
| download | iced-builder-16feecdd82a27dbf0ccae6c32f4e6844f5b45c5f.tar.gz | |
feat(material_theme): implement `theme::Base` for theme (`None` for now)
Diffstat (limited to '')
| -rw-r--r-- | theme_test/src/main.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/theme_test/src/main.rs b/theme_test/src/main.rs index c4735be..26358c8 100644 --- a/theme_test/src/main.rs +++ b/theme_test/src/main.rs @@ -12,11 +12,10 @@ use material_theme::container::{ }; use material_theme::text::surface_variant; -fn main() { - iced::application("Theme Test", (), view) - .theme(|_| material_theme::DARK.clone()) +fn main() -> iced::Result { + iced::application(|| {}, (), view) + .theme(|_| material_theme::LIGHT.clone()) .run() - .unwrap(); } #[derive(Debug, Clone)] |
