improv(button): specialize button for cosmic, and apply alpha to header buttons
This commit is contained in:
parent
c7dc5ab1ed
commit
1355588723
8 changed files with 138 additions and 164 deletions
|
|
@ -133,7 +133,7 @@ fn date_button<Message>(
|
|||
is_month: bool,
|
||||
is_day: bool,
|
||||
on_select: &dyn Fn(NaiveDate) -> Message,
|
||||
) -> crate::widget::Button<'static, Message, crate::Theme, crate::Renderer> {
|
||||
) -> crate::widget::Button<'static, Message> {
|
||||
let style = if is_day {
|
||||
button::Style::Suggested
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue