ReaderTheme
A reading theme: a page background plus a mapColor transform applied to every text / vector / border / CSS-background colour a page paints. Images and gradients pass through untouched, so photos never invert.
Format-neutral: it themes any KiteCanvas (PDF or EPUB). Hand a theme to a rasterizer, or wrap a canvas yourself:
page.renderTo(ReaderTheme.Dark.wrap(canvas), ctm) // paint background yourselfContent copied to clipboard