number_input: Fix Number Input border to use cx.theme.input. (#521)

This commit is contained in:
Jason Lee 2024-12-27 19:03:24 +08:00 committed by GitHub
parent d7cd0e54c2
commit ecce9f2633
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -145,7 +145,7 @@ impl Render for NumberInput {
.px_1()
.gap_x_3()
.bg(cx.theme().background)
.border_color(cx.theme().border)
.border_color(cx.theme().input)
.border_1()
.rounded_md()
.when(focused, |this| this.outline(cx))