Last active
April 17, 2018 04:33
-
-
Save robobenklein/7633f21b65ab1e783dbac4d73d649d14 to your computer and use it in GitHub Desktop.
Hey look I can use the same tricks I used on Inbox in Google Calendar, cool.
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 Google Calendar using chrome filters | |
// @include https://calendar.google.com/* | |
// @grant GM_addStyle | |
// @run-at document-start | |
// @version 2018.04.17 | |
// @description Robobenklein found another Google Service needing a dark theme. | |
// ==/UserScript== | |
GM_addStyle ( ` | |
img { | |
filter: invert(100%) hue-rotate(180deg) !important; | |
} | |
:before { | |
filter: invert(100%) hue-rotate(180deg) brightness(1.1) contrast(110%); | |
background-color: black !important; | |
} | |
body { | |
filter: invert(100%) hue-rotate(180deg) brightness(1.1) contrast(1.1); | |
background-color: black; | |
} | |
` ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment