Skip to content
Snippets Groups Projects
Commit 6108a4e9 authored by IceSentry's avatar IceSentry
Browse files

fix hardcoded color

parent 23fc3a67
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment