Changed Handle to Icon to be consistent
This commit is contained in:
parent
bfc5db9009
commit
d24a4a4689
5 changed files with 59 additions and 58 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue