feat: theme integration
refactor: only apply updates if there is a change in the theme refactor: include theme in state cleanup: theme integration
This commit is contained in:
parent
c16b86d1bf
commit
abbe94e6e1
24 changed files with 409 additions and 139 deletions
|
|
@ -18,8 +18,9 @@ pub type StackHover = IcedElement<StackHoverInternal>;
|
|||
pub fn stack_hover(
|
||||
evlh: LoopHandle<'static, crate::state::State>,
|
||||
size: Size<i32, Logical>,
|
||||
theme: cosmic::Theme,
|
||||
) -> StackHover {
|
||||
StackHover::new(StackHoverInternal, size, evlh)
|
||||
StackHover::new(StackHoverInternal, size, evlh, theme)
|
||||
}
|
||||
|
||||
pub struct StackHoverInternal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue