Slack a dark theme with Tomorrow Night colors [Discontinued]
![Slack a dark theme with Tomorrow Night colors [Discontinued]](/content/images/size/w2000/2018/02/slack-tomorrow-theme.png)
Discontinued
Slack now includes a dark theme, this theme is discontinued.
Today, I want to share my theme for Slack, this is a dark theme based on colors from the Tomorrow Night scheme and inspired in my current VScode setup.
Something important before continues talking about the theme, is that Slack does not have support to use custom themes, so it is time-consuming to create and make the theme looks good it will have some glitches, and it continues in development.
Installation:
You will need to modify a slack file in your system ssb-interop.js
the path is different and depends of your OS:
- MacOS:
/Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js
- Windows:
C:\Users\<user>\AppData\Local\slack\app-<slack-version>\resources\app.asar.unpacked\src\static\ssb-interop.js
In the end of the file, you need to add this lines of code:
document.addEventListener('DOMContentLoaded', function() {
$.ajax({
url: 'https://cdn.jsdelivr.net/gh/wdiazux/slack-tomorrow-theme/dist/custom.css',
success: function(css) {
$("<style></style>").appendTo('head').html(css)
}
});
});
NOTE:
Another thing that is very important is that you need to repeat the steps in every Slack update.
The code is on GitHub, and you are free to comment or help in the development.
https://github.com/wdiazux/slack-tomorrow-theme