Module attheme::default_themes
source · Expand description
Provides Telegram’s default themes.
As of 4.9.1, Telegram has three default themes. Here are their names and functions that generate them.
Name | Function |
---|---|
Default | default_themes::default() |
Blue | default_themes::blue() |
Dark | default_themes::dark() |
Dark Blue | default_themes::dark_blue() |
Notes
If you want to fallback to the default theme, use
default_themes::default()
.
The themes are generated on each call. You should generate such themes once
and store them somewhere. When using them with |
, use &theme | &default
,
and when using |=
, use theme |= &default
. They clone only if necessary.