Skip to content

Instantly share code, notes, and snippets.

@kureikei
Last active May 17, 2017 14:03
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kureikei/2f355af204d3736786e5fa24d0549d3c to your computer and use it in GitHub Desktop.
var c=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"],i=0;$$(".blob-code").forEach(function(v){v.innerHTML = v.innerText.replace(/./g,function(s){return '<span style="color:#'+c[i++%c.length]+'">'+s+'</span>'})})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment