-
-
Save b6t/94690e633420911c94e7562b1a2321cb to your computer and use it in GitHub Desktop.
Dark mode for Slack on MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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