diff options
author | 2023-02-16 14:32:59 +0100 | |
---|---|---|
committer | 2023-04-11 05:11:23 +0200 | |
commit | d24a4a46895ed711ddfc3199a0445f0b69a812e4 (patch) | |
tree | d18477c286585f14334a2ae591e81f7ce86fee05 /style | |
parent | bfc5db9009f10a67ed277ce9d1997bcdea3f6acd (diff) | |
download | iced-d24a4a46895ed711ddfc3199a0445f0b69a812e4.tar.gz iced-d24a4a46895ed711ddfc3199a0445f0b69a812e4.tar.bz2 iced-d24a4a46895ed711ddfc3199a0445f0b69a812e4.zip |
Changed `Handle` to `Icon` to be consistent
Diffstat (limited to '')
-rw-r--r-- | style/src/text_input.rs | 4 | ||||
-rw-r--r-- | style/src/theme.rs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/style/src/text_input.rs b/style/src/text_input.rs index 5e703e61..73b05852 100644 --- a/style/src/text_input.rs +++ b/style/src/text_input.rs @@ -12,8 +12,8 @@ pub struct Appearance { pub border_width: f32, /// The border [`Color`] of the text input. pub border_color: Color, - /// The handle [`Color`] of the text input. - pub handle_color: Color, + /// The icon [`Color`] of the text input. + pub icon_color: Color, } /// A set of rules that dictate the style of a text input. diff --git a/style/src/theme.rs b/style/src/theme.rs index 4837e10b..0d974a19 100644 --- a/style/src/theme.rs +++ b/style/src/theme.rs @@ -1028,7 +1028,7 @@ impl text_input::StyleSheet for Theme { border_radius: 2.0, border_width: 1.0, border_color: palette.background.strong.color, - handle_color: palette.background.weak.text, + icon_color: palette.background.weak.text, } } @@ -1044,7 +1044,7 @@ impl text_input::StyleSheet for Theme { border_radius: 2.0, border_width: 1.0, border_color: palette.background.base.text, - handle_color: palette.background.weak.text, + icon_color: palette.background.weak.text, } } @@ -1060,7 +1060,7 @@ impl text_input::StyleSheet for Theme { border_radius: 2.0, border_width: 1.0, border_color: palette.primary.strong.color, - handle_color: palette.background.weak.text, + icon_color: palette.background.weak.text, } } |