#telegram #tdesktop

tdesktop_theme

A Rust crate for parsing and serialization of .tdesktop-theme and .tdesktop-palette files

3 releases

0.1.2 Sep 24, 2018
0.1.1 Sep 24, 2018
0.1.0 Sep 24, 2018

#24 in #telegram

Download history 34/week @ 2018-09-27 14/week @ 2018-10-04 2/week @ 2018-10-11 13/week @ 2018-10-18 9/week @ 2018-10-25 12/week @ 2018-11-01 38/week @ 2018-11-08 10/week @ 2018-11-15 5/week @ 2018-11-22 38/week @ 2018-11-29

8 downloads per month

MIT license

372KB
7.5K SLoC


lib.rs:

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.

Dependencies

~2MB
~22K SLoC