summaryrefslogtreecommitdiffstats
path: root/style/src/theme.rs
diff options
context:
space:
mode:
Diffstat (limited to 'style/src/theme.rs')
-rw-r--r--style/src/theme.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/style/src/theme.rs b/style/src/theme.rs
index a1501c01..47010728 100644
--- a/style/src/theme.rs
+++ b/style/src/theme.rs
@@ -394,7 +394,7 @@ impl container::StyleSheet for Theme {
fn appearance(&self, style: &Self::Style) -> container::Appearance {
match style {
- Container::Transparent => Default::default(),
+ Container::Transparent => container::Appearance::default(),
Container::Box => {
let palette = self.extended_palette();
@@ -905,7 +905,7 @@ impl svg::StyleSheet for Theme {
fn appearance(&self, style: &Self::Style) -> svg::Appearance {
match style {
- Svg::Default => Default::default(),
+ Svg::Default => svg::Appearance::default(),
Svg::Custom(custom) => custom.appearance(self),
}
}
@@ -1054,7 +1054,7 @@ impl text::StyleSheet for Theme {
fn appearance(&self, style: Self::Style) -> text::Appearance {
match style {
- Text::Default => Default::default(),
+ Text::Default => text::Appearance::default(),
Text::Color(c) => text::Appearance { color: Some(c) },
}
}