diff --git a/cosmic-theme/src/model/theme.rs b/cosmic-theme/src/model/theme.rs index a9e0b13e..f31b0cdd 100644 --- a/cosmic-theme/src/model/theme.rs +++ b/cosmic-theme/src/model/theme.rs @@ -164,6 +164,18 @@ impl Eq for Theme where { } +impl Theme { + /// version of the theme + pub fn version() -> u32 { + 1 + } + + /// id of the theme + pub fn id() -> &'static str { + NAME + } +} + impl Theme where C: Clone + fmt::Debug + Default + Into + From + Serialize + DeserializeOwned,