@martijn So apparently on Chrome an inversion filter has no effect unless you specifically set the background colour, whereas in Firefox is seems to use the default colour. Easy enough to fix by specifying a background colour for the <html> element.
https://codeberg.org/domain/app/issues/41#issuecomment-1043451