mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Apply CSS vars to ts pages
This commit is contained in:
parent
82f0548bdd
commit
5d8e7f6b7f
1 changed files with 1 additions and 1 deletions
|
@ -664,7 +664,7 @@ html {{ {font} }}
|
||||||
|
|
||||||
def inject_dynamic_style_and_show(self) -> None:
|
def inject_dynamic_style_and_show(self) -> None:
|
||||||
"Add dynamic styling, and reveal."
|
"Add dynamic styling, and reveal."
|
||||||
css = self.standard_css()
|
css = self.css_vars() + self.standard_css()
|
||||||
|
|
||||||
def after_style(arg: Any) -> None:
|
def after_style(arg: Any) -> None:
|
||||||
gui_hooks.webview_did_inject_style_into_page(self)
|
gui_hooks.webview_did_inject_style_into_page(self)
|
||||||
|
|
Loading…
Reference in a new issue