Modifica la identificación de módulos

This commit is contained in:
Manuel Cillero 2022-03-01 17:50:36 +01:00
parent 0f185887a6
commit 9e65f89d2d
14 changed files with 46 additions and 48 deletions

View file

@ -5,11 +5,11 @@ include!(concat!(env!("OUT_DIR"), "/aliner.rs"));
pub struct AlinerTheme;
impl Theme for AlinerTheme {
fn id(&self) -> &'static str {
fn name(&self) -> &'static str {
"aliner"
}
fn name(&self) -> String {
fn fullname(&self) -> String {
"Aliner".to_string()
}

View file

@ -7,11 +7,11 @@ localize!("en-US", "src/base/theme/bootsier/locales");
pub struct BootsierTheme;
impl Theme for BootsierTheme {
fn id(&self) -> &'static str {
fn name(&self) -> &'static str {
"bootsier"
}
fn name(&self) -> String {
fn fullname(&self) -> String {
"Bootsier".to_string()
}

View file

@ -3,11 +3,11 @@ use crate::prelude::*;
pub struct MinimalTheme;
impl Theme for MinimalTheme {
fn id(&self) -> &'static str {
fn name(&self) -> &'static str {
"minimal"
}
fn name(&self) -> String {
fn fullname(&self) -> String {
"Minimal".to_string()
}
}