🤦 Remove references to system_color
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user