Skip to content

Commit 2334200

Browse files
committed
Add support for forced image inversion in themes
1 parent 7cb304b commit 2334200

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/display/blender/blender.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class Blender {
99
this.foreground = new Color(theme.foreground);
1010
this.gradient = this.background.range(this.foreground);
1111
this.dark = this.background.lightness < this.foreground.lightness;
12+
this.forceInversion = !!theme.invertImages;
1213

1314
this.fullPageImageDetected = false;
1415

0 commit comments

Comments
 (0)