From 6108a4e9ecdd70fefaf45551a989b8d30cd1799e Mon Sep 17 00:00:00 2001 From: IceSentry <c.giguere42@gmail.com> Date: Fri, 7 Jan 2022 23:36:43 -0500 Subject: [PATCH] fix hardcoded color --- src/widgets/text_box.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/text_box.rs b/src/widgets/text_box.rs index 72bb3a4..407f6a8 100644 --- a/src/widgets/text_box.rs +++ b/src/widgets/text_box.rs @@ -98,7 +98,7 @@ pub fn TextBox(value: String, on_change: Option<OnChange>, placeholder: Option<S let text_styles = if value.is_empty() || (has_focus.get().0 && value.is_empty()) { Style { - color: StyleProp::Value(Color::GRAY), + color: StyleProp::Value(Color::new(0.5, 0.5, 0.5, 1.0)), ..Style::default() } } else { -- GitLab