Instantly share code, notes, and snippets.

What would you like to do?
[Dark Slack] How to hack Slack to get a dark theme #slack #css #hack

🔥 How to "Hack" Slack to get a dark theme. 🔥

Slack Dark Theme

❗️ Close Slack if it's running ❗️

Installing theme

In your favorite text editor, open the following file :

  • Windows C:\Users\<USERNAME>\AppData\Local\slack\app-<VERSION>\resources\app.asar.unpacked\src\static\ssb-interop.js
  • macOS Applications/
    • (To open, right click on Slack app icon and click on Show Package Contents)
  • Linux (tested on Fedora) /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js

and add the following line at the end of the openned file :

document.addEventListener('DOMContentLoaded', function() {
        url: '',
        success: function(css) {

Sidebar colors

To make your sidebar fit your new colors, you can specify directly in your preferences your sidebar colors! From your slack app, go to hamburger menu, then click Files > Preferences > Sidebar > Theme > Custom Theme then copy paste the following : #363636,#444A47,#D39B46,#FFFFFF,#434745,#FFFFFF,#99D04A,#DB6668

Sidebar Dark Colors

VOILA! Open slack and Enjoy! 💪


This comment has been minimized.

JaniMohammed commented Feb 9, 2018

i don't know please say some things


This comment has been minimized.


jonathanlaf commented Feb 9, 2018


This comment has been minimized.

BorisG commented Jul 18, 2018

It does not work on Windows if you’ve installed Slack via the Microsoft Store - Slack is not installed in the path specified here and the ssb-interop.js file is no where to be found…


This comment has been minimized.

arthurio commented Nov 1, 2018

Thanks @jonathanlaf, this is great :)


This comment has been minimized.

vanchisel commented Nov 21, 2018

Thanks @jonathanlaf, I spent 30 mins or more trying other themes. Yours work seamlessly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment