Rename fill to bg

This commit is contained in:
Antonio Scandurra 2023-10-18 09:39:23 +02:00
parent 597a9f9548
commit 296a2b8e5d
35 changed files with 136 additions and 106 deletions

View file

@ -87,11 +87,11 @@ impl<S: 'static + Send + Sync> Input<S> {
.px_2()
.border()
.border_color(border_color_default)
.fill(background_color_default)
.bg(background_color_default)
.hover(|style| {
style
.border_color(border_color_hover)
.fill(background_color_active)
.bg(background_color_active)
})
// .active(|a| .border_color(border_color_active))
.flex()