Skip to content

Instantly share code, notes, and snippets.

@puzzlepeaches
Forked from a7madgamal/dark.md
Created July 17, 2018 00:04
Show Gist options
  • Save puzzlepeaches/9ddeefe8b372ff4d537de79883a27372 to your computer and use it in GitHub Desktop.
Save puzzlepeaches/9ddeefe8b372ff4d537de79883a27372 to your computer and use it in GitHub Desktop.
Dark mode for Slack on MacOS
  1. Close slack
  2. Open this file /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js
  3. Append this to it
document.addEventListener('DOMContentLoaded', function() {
 $.ajax({
   url: 'https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css',
   success: function(css) {
     $("<style></style>").appendTo('head').html(css);
   }
 });
});
  1. Open slack and enjoy the darkness!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment