Last active
April 10, 2018 01:24
-
-
Save robobenklein/c51bba9197dcdc7d8bd6c89730ad7970 to your computer and use it in GitHub Desktop.
Dark theme for inbox, trying to be as simple as possible. Designed for Chrome & Violentmonkey.
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
// ==UserScript== | |
// @name Dark inbox using chrome filters | |
// @include https://inbox.google.com/* | |
// @grant GM_addStyle | |
// @run-at document-start | |
// @version 2018.04.09 | |
// @description Robobenklein got tired of Google Inbox without a dark theme. | |
// ==/UserScript== | |
GM_addStyle ( ` | |
body { | |
background-color: black; | |
} | |
#Nr { | |
filter: invert(100%) hue-rotate(180deg) contrast(1.1) brightness(120%); | |
background-color: white; | |
} | |
#Nr img { | |
filter: invert(100%) hue-rotate(180deg); | |
} | |
#Nr img:not([class]) { | |
filter: none; | |
} | |
#fv { | |
filter: invert(100%) hue-rotate(180deg); | |
} | |
#fv img.io { | |
filter: invert(100%) hue-rotate(180deg); | |
} | |
` ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment