mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Pass secondary_bg_color to WebView-s.
This commit is contained in:
@@ -1520,6 +1520,7 @@ bool ReadPaletteValues(const QByteArray &content, Fn<bool(QLatin1String name, QL
|
|||||||
[[nodiscard]] Webview::ThemeParams WebViewParams() {
|
[[nodiscard]] Webview::ThemeParams WebViewParams() {
|
||||||
const auto colors = std::vector<std::pair<QString, const style::color&>>{
|
const auto colors = std::vector<std::pair<QString, const style::color&>>{
|
||||||
{ "bg_color", st::windowBg },
|
{ "bg_color", st::windowBg },
|
||||||
|
{ "secondary_bg_color", st::boxDividerBg },
|
||||||
{ "text_color", st::windowFg },
|
{ "text_color", st::windowFg },
|
||||||
{ "hint_color", st::windowSubTextFg },
|
{ "hint_color", st::windowSubTextFg },
|
||||||
{ "link_color", st::windowActiveTextFg },
|
{ "link_color", st::windowActiveTextFg },
|
||||||
|
Reference in New Issue
Block a user