🎉 [minimal] Saca tema del código base de PageTop

This commit is contained in:
Manuel Cillero 2023-02-02 08:47:21 +01:00
parent fd54389cd5
commit 20f6c85e68
4 changed files with 65 additions and 0 deletions

View 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 {}