mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Provide more theme keys to webview bots.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user