From b0515c1dd5a5c6dd91e1fa834051fe0c2f3271d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Wed, 22 Jan 2020 11:20:26 +0100 Subject: [PATCH] Improve default style of `Button` --- style/src/button.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/style/src/button.rs b/style/src/button.rs index 93c27860..1e3844f9 100644 --- a/style/src/button.rs +++ b/style/src/button.rs @@ -70,12 +70,12 @@ struct Default; impl StyleSheet for Default { fn active(&self) -> Style { Style { - shadow_offset: Vector::new(0.0, 1.0), - background: Some(Background::Color([0.5, 0.5, 0.5].into())), - border_radius: 5, - border_width: 0, - border_color: Color::TRANSPARENT, - text_color: Color::WHITE, + shadow_offset: Vector::new(0.0, 0.0), + background: Some(Background::Color([0.87, 0.87, 0.87].into())), + border_radius: 2, + border_width: 1, + border_color: [0.7, 0.7, 0.7].into(), + text_color: Color::BLACK, } } }