👽️ Apply last Handle API changes

This commit is contained in:
Manuel Cillero 2023-11-03 22:50:06 +01:00
parent 68c551bfb3
commit 088ffe7272
10 changed files with 37 additions and 63 deletions

View file

@ -1,16 +1,12 @@
use pagetop::prelude::*;
new_handle!(THEME_BULMIX);
new_static_files!(bulmix);
pub struct Bulmix;
impl ModuleTrait for Bulmix {
fn handle(&self) -> Handle {
THEME_BULMIX
}
impl_handle!(THEME_BULMIX for Bulmix);
impl ModuleTrait for Bulmix {
fn theme(&self) -> Option<ThemeRef> {
Some(&Bulmix)
}