mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Provide more theme keys to webview bots.
This commit is contained in:
parent
7f9461820b
commit
0e45f3ebd9
1 changed files with 6 additions and 0 deletions
|
@ -1496,6 +1496,12 @@ bool ReadPaletteValues(const QByteArray &content, Fn<bool(QLatin1String name, QL
|
|||
{ "link_color", st::windowActiveTextFg },
|
||||
{ "button_color", st::windowBgActive },
|
||||
{ "button_text_color", st::windowFgActive },
|
||||
{ "header_bg_color", st::windowBg },
|
||||
{ "accent_text_color", st::lightButtonFg },
|
||||
{ "section_bg_color", st::lightButtonBg },
|
||||
{ "section_header_text_color", st::windowActiveTextFg },
|
||||
{ "subtitle_text_color", st::windowSubTextFg },
|
||||
{ "destructive_text_color", st::attentionButtonFg },
|
||||
};
|
||||
auto object = QJsonObject();
|
||||
for (const auto &[name, color] : colors) {
|
||||
|
|
Loading…
Add table
Reference in a new issue