Pages

Wednesday 24 July 2019

Slack Dark Theme in Windows 10

I found where the ssb-interop file is. Here are the steps:
  • Make sure Slack is not running/in the background. Navigate to C:\Users\USERNAME\AppData\Local\slack\app-4.0.0\resources
  • Open app.asar as an archive via 7-zip. 7-zip cannot do this normally you will need an extension. I used Asar7z plugin. Download the plugin as zip and extract it in your 7-Zip installation directory under the "Formats" folder.
  • Now you will be able to open the app.asar file using 7-Zip.
  • In the archive, navigate to the /dist/ folder
  • Search for ssb-interop.bundle.js and open it
  • Append the usual CSS style you use. I personally add this:
    document.addEventListener('DOMContentLoaded', function() { $.ajax({ url: 'https://raw.githubusercontent.com/laCour/slack-night-mode/master/css/raw/black.css', success: function(css) { $("<style></style>").appendTo('head').html(css); } }); });
  • Save the file. 7-Zip will prompt you if you want to update the archive, say yes of course
  • Close 7-Zip. Now reopen Slack and enjoy the dark mode.

No comments:

Post a Comment