diff options
Diffstat (limited to 'style')
| -rw-r--r-- | style/src/pick_list.rs | 4 | ||||
| -rw-r--r-- | style/src/theme.rs | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/style/src/pick_list.rs b/style/src/pick_list.rs index 8d93dff2..11e13b01 100644 --- a/style/src/pick_list.rs +++ b/style/src/pick_list.rs @@ -8,6 +8,8 @@ pub struct Appearance {      pub text_color: Color,      /// The placeholder [`Color`] of the pick list.      pub placeholder_color: Color, +    /// The handle [`Color`] of the pick list. +    pub handle_color: Color,      /// The [`Background`] of the pick list.      pub background: Background,      /// The border radius of the pick list. @@ -16,8 +18,6 @@ pub struct Appearance {      pub border_width: f32,      /// The border color of the pick list.      pub border_color: Color, -    /// The size of the arrow icon of the pick list. -    pub icon_size: f32,  }  /// A set of rules that dictate the style of a container. diff --git a/style/src/theme.rs b/style/src/theme.rs index f780f952..55bfa4ca 100644 --- a/style/src/theme.rs +++ b/style/src/theme.rs @@ -535,10 +535,10 @@ impl pick_list::StyleSheet for Theme {                      text_color: palette.background.weak.text,                      background: palette.background.weak.color.into(),                      placeholder_color: palette.background.strong.color, +                    handle_color: palette.background.weak.text,                      border_radius: 2.0,                      border_width: 1.0,                      border_color: palette.background.strong.color, -                    icon_size: 0.7,                  }              }              PickList::Custom(custom, _) => custom.active(self), @@ -554,10 +554,10 @@ impl pick_list::StyleSheet for Theme {                      text_color: palette.background.weak.text,                      background: palette.background.weak.color.into(),                      placeholder_color: palette.background.strong.color, +                    handle_color: palette.background.weak.text,                      border_radius: 2.0,                      border_width: 1.0,                      border_color: palette.primary.strong.color, -                    icon_size: 0.7,                  }              }              PickList::Custom(custom, _) => custom.hovered(self), | 
