Improve default style of Button
This commit is contained in:
parent
1797e15b8c
commit
b0515c1dd5
@ -70,12 +70,12 @@ struct Default;
|
|||||||
impl StyleSheet for Default {
|
impl StyleSheet for Default {
|
||||||
fn active(&self) -> Style {
|
fn active(&self) -> Style {
|
||||||
Style {
|
Style {
|
||||||
shadow_offset: Vector::new(0.0, 1.0),
|
shadow_offset: Vector::new(0.0, 0.0),
|
||||||
background: Some(Background::Color([0.5, 0.5, 0.5].into())),
|
background: Some(Background::Color([0.87, 0.87, 0.87].into())),
|
||||||
border_radius: 5,
|
border_radius: 2,
|
||||||
border_width: 0,
|
border_width: 1,
|
||||||
border_color: Color::TRANSPARENT,
|
border_color: [0.7, 0.7, 0.7].into(),
|
||||||
text_color: Color::WHITE,
|
text_color: Color::BLACK,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user