chore: update dependencies

This commit is contained in:
Michael Aaron Murphy 2024-03-12 07:47:10 +01:00
parent 98404ce604
commit a0eda0fba9
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 45 additions and 45 deletions

View file

@ -259,7 +259,7 @@ impl Page {
button(text(fl!("add")))
.style(button::Style::Custom {
active: Box::new(|focused, theme| {
let mut style = theme.active(focused, &button::Style::Text);
let mut style = theme.active(focused, false, &button::Style::Text);
style.text_color = Some(theme.cosmic().accent_color().into());
style
}),
@ -271,12 +271,12 @@ impl Page {
style
}),
hovered: Box::new(|focused, theme| {
let mut style = theme.hovered(focused, &theme::Button::Text);
let mut style = theme.hovered(focused, false, &theme::Button::Text);
style.text_color = Some(theme.cosmic().accent_color().into());
style
}),
pressed: Box::new(|focused, theme| {
let mut style = theme.pressed(focused, &theme::Button::Text);
let mut style = theme.pressed(focused, false, &theme::Button::Text);
style.text_color = Some(theme.cosmic().accent_color().into());
style
}),