Skip to content

Commit fb45d06

Browse files
committed
EPUB/Snapshot: Darken images when not inverting
As in the PDF view.
1 parent 89e4964 commit fb45d06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/dom/common/stylesheets/inject.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ body[data-tool="note"] {
4242
outline: 1px auto;
4343
}
4444

45+
:root[data-color-scheme="dark"] {
46+
img, svg {
47+
filter: brightness(80%);
48+
}
49+
}
50+
4551
:root[data-color-scheme="dark"].invert-images {
4652
img, svg {
4753
filter: invert(1) hue-rotate(180deg);

0 commit comments

Comments
 (0)