diff options
author | 2020-01-22 11:20:26 +0100 | |
---|---|---|
committer | 2020-01-22 11:20:26 +0100 | |
commit | b0515c1dd5a5c6dd91e1fa834051fe0c2f3271d2 (patch) | |
tree | 04351c845c4a31e01b08050aa1c3585d42a6d715 /style | |
parent | 1797e15b8cb2a2e804b9e715c62fa5a149c8ad4a (diff) | |
download | iced-b0515c1dd5a5c6dd91e1fa834051fe0c2f3271d2.tar.gz iced-b0515c1dd5a5c6dd91e1fa834051fe0c2f3271d2.tar.bz2 iced-b0515c1dd5a5c6dd91e1fa834051fe0c2f3271d2.zip |
Improve default style of `Button`
Diffstat (limited to 'style')
-rw-r--r-- | style/src/button.rs | 12 |
1 files 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, } } } |