html {
  -webkit-filter: invert(100%) !important;
}

img { /* Inverting images does not do any good */
  -webkit-filter: invert(100%) !important;
}

/* WORKAROUND: Fix for rendering on HiDPI devices */
@media (-webkit-min-device-pixel-ratio: 2) {
  html {
    transform: translateZ(0);
  }
}
