support AnkiMobile's drawings in night mode

This commit is contained in:
Damien Elmes 2020-02-09 09:20:08 +10:00
parent 7fcb6b5672
commit 20c51555a1
2 changed files with 11 additions and 1 deletions

View file

@ -94,4 +94,9 @@ button.linkb {
#dupes a { #dupes a {
color: vars.$night-link; color: vars.$night-link;
} }
} }
.drawing { zoom: 50%; }
.nightMode img.drawing {
filter: unquote("invert() hue-rotate(180deg)")
}

View file

@ -80,3 +80,8 @@ img {
filter: invert(100%); filter: invert(100%);
} }
} }
.drawing { zoom: 50%; }
.nightMode img.drawing {
filter: unquote("invert() hue-rotate(180deg)")
}