🤦 Remove references to system_color

This commit is contained in:
Nate Butler 2023-10-23 11:05:17 -04:00
parent dd55ccef34
commit 3a326bfa7e
7 changed files with 8 additions and 17 deletions

View file

@ -62,7 +62,6 @@ impl<S: 'static + Send + Sync> Input<S> {
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
let color = ThemeColor::new(cx);
let system_color = SystemColor::new();
let (input_bg, input_hover_bg, input_active_bg) = match self.variant {
InputVariant::Ghost => (
@ -95,7 +94,7 @@ impl<S: 'static + Send + Sync> Input<S> {
.w_full()
.px_2()
.border()
.border_color(system_color.transparent)
.border_color(color.transparent)
.bg(input_bg)
.hover(|style| style.bg(input_hover_bg))
.active(|style| style.bg(input_active_bg))