Skip to content

Instantly share code, notes, and snippets.

@b6t
Forked from a7madgamal/dark.md
Last active January 8, 2019 22:12
Show Gist options
  • Select an option

  • Save b6t/94690e633420911c94e7562b1a2321cb to your computer and use it in GitHub Desktop.

Select an option

Save b6t/94690e633420911c94e7562b1a2321cb 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);
}
});
});
```
4. Open slack and enjoy the darkness!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment