diff --git a/src/alert/mod.rs b/src/alert/mod.rs index 36b7320..7b5e6f1 100644 --- a/src/alert/mod.rs +++ b/src/alert/mod.rs @@ -55,15 +55,15 @@ pub fn Alert( let variant = variant.get(); css_vars.push_str(&format!( "--icon-color: {};", - variant.theme_icon_color(&theme) + variant.theme_icon_color(theme) )); css_vars.push_str(&format!( "--background-color: {};", - variant.theme_background_color(&theme) + variant.theme_background_color(theme) )); css_vars.push_str(&format!( "--border-color: {};", - variant.theme_border_color(&theme) + variant.theme_border_color(theme) )); }); diff --git a/src/auto_complete/mod.rs b/src/auto_complete/mod.rs index 79e782e..28ec2a2 100644 --- a/src/auto_complete/mod.rs +++ b/src/auto_complete/mod.rs @@ -58,7 +58,7 @@ pub fn AutoComplete(