mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Pass secondary_bg_color to WebView-s.
This commit is contained in:
parent
b4b55973b5
commit
9d7060c24a
1 changed files with 1 additions and 0 deletions
|
@ -1520,6 +1520,7 @@ bool ReadPaletteValues(const QByteArray &content, Fn<bool(QLatin1String name, QL
|
|||
[[nodiscard]] Webview::ThemeParams WebViewParams() {
|
||||
const auto colors = std::vector<std::pair<QString, const style::color&>>{
|
||||
{ "bg_color", st::windowBg },
|
||||
{ "secondary_bg_color", st::boxDividerBg },
|
||||
{ "text_color", st::windowFg },
|
||||
{ "hint_color", st::windowSubTextFg },
|
||||
{ "link_color", st::windowActiveTextFg },
|
||||
|
|
Loading…
Add table
Reference in a new issue