Slack Dark Mode/Custom CSS


(Blake Smith) #1

:bulb: SUMMARY
Your need in one sentence

Native Slack Darkmode you can edit /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js and add an event listener to onload load a dark theme for slack. Would be nice to be able to have Slack Dark mode in station.
Link to GitHub for default App OSX darkmode:


(Bob Weston) #2

For what it’s worth, I haven’t figured out how to make it happen automatically when Station loads a Slack team, but taking the contents of the anonymous function that’s used as the DOMContentLoaded event handler in the example above (or similar approaches) and running it directly in the console in Station (View -> Developer - > Toggle Page Developer Tools) seems to work for applying the theme after the fact.