Added github colors for Greasemonkey

This commit is contained in:
Tobias Schmidl 2014-03-20 14:24:38 +01:00
parent cdda7c6a17
commit a71e19989b

View file

@ -0,0 +1,27 @@
// ==UserScript==
// @name GitHub Solarized Light
// @namespace https://www.schtobia.de/
// @version 0.1.0
// @description A light Solarized style for viewing source code on GitHub.
// @author schtobia
// @include http://github.com/*
// @include https://github.com/*
// @include http://*.github.com/*
// @include https://*.github.com/*
// @exclude http://github.com/*/raw/*
// @exclude https://github.com/*/raw/*
// @exclude http://*.github.com/*/raw/*
// @exclude https://*.github.com/*/raw/*
// @exclude http://raw.github.com/*/
// @exclude https://raw.github.com/*/
// @resource solarized-light https://github.com/schtobia/github-solarized/raw/master/solarized-light.css
// @resource solarized-dark https://github.com/schtobia/github-solarized/raw/master/solarized-dark.css
// @downloadURL https://github.com/schtobia/greasemonkey/raw/master/github-solarized-light.user.js
// @updateURL https://github.com/schtobia/greasemonkey/raw/master/github-solarized-light.user.js
// @run-at document-end
// @grant GM_addStyle
// @grant GM_getResourceText
// ==/UserScript==
//
GM_addStyle(GM_getResourceText("solarized-light"));