Skip to content

Instantly share code, notes, and snippets.

@indradhanush
Forked from a7madgamal/dark.md
Created August 31, 2018 10:08
Show Gist options
  • Save indradhanush/97b27ca242a6c61cee203c14e50668a7 to your computer and use it in GitHub Desktop.
Save indradhanush/97b27ca242a6c61cee203c14e50668a7 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