mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 05:07:10 -05:00
ensure background override works in night mode
This commit is contained in:
parent
449f335dde
commit
ccfd6244de
1 changed files with 1 additions and 0 deletions
|
|
@ -411,6 +411,7 @@ div[contenteditable="true"]:focus {
|
||||||
body {{ zoom: {zoom}; background: {background}; direction: {lang_dir}; {font} }}
|
body {{ zoom: {zoom}; background: {background}; direction: {lang_dir}; {font} }}
|
||||||
{button_style}
|
{button_style}
|
||||||
:root {{ --window-bg: {background} }}
|
:root {{ --window-bg: {background} }}
|
||||||
|
:root[class*=night-mode] {{ --window-bg: {background} }}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def stdHtml(
|
def stdHtml(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue