Provide more theme keys to webview bots.
This commit is contained in:
parent
7f9461820b
commit
0e45f3ebd9
|
@ -1496,6 +1496,12 @@ bool ReadPaletteValues(const QByteArray &content, Fn<bool(QLatin1String name, QL
|
||||||
{ "link_color", st::windowActiveTextFg },
|
{ "link_color", st::windowActiveTextFg },
|
||||||
{ "button_color", st::windowBgActive },
|
{ "button_color", st::windowBgActive },
|
||||||
{ "button_text_color", st::windowFgActive },
|
{ "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();
|
auto object = QJsonObject();
|
||||||
for (const auto &[name, color] : colors) {
|
for (const auto &[name, color] : colors) {
|
||||||
|
|
Loading…
Reference in New Issue