TextColor -> Color

This commit is contained in:
Nate Butler
2023-11-21 01:05:29 -05:00
parent 56d45e72cd
commit 453aa5ffd7
24 changed files with 148 additions and 148 deletions
+4 -4
View File
@@ -36,15 +36,15 @@ impl Component for Input {
};
let placeholder_label = Label::new(self.placeholder.clone()).color(if self.disabled {
TextColor::Disabled
Color::Disabled
} else {
TextColor::Placeholder
Color::Placeholder
});
let label = Label::new(self.value.clone()).color(if self.disabled {
TextColor::Disabled
Color::Disabled
} else {
TextColor::Default
Color::Default
});
div()