-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa49288
commit d73ae1d
Showing
4 changed files
with
122 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use iced_aw::menu::StyleSheet; | ||
use iced_core::border::Radius; | ||
use iced_core::{Background, Border, Color, Padding, Shadow, Vector}; | ||
|
||
pub struct PungeMenu; | ||
|
||
impl StyleSheet for PungeMenu { | ||
type Style = iced::Theme; | ||
fn appearance(&self, style: &Self::Style) -> iced_aw::menu::Appearance { | ||
iced_aw::menu::Appearance { | ||
bar_background: Background::Color(Color::new(0.5, 0.5, 0.5, 0.0)), | ||
menu_background: Background::Color(Color::new(0.2, 0.2, 0.2, 1.0)), | ||
bar_background_expand: Padding::new(5.0), | ||
..Default::default() | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pub mod button; | ||
pub mod container; | ||
pub mod menu; | ||
pub mod scrubber; | ||
pub mod volume; |