[][src]Crate attheme

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

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.

Type Definitions

Color

Represents colors.

Variables

An IndexMap storing variables of the theme.

Wallpaper

A Vec of bytes that represents the image wallpaper of the theme.