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
  • Save b6t/94690e633420911c94e7562b1a2321cb to your computer and use it in GitHub Desktop.
Save b6t/94690e633420911c94e7562b1a2321cb to your computer and use it in GitHub Desktop.

Revisions

  1. Ahmed Hassanein renamed this gist Oct 18, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Ahmed Hassanein created this gist Oct 18, 2017.
    16 changes: 16 additions & 0 deletions Dark mode for Slack on MacOS
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    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!