Skip to content

Instantly share code, notes, and snippets.

@ruggertech
Forked from jgraham-gpsw/black-slack
Last active June 5, 2018 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruggertech/5427683eb911954e38e10e66c715d51c to your computer and use it in GitHub Desktop.
Save ruggertech/5427683eb911954e38e10e66c715d51c to your computer and use it in GitHub Desktop.
/**
* add this code to the file ssb-interop.js
* you can find it by going to Applications -> Slack
* -> right click "show package content" -> /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static
*/
var cssURI = 'https://gist.githubusercontent.com/ruggertech/75b250418eaf6fa6a801ce897208f6c4/raw/a222b16c5a5d7d732624d8d9cd9c3ef17aa3e40f/slack-theme.css';
$.get(cssURI).then(function(css) {
$('<style />').text(css).appendTo('body')
});
@ruggertech
Copy link
Author

use this code to apply black theme to slack.

add this code to the file ssb-interop.js
you can find it by going to Applications -> Slack
-> right click "show package content" -> /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static

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