fix(text_input): inherit text and icon colors from container

This commit is contained in:
Michael Aaron Murphy 2024-04-26 14:51:45 +02:00 committed by Michael Murphy
parent 084ce30478
commit 8c8dbd1420
3 changed files with 56 additions and 52 deletions

View file

@ -19,16 +19,16 @@ pub struct Appearance {
pub border_width: f32,
/// The border [`Color`] of the text input.
pub border_color: Color,
/// The [`Color`] of symbolic icons.
pub icon_color: Color,
/// The label [`Color`] of the text input.
pub label_color: Color,
/// The placeholder text [`Color`].
pub placeholder_color: Color,
/// The text [`Color`] of the text input.
pub selected_text_color: Color,
/// The icon [`Color`] of the text input.
pub icon_color: Option<Color>,
/// The text [`Color`] of the text input.
pub text_color: Color,
pub text_color: Option<Color>,
/// The selected fill [`Color`] of the text input.
pub selected_fill: Color,
}