From 39f49186cefa688a1cc80ed754ec4028c642636a Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 14 Dec 2022 03:29:20 +0100 Subject: Rename `pick_list::AccessoryContent` to `Handle` ... and rename `Default` variant to `Arrow`. --- style/src/pick_list.rs | 4 ++-- style/src/theme.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'style/src') diff --git a/style/src/pick_list.rs b/style/src/pick_list.rs index 877a58da..11e13b01 100644 --- a/style/src/pick_list.rs +++ b/style/src/pick_list.rs @@ -8,8 +8,8 @@ pub struct Appearance { pub text_color: Color, /// The placeholder [`Color`] of the pick list. pub placeholder_color: Color, - /// The accessory content [`Color`] of the pick list. - pub accessory_content_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. diff --git a/style/src/theme.rs b/style/src/theme.rs index 81bcfa67..bd0ae28e 100644 --- a/style/src/theme.rs +++ b/style/src/theme.rs @@ -534,7 +534,7 @@ impl pick_list::StyleSheet for Theme { text_color: palette.background.weak.text, background: palette.background.weak.color.into(), placeholder_color: palette.background.strong.color, - accessory_content_color: palette.background.weak.text, + handle_color: palette.background.weak.text, border_radius: 2.0, border_width: 1.0, border_color: palette.background.strong.color, @@ -553,7 +553,7 @@ impl pick_list::StyleSheet for Theme { text_color: palette.background.weak.text, background: palette.background.weak.color.into(), placeholder_color: palette.background.strong.color, - accessory_content_color: palette.background.weak.text, + handle_color: palette.background.weak.text, border_radius: 2.0, border_width: 1.0, border_color: palette.primary.strong.color, -- cgit