On mac:
vi /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js
If you trust me, append this ajax call to the css for dark theme:
// Dark theme
document.addEventListener('DOMContentLoaded', function() {
$.ajax({
url: 'https://raw.githubusercontent.com/adeebahmed/slack-night-mode/master/css/raw/black.css',
success: function(css) {
$("<style></style>").appendTo('head').html(css);
}
});
});
If you don't trust me: (recommended)
- Fork this repo
- Add {YOUR-URL} where it says "url:"
- {YOUR-URL} will probably look something like: https://raw.githubusercontent.com/{YOUR-GITHUB-USERNAME}/slack-night-mode/master/css/raw/black.css
// Dark theme
document.addEventListener('DOMContentLoaded', function() {
$.ajax({
url: '{YOUR-URL}',
success: function(css) {
$("<style></style>").appendTo('head').html(css);
}
});
});
Kill the slack app, then reopen it.
Your slack will now look like this:
###########################################################################################################################
A user style for easy Slack theming. CC0.
This theme requires that you use a user styles extension for your browser, such as Stylus (available for Firefox, Chrome, and Opera).
No official support. Workarounds exist.
🛑 READ FIRST: Most workarounds will request the compiled CSS file from this repository. You are strongly discouraged from using a remote CSS file. It's recommended that you create your own copy. An XSS attack could put your Slack client at risk.
The pr 71CE imary supported theme. This is an excellent theme if you use a program like f.lux or redshift.
This is based on Slack's aubergine/maroon style. It's the original theme.
- Arc (source - build) by @Lemmmy
- Midnight Blue (source - build) by @matt-h
- Tomorrow Dark (base16) (repository) by @danarnold
- Solarized Dark (source - build) by @glostis
- Solarized Light (source - build) by @glostis
Variants can have extensions which add additional changes.
Monospaced (source)
Replaces the messaging font stack with a monospace font stack.


