Skip to content

Instantly share code, notes, and snippets.

@1nVitr0
Created March 16, 2019 12:04
Show Gist options
  • Save 1nVitr0/3641f1f060d6997f6e687db30b44a6d4 to your computer and use it in GitHub Desktop.
Save 1nVitr0/3641f1f060d6997f6e687db30b44a6d4 to your computer and use it in GitHub Desktop.
Minimal dark mode for calibre. Works by inverting the luminance for everything except images.
body {
background: #1e1e1e;
filter: invert(1) hue-rotate(180deg);
}
img {
filter: invert(1) hue-rotate(180deg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment