feat: inactive window header icon/text colors

This commit is contained in:
Michael Aaron Murphy 2024-05-17 19:42:02 +02:00 committed by Michael Murphy
parent 1355588723
commit 9292ea647b
2 changed files with 36 additions and 18 deletions

View file

@ -299,7 +299,9 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
.padding(8)
.spacing(8)
.apply(widget::container)
.style(crate::theme::Container::HeaderBar)
.style(crate::theme::Container::HeaderBar {
focused: self.focused,
})
.center_y()
.apply(widget::mouse_area);