1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
//! 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()`
//!
//! # 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.
use super::*;
mod blue;
mod dark;
mod default;
pub use self::blue::*;
pub use self::dark::*;
pub use self::default::*;