// ==UserScript==
// @name Google Calendar Dark Night Mode Theme
// @namespace english
// @description Google Calendar Dark Night Mode Theme - currently undergoing build
// @include http*://*calendar.google.com*
// @version 2.1
// @run-at document-end
// @grant GM_addStyle
// ==/UserScript==
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = ' html{filter: hue-rotate(180deg)invert(100)contrast(93%) !important ;}html .YO50ue { background: #fff !important ;} ';
document.getElementsByTagName('head')[0].appendChild(style);
/*
OLD CODE - messy - google keeps updating things
body { /*all borders border-right: #424242 1px solid; *-/ /*\n*-/ background-color: #3f3f3f;color: #e3e3e3;/*\n*-/}.gb_Ta {/*\n*-/ color: #d5d5d5;/*\n*-/} element {/*\n*-/ background-color: #2f2f2f;/*\n*-/}.gb_Ta svg, .gb_lc svg {/*\n*-/ color: #e7e7e7;/*\n*-/}.rF3YF {/*\n*-/ color: rgba(227, 227, 227, 0.5);/*\n*-/ fill: rgba(227, 227, 227, 0.5);/*\n*-/}.KaL5Wc {/*\n*-/ color: #e9e9e9;/*\n*-/}.Cd9hpd .NlWrkb { /*\n*-/ color: #e6e6e6; /*\n*-/}.tNDBE {/*\n*-/ background-color: #5a5a5a; /*\n*-/}.t8qpF { /*\n*-/ border-right: #424242 1px solid;/*\n*-/ /*\n*-/ color: #a4a4a4; /*\n*-/}/*\n*-//*\n*-/.wy3aMe {/*\n*-/ color: #fff;/*\n*-/ /*\n*-/}/*\n*-/.PhLhOd {/*\n*-/ border-right: #424242 1px solid;/*\n*-/ /*\n*-/}body[data-viewfamily="EVENT"] .TOTjfb, body[data-viewfamily="SEARCH"] .TOTjfb {/*\n*-/ border-top: #424242 1px solid;/*\n*-/}.hEtGGf { /*\n*-/ border-right: #424242 1px solid;/*\n*-/}.W0m3G::before {/*\n*-/ position: absolute;/*\n*-/ height: 24px;/*\n*-/ left: -50%;/*\n*-/ right: 50%;/*\n*-/ z-index: -1;/*\n*-/ content: "";/*\n*-/ background-color: #3f3f3f;/*\n*-/ transition: background-color 100ms linear;/*\n*-/}.W0m3G {/*\n*-/ /*\n*-/ color: #a7a7a7;/*\n*-/ }.W0m3G .r4nke {/*\n*-/ /*\n*-/ background-color: #3f3f3f;/*\n*-/ /*\n*-/}.W0m3G:hover .r4nke, .W0m3G:focus .r4nke {/*\n*-/ background-color: #7a7a7a;/*\n*-/ }.iMprOe {/*\n*-/ color: #fff;/*\n*-/}.MSZkRb { /*\n*-/ color: #fff;/*\n*-/}.rF3YF {/*\n*-/ color: rgba(255, 255, 255, 0.5);/*\n*-/ fill: rgba(255, 255, 255, 0.5);/*\n*-/}.rF3YF.u3bW4e, .rF3YF:hover {/*\n*-/ background-color: rgba(255, 255, 255, 0.1);/*\n*-/}.I2LGc:hover {/*\n*-/ background-color: #141414;/*\n*-/}.uQ1ixe .snByac { /*\n*-/ color: #e9e9e9; /*\n*-/}.NI2kfb {/*\n*-/ color: #cfcfcf; /*\n*-/}.uHMk6b { /*\n*-/ border: 7px solid #3f3f3f; /*\n*-/}.YK7obe {/*\n*-/ color: #fff;/*\n*-/}.ef2wWc {/*\n*-/ background-color: #414141;/*\n*-/}.QIadxc { /*\n*-/ border-bottom: #424242 1px solid;/*\n*-/ /*\n*-/}.JtukPc { /*\n*-/ background-color: #353535; /*\n*-/}/*\n*-//*\n*-/.p9lUpf {/*\n*-//*\n*-/ background: #5d5d5d;/*\n*-//*\n*-/ color: #ddd;/*\n*-//*\n*-/}.Kb2sf {/*\n*-//*\n*-/ /*\n*-/ background-color: #5d5d5d;/*\n*-/ /*\n*-//*\n*-/}.jZ0DTb {/*\n*-//*\n*-/ /*\n*-/ background-color: #4e4e4e;/*\n*-/ /*\n*-//*\n*-/}.MocG8c {/*\n*-//*\n*-/ color: #e6e6e6;/*\n*-/ /*\n*-//*\n*-/}.j3nyw {/*\n*-//*\n*-/ color: #e7e7e7;/*\n*-//*\n*-/}.WpDZC {/*\n*-//*\n*-/ /*\n*-/ color: #e3e3e3;/*\n*-//*\n*-//*\n*-/}.IIB0tc .ULpymb {/*\n*-//*\n*-/ background-color: #4e4e4e;/*\n*-/ /*\n*-//*\n*-/}.ULpymb .zHQkBf {/*\n*-//*\n*-/ color: #ececec;/*\n*-//*\n*-/}.ULpymb .snByac {/*\n*-//*\n*-/ color: #939393;/*\n*-//*\n*-/}.ncFHed {/*\n*-//*\n*-/ background: #363636;/*\n*-/ -moz-box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2);/*\n*-/ box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2);/*\n*-//*\n*-//*\n*-/}.ncFHed .MocG8c.KKjvXb {/*\n*-//*\n*-/ background-color: #202020;/*\n*-//*\n*-//*\n*-/}.jT5e9 {/*\n*-//*\n*-/ color: #dedede;/*\n*-//*\n*-/}.FpmPAb {/*\n*-//*\n*-/ background-color: #4e4e4e;/*\n*-//*\n*-/}.HLI7qf {/*\n*-//*\n*-/ /*\n*-/ background-color: #4e4e4e;/*\n*-/ /*\n*-//*\n*-/}.HLI7qf .c7fp5b {/*\n*-//*\n*-/ color: #e1e1e1;/*\n*-//*\n*-/}/*\n*-//*\n*-//*\n*-/.xWId8e {/*\n*-//*\n*-/ /*\n*-/ background-color: #454545;/*\n*-/ /*\n*-//*\n*-/}.a0xMze {/*\n*-//*\n*-/ background: #303030;/*\n*-//*\n*-/}.MDfQ7 {/*\n*-//*\n*-/ /*\n*-/ background-color: #232323;/*\n*-/ /*\n*-/ -moz-box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14),0 3px 3px -2px rgba(0,0,0,0.12),0 1px 8px 0 rgba(0,0,0,0.2);/*\n*-/ box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14),0 3px 3px -2px rgba(0,0,0,0.12),0 1px 8px 0 rgba(0,0,0,0.2);/*\n*-/ /*\n*-//*\n*-/} /*\n*-/.O1gyfd {/*\n*-//*\n*-/ /*\n*-/ color: #e3e3e3;/*\n*-//*\n*-/}.LGMdbc {/*\n*-//*\n*-/ /*\n*-/ color: #fff;/*\n*-/ /*\n*-//*\n*-/}.uFmiXb.RDPZE .snByac {/*\n*-//*\n*-/ color: rgba(255, 255, 255, 0.4);/*\n*-//*\n*-/} .oj6B2e {/*\n*-//*\n*-/ color: #c5c5c5;/*\n*-/ /*\n*-//*\n*-/}.jZ0DTb {/*\n*-//*\n*-/ /*\n*-/ background-color: #393939;/*\n*-/ /*\n*-//*\n*-/}.OOp5xb {/*\n*-//*\n*-/ /*\n*-/ color: #e3e3e3;/*\n*-/ /*\n*-//*\n*-/}.KaL5Wc {/*\n*-/ color: #4d4d4d;/*\n*-/}.HLI7qf {/*\n*-/ background-color: #efefef;/*\n*-/}.Cd9hpd .NlWrkb {/*\n*-/ color: #454545;/*\n*-/}.v83gc {/*\n*-/ background-color: #808080;/*\n*-/ /*\n*-/} /*111111111111111111*-/ .H7IzGb {/*\n*-/ border-left: #969696 1px solid;/*\n*-/ /*\n*-/}.SU7tYb {/*\n*-/ border-right: #969696 1px solid;/*\n*-/ /*\n*-/}.G5v83e {/*\n*-/ border-top: #969696 1px solid;/*\n*-/ /*\n*-/}.YvjgZe {/*\n*-/ border-right: #969696 1px solid;/*\n*-/ /*\n*-/}.GENA3c {/*\n*-/ border-right: #969696 1px solid;/*\n*-/ background-color: #5d5d5d;/*\n*-/ }.pCoqfc, .MANBAf {/*\n*-/ font-size: 10px;/*\n*-/ color: #eaeaea;/*\n*-/}.Gk2izd {/*\n*-/ /*\n*-/ border-right: #969696 1px solid;/*\n*-/ /*\n*-/ border-bottom: #969696 1px solid;/*\n*-/ background-color: #2f2f2f;/*\n*-/ /*\n*-/} .KSxb4d.pCcXPe {/*\n*-/ color: #c2c2c2;/*\n*-/}.MmhHI.F262Ye {/*\n*-/ color: #b7d2ff;/*\n*-/}.MmhHI.N4XV7d {/*\n*-/ color: #fff;/*\n*-/}.NAFvr {/*\n*-/ background-color: #242424;/*\n*-/ transition: transform .1s linear;/*\n*-/}.Uu2hsf {/*\n*-/ color: rgba(221, 221, 221, 0.5);/*\n*-/}.ZGVUP .snByac {/*\n*-/ /*\n*-/ color: #d8d8d8;/*\n*-/}.ZGVUP:hover {/*\n*-/ background-color: #1a1a1a;/*\n*-/}.mKdssd {/*\n*-/ /*\n*-/ background-color: #848484;/*\n*-/ /*\n*-/}.qAeuG.pCcXPe {/*\n*-/ color: #c9c9c9;/*\n*-/}.L1Ysrb {/*\n*-/ /*\n*-/ border-bottom: #969696 1px solid;/*\n*-/}.akJTWe {/*\n*-/ border-right: #969696 1px solid;/*\n*-/ width: 32px;/*\n*-/ text-align: center;/*\n*-/ padding-top: 8px;/*\n*-/ color: #e3e3e3;/*\n*-/}.P1ekSe-ZMv3u-haAclf{color: #fff;}/*\n*-//*\n*-/.JE11kf { /*\n*-/ background: #595959;/*\n*-/}.C188rb { /*\n*-/ color: #efefef; /*\n*-/}.Gw6Zhc {/*\n*-/ /*\n*-/ font-family: "Material Icons Extended" !important ; /*\n*-/} /*\n*-/ .t8qpF {/*\n*-//*\n*-/ /*\n*-/ background: #6f6f6f;/*\n*-//*\n*-/}.wy3aMe {/*\n*-//*\n*-/ /*\n*-/ top: -5px;/*\n*-/ position: relative;/*\n*-//*\n*-/}.pqE3fc .wy3aMe {/*\n*-//*\n*-/ color: #cee0ff;/*\n*-/ /*\n*-//*\n*-/}.ef2wWc {/*\n*-//*\n*-/ background-color: #5e6f7a;/*\n*-//*\n*-/} .S4zwaf a:link, .S4zwaf a:visited, .S4zwaf a:active, .S4zwaf a:hover {/*\n*-/ color: #9ebef2;/*\n*-/ text-decoration: underline;/*\n*-/}.kap9Ye {/*\n*-/ color: rgba(255, 255, 255, 0.5);/*\n*-/} .ThdJC.KKjvXb {/*\n*-/ color: #afc8f2;/*\n*-/}.WwvKTc {/*\n*-/ background-color: #afc8f2;/*\n*-/ /*\n*-/}.shdZ7e .zHQkBf {/*\n*-/ color: #e0e0e0 !important /*\n*-/ /*\n*-/}.ndJi5d {/*\n*-/ color: rgba(201, 201, 201, 0.4) !important /*\n*-/ /*\n*-/}.nYqxP {/*\n*-/ color: #bfbfbf !important /*\n*-/}.CCRNT {/*\n*-/ color: #bfbfbf !important /*\n*-/}.qmv2fc.kaAt2 {/*\n*-/ color: #bababa !important /*\n*-/ /*\n*-/}.BvQsje {/*\n*-/ background-color: #353535 !important /*\n*-/ /*\n*-/} html.gr__calendar_google_com body,html.gr__calendar_google_com ,body,html,html body{background:#393939 !important; background-color:#393939 !important;background-image:none important ;} .mmsF1c::after { border-bottom: #969696 1px solid;} .gb_ce {/*\n*-/ /*\n*-/ filter:sepia(40%)invert(80%)contrast(140%)brightness(120%) !important ;/*\n*-/}.gb_9a {/*\n*-/ /*\n*-/ filter: invert(100%)sepia(0%) !important ;/*\n*-/} .gb_ce .rF3YF { color: rgba(0,0,0,0.54) !important ; fill: rgba(0,0,0,0.54) !important ;} .gb_Bb {/*\n*-/ /*\n*-/ filter: invert(100%);/*\n*-/}img.gb_Wa {/*\n*-/ /*\n*-/ filter: invert(100%);/*\n*-/}/*\n*-//*\n*-//*\n*-//*\n*-/.gb_ua a {/*\n*-/ /*\n*-/ filter: invert(100%);/*\n*-/}img.gb_Wa {/*\n*-/ /*\n*-/ filter: invert(100%);/*\n*-/} .DyOaYd {/*\n*-/ /*\n*-/ background-color: #4e4e4e;/*\n*-/ /*\n*-/}.HLI7qf {/*\n*-/ background-color: #4e4e4e;/*\n*-/}/*\n*-//*\n*-//*\n*-/
*/