I did now actually add a hidden preference to set the black background color.
hidden prefereence for the white value (black) the white backgrouns is mapped to when using inverted colors in dark mode. Value is in sRGB, mapped to gamm=1.6 where we invert.
True black inverted pdf color
reorder for consistency
macros for keys
use dictionary literals
copy conditions from filter controller and when creating a copy of a filter, not when initializing a filter
normalize condition value for integer fields