Crate attheme

Source
Expand description

A crate for working with .attheme files. It has full support for the .attheme file format. In addition, it provides all default themes, including setting custom accent colors, and a complete list of variables.

Should you have a problem or a question, feel free to file an issue on our GitLab repository.

Modules§

default_themes
Provides Telegram’s default themes.

Structs§

Attheme
Represents contents of an .attheme file.

Enums§

ColorSignature
Determines how to serialize colors. Used by Attheme.to_bytes.

Constants§

FALLBACKS
A fallback map used by Telegram. Primarily used with Attheme::fallback_to_self.
VARIABLES
A list of all variable names.

Type Aliases§

Color
Represents a variable color value.
Variables
An IndexMap storing variables of the theme.
Wallpaper
A Vec of bytes that represents the image wallpaper of the theme.