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
// Using ajax rather than a dynamically injected <link>, to account for sites (like gist.github.com) that don't serve | |
// a content-type for CSS files | |
var cssURI = 'https://gist.githubusercontent.com/DrewML/f244d6015c9b690b1dc241669b69dde1/raw/3d6351b8767ee5fba1ac86cad9b8cc5cf2ff9fea/slack-theme.css'; | |
$.get(cssURI).then(function(css) { | |
$('<style />').text(css).appendTo('body') | |
}); |