ensure background override works in night mode

This commit is contained in:
Damien Elmes 2020-09-01 12:20:45 +10:00
parent 449f335dde
commit ccfd6244de

View file

@ -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(