Expand description
A crate to work with Telegram Desktop themes. Supports:
- Parsing of
.tdesktop-palette
; - Parsing of
.tdesktop-theme
; - Serialization to
.tdesktop-palette
format; - Serialization to
.tdesktop-theme
format; - Dealing with wallpapers;
- Editing themes;
- Variables links.
Also can:
- Resolve links;
- Unlink variables;
- Add themes (
&theme + &other_theme
); - Fallback to another theme (
&theme | &other_theme
); - Provide you with Telegram’s default themes.
We also provide the default themes under the default_themes
module.
If you think we don’t support something or you wish we had some feature,
feel free to fill an issue on our GitLab repository.
Modules§
- default_
themes - Provides Telegram Desktop’s default themes.
- utils
- Provides a few utility functions.
Structs§
- Parse
Error - Represents an error occured during parsing.
- Tdesktop
Theme - Represents a
.tdesktop-theme
file structure. - Wallpaper
- Represents a theme’s wallpaper.
Enums§
- Value
- Represents a possible variable’s value.
- Wallpaper
Extension - Represents possible wallpaper extensions. It is taken from the wallpaper’s name.
- Wallpaper
Type - Represents possible wallpaper types.