Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dark mode snipped for slack
/**
* Enable this for dark mode
*/
document.addEventListener('DOMContentLoaded', function() {
$.ajax({
url: 'https://gist.githubusercontent.com/sandheepgr/c3c3fa065ffb33d1165438ebb32edec3/raw/7ff92b87f563a5add1361778120002f866d23476/slack-night-mode-custom.css',
success: function(css) {
$("<style></style>").appendTo('head').html(css);
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.