1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
themeSettings | Theme settings | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: themeSettings
Theme settings
Attributes:
Name | Type | Required | Description |
---|---|---|---|
base_theme | BaseTheme | Yes | Base theme |
accent_color | int | Yes | Accent color, RGB24 format |
message_top_color | int | Optional | Message gradient color (top), RGB24 format |
message_bottom_color | int | Optional | Message gradient color (bottom), RGB24 format |
wallpaper | WallPaper | Optional | Wallpaper |
Type: ThemeSettings
Example:
$themeSettings = ['_' => 'themeSettings', 'base_theme' => BaseTheme, 'accent_color' => int, 'message_top_color' => int, 'message_bottom_color' => int, 'wallpaper' => WallPaper];
Or, if you're into Lua:
themeSettings={_='themeSettings', base_theme=BaseTheme, accent_color=int, message_top_color=int, message_bottom_color=int, wallpaper=WallPaper}