Last active
November 21, 2019 19:13
-
-
Save fdrobidoux/da9321071e1238d60485cf553a4a32c7 to your computer and use it in GitHub Desktop.
Easiest way to turn any web page into an alternative, dark-themed design. Based on Zeal's dark mode CSS file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Based on https://github.com/zealdocs/zeal/blob/master/src/app/resources/browser/assets/css/darkmode.css */ | |
html { | |
-webkit-filter: invert() hue-rotate(180deg) contrast(70%); | |
filter: invert() hue-rotate(180deg) contrast(70%); | |
background: #333; | |
} | |
html img { | |
-webkit-filter: invert() hue-rotate(180deg) contrast(120%); | |
filter: invert() hue-rotate(180deg) contrast(120%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment