AngelSix Blog

Software, Hardware and anything else


Twitter at AngelSix Open Source efforts at angelsix

Slack Dark Theme

12 Sep 2017, written by angelsix Luke Malpass

As many of you who follow what I do will know, I like things dark. I don’t like the white glare of a computer screen.

I am sure at least some of you use Slack for your work communications? If not I strongly recommend you check it out.

The only down-side is it doesn’t yet have a dark theme. So looking around the internet I found plenty of ways to do it by just editing the Electron app javascript files and injecting a custom css sheet.

So, in order to do this now before Slack officially supports it, do the following:

document.addEventListener('DOMContentLoaded', function() {
  $.ajax({
    
    url: 'https://raw.githubusercontent.com/angelsix/youtube/develop/Windows%2010%20Dark%20Theme/Slack/slack-dark.css',
    success: function(css) {
      $("<style></style>").appendTo('head').html(css);
    }
  }); 
 });

taskbar-image

slack-dark

< Back to blog