From 5d8e7f6b7ffc8894b6517ecbb8cfba35407fc69a Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Mon, 24 Oct 2022 00:39:54 +0200 Subject: [PATCH] Apply CSS vars to ts pages --- qt/aqt/webview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/webview.py b/qt/aqt/webview.py index 9bdf6fa53..691b5e5ae 100644 --- a/qt/aqt/webview.py +++ b/qt/aqt/webview.py @@ -664,7 +664,7 @@ html {{ {font} }} def inject_dynamic_style_and_show(self) -> None: "Add dynamic styling, and reveal." - css = self.standard_css() + css = self.css_vars() + self.standard_css() def after_style(arg: Any) -> None: gui_hooks.webview_did_inject_style_into_page(self)