Created
June 4, 2016 04:05
-
-
Save bnoden/59cceb852db8443c6bd099b295901280 to your computer and use it in GitHub Desktop.
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
(function bnoden() { | |
var body = document.querySelector('body'), cmLine = document.querySelectorAll('.CodeMirror-lines'), | |
cmVar = document.querySelectorAll('.cm-variable'), terminal = document.querySelectorAll('.CodeMirror-code'), | |
cmKey = document.querySelectorAll('.cm-keyword'), cmStr = document.querySelectorAll('.cm-string'), | |
c0de = document.querySelectorAll('code'); | |
(function paint(){ | |
body.style.background = '#CEF5D0' | |
for (var i = 0; i < cmVar.length; i++) | |
cmVar[i].style.color = '#FF7575' | |
for (var j = 0; j < cmLine.length; j++){ | |
cmLine[j].style.background = '#FFFFEB' | |
cmLine[j].style.color = '#3B3B2B' | |
} | |
for (var k = 0; k < cmKey.length; k++) | |
cmKey[k].style.color = '#18BABA' | |
for (var l = 0; l < cmStr.length; l++) | |
cmStr[l].style.color = '#0086CF' | |
for (var m = 0; m < c0de.length; m++){ | |
c0de[m].style.background = '#1C401E' | |
c0de[m].style.color = '#FFD2A6' | |
} | |
}()); | |
} () ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment