html, img, pre { filter: invert(0.96) hue-rotate(180deg); } /* add more selectors make them into dark mode if reversed / doesn't apply eg iframe etc */