Crate attheme

source ·
Expand description

A crate for working with .attheme files. It:

  • Parses .attheme;
  • Serializes .attheme;
  • Deals with both Java integers (e.g. -609399291) and HEXes (#fd5aebbb);
  • Parses wallpapers;
  • Can add themes (&theme + &other_theme) and fallback to another one (&theme | &other_theme);
  • Has the default themes.

If you think we don’t support something we should or have a question, feel free to fill an issue on our GitLab repository.

Modules

Provides Telegram’s default themes.

Structs

Represents contents of an .attheme file.

Enums

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

Type Definitions

Represents colors.
An IndexMap storing variables of the theme.
A Vec of bytes that represents the image wallpaper of the theme.