Skip to content

Instantly share code, notes, and snippets.

@protoEvangelion
Forked from a7madgamal/dark.md
Last active November 21, 2018 15:20
Show Gist options
  • Save protoEvangelion/4f9d8c3b2f8471e7037a985602cd8a19 to your computer and use it in GitHub Desktop.
Save protoEvangelion/4f9d8c3b2f8471e7037a985602cd8a19 to your computer and use it in GitHub Desktop.
Dark Dracula mode for Slack on MacOS

Inspired by: https://gist.github.com/a7madgamal/c2ce04dde8520f426005e5ed28da8608

  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/protoEvangelion/45cefed63be646fab34a9b9c117888f5/raw/2fa5d6527f8e15f7cd4208b984c9ec28353a9609/slack-dracula.css',
    success: function(css) {
      $("<style></style>").appendTo('head').html(css);
    }
  });
 });
  1. Open slack and enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment