Created
August 17, 2017 00:53
-
-
Save jgraham-gpsw/68a4d1689cce9798b5846485633bb700 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
// 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') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment