Provide more theme keys to webview bots.

This commit is contained in:
John Preston 2023-10-06 17:47:24 +04:00
parent 7f9461820b
commit 0e45f3ebd9
1 changed files with 6 additions and 0 deletions

View File

@ -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) {