/slack-night-mode

A Stylus style for easy Slack theming

Primary LanguageCSSCreative Commons Zero v1.0 UniversalCC0-1.0

Slack Night Mode

A user style for easy Slack theming. CC0.

Black Screenshot

Usage

Desktop App

Find your Slack's application directory.

Windows: %homepath%\AppData\Local\slack\
Mac: /Applications/Slack.app/Contents/
Linux: /usr/lib/slack/ (Debian-based)

Open up the following file resources/app.asar.unpacked/src/static/ssb-interop.js and at the very bottom, add

document.addEventListener('DOMContentLoaded', function() {
$.ajax({
  url: 'https://raw.githubusercontent.com/vumik/slack-night-mode/master/css/raw/black.css',
  success: function(css) {
    $("<style></style>").appendTo('head').html(css);
  }
});
});

That's it! Restart Slack and see how well it works.

Important: You'll have to do this every time Slack updates.

Browser

This theme requires that you use a user styles extension for your browser, such as Stylus (available for Firefox, Chrome, and Opera).