Skip to content

Instantly share code, notes, and snippets.

@wudi
Forked from tadast/Paint slack black.md
Created September 10, 2020 03:56
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 wudi/a7acf09abcf9b3451d94fdee566d1152 to your computer and use it in GitHub Desktop.
Save wudi/a7acf09abcf9b3451d94fdee566d1152 to your computer and use it in GitHub Desktop.
Update the Mac Desktop slack CSS

In the console

export SLACK_DEVELOPER_MENU=true
open /Applications/Slack.app

In slack UI

right-click on anything -> inspect element

In the Inspector console

var cssURI = 'https://gist.githubusercontent.com/tadast/5b6624f69d75667b997cd97844e159cb/raw/c1f0c7b0409bf16db49426916cd90940737b8c7f/slack%2520dark%2520scheme.css';
$.get(cssURI).then(function(css) {
   $('<style />').text(css).appendTo('body')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment