Created
January 26, 2017 16:09
-
-
Save krlohnes/19fc104c6dd128f42db3302def838839 to your computer and use it in GitHub Desktop.
Slack dark mode
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