🎉 [minimal] Saca tema del código base de PageTop
This commit is contained in:
parent
fd54389cd5
commit
20f6c85e68
4 changed files with 65 additions and 0 deletions
17
pagetop-minimal/src/lib.rs
Normal file
17
pagetop-minimal/src/lib.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
pub_handle!(THEME_MINIMAL);
|
||||
|
||||
pub struct Minimal;
|
||||
|
||||
impl ModuleTrait for Minimal {
|
||||
fn handle(&self) -> Handle {
|
||||
THEME_MINIMAL
|
||||
}
|
||||
|
||||
fn theme(&self) -> Option<ThemeStaticRef> {
|
||||
Some(&Minimal)
|
||||
}
|
||||
}
|
||||
|
||||
impl ThemeTrait for Minimal {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue