Skip to content

Instantly share code, notes, and snippets.

@kgust
Forked from a7madgamal/dark.md
Created December 4, 2018 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgust/0c630640ec6322f8d0ae664fd93549bf to your computer and use it in GitHub Desktop.
Save kgust/0c630640ec6322f8d0ae664fd93549bf 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