Modifica la identificación de módulos
This commit is contained in:
parent
0f185887a6
commit
9e65f89d2d
14 changed files with 46 additions and 48 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue