Caly
Caly copied to clipboard
Dark mode for PDF
I added a button (feel free to move it is its against GUI styling) that toggles PDF view between bright and dark. Bright is normal as it was, but dark inverts HSV lightness of everything except raster images (all images Page.GetImages returns). It uses only SkiaSharp for graphics and I hope that variables are where they belong. I did my best to stick with the style and architecture of the project. Feel free to contact me if you have any questions!
@ihonza thanks a lot for the PR! I really like the idea. I'll find time to review it shortly