summaryrefslogtreecommitdiffstats
path: root/style/src/text_input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'style/src/text_input.rs')
-rw-r--r--style/src/text_input.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/style/src/text_input.rs b/style/src/text_input.rs
index 269b28db..c5123b20 100644
--- a/style/src/text_input.rs
+++ b/style/src/text_input.rs
@@ -29,14 +29,14 @@ pub trait StyleSheet {
/// Produces the style of a focused text input.
fn focused(&self) -> Style;
+ fn placeholder_color(&self) -> Color;
+
+ fn value_color(&self) -> Color;
+
/// Produces the style of an hovered text input.
fn hovered(&self) -> Style {
self.focused()
}
-
- fn placeholder_color(&self) -> Color;
-
- fn value_color(&self) -> Color;
}
struct Default;