Julius Volz @juliusv.com · May 21

Need to display something in dark mode that wasn't made for it, like a dark SVG diagram or server-rendered syntax highlighting that would become unreadable on a dark background? Easy: filter: invert(1) hue-rotate(180deg);

5 likes 1 replies

?

Replies

Julius Volz · May 21

Now this isn't perfect, but can often be a great stop gap or alternative to just putting bright backgrounds under these things in dark mode.