diff --git a/crates/ui/src/theme/mod.rs b/crates/ui/src/theme/mod.rs index 57c0753b..480d8210 100644 --- a/crates/ui/src/theme/mod.rs +++ b/crates/ui/src/theme/mod.rs @@ -56,6 +56,12 @@ pub struct Theme { pub tile_shadow: bool, } +impl Default for Theme { + fn default() -> Self { + Self::from(ThemeColor::light()) + } +} + impl Deref for Theme { type Target = ThemeColor;