Skip to content

Instantly share code, notes, and snippets.

@michaeltrobinson
Created June 15, 2016 17:00
Show Gist options
  • Save michaeltrobinson/d853aa59ce1e2b82ba24346a443575f6 to your computer and use it in GitHub Desktop.
Save michaeltrobinson/d853aa59ce1e2b82ba24346a443575f6 to your computer and use it in GitHub Desktop.
Slack Dark Theme Injection
Run this in any chat window:
/macgap.app.enabledevelopertools()
Right click anywhere and "Inspect Element".
Then run this in the javascript console:
var cssURI = 'https://gist.githubusercontent.com/michaeltrobinson/c02bc96926e14712e231e655d44c2989/raw/a9777af52c39bffec1d6652d0e2bc0362d12a407/slack-dark-theme.css';
$.get(cssURI).then(function(css) {
$('<style />').text(css).appendTo('body')
});
@carlmlane
Copy link

thanks for this!

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