summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-19 03:32:21 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-19 03:32:21 +0200
commit4c1a082f0468a59099bbf8aa8991420a41234948 (patch)
tree42308071bc180f364c71cdc0bb0011235c01fe14 /style
parent6551a0b2ab6c831dd1d3646ecf55180339275e22 (diff)
downloadiced-4c1a082f0468a59099bbf8aa8991420a41234948.tar.gz
iced-4c1a082f0468a59099bbf8aa8991420a41234948.tar.bz2
iced-4c1a082f0468a59099bbf8aa8991420a41234948.zip
Remove `Builder` abstractions for gradients
Diffstat (limited to 'style')
-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 1b47e2f9..c9835ca3 100644
--- a/style/src/theme.rs
+++ b/style/src/theme.rs
@@ -371,7 +371,7 @@ impl container::StyleSheet for Theme {
container::Appearance {
text_color: None,
- background: palette.background.weak.color.into(),
+ background: Some(palette.background.weak.color.into()),
border_radius: 2.0,
border_width: 0.0,
border_color: Color::TRANSPARENT,
@@ -896,7 +896,7 @@ impl scrollable::StyleSheet for Theme {
let palette = self.extended_palette();
scrollable::Scrollbar {
- background: palette.background.weak.color.into(),
+ background: Some(palette.background.weak.color.into()),
border_radius: 2.0,
border_width: 0.0,
border_color: Color::TRANSPARENT,
@@ -923,7 +923,7 @@ impl scrollable::StyleSheet for Theme {
let palette = self.extended_palette();
scrollable::Scrollbar {
- background: palette.background.weak.color.into(),
+ background: Some(palette.background.weak.color.into()),
border_radius: 2.0,
border_width: 0.0,
border_color: Color::TRANSPARENT,