🤦 Remove references to system_color
This commit is contained in:
parent
dd55ccef34
commit
3a326bfa7e
7 changed files with 8 additions and 17 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue