Skip to content

Instantly share code, notes, and snippets.

@tadast
Last active July 14, 2023 04:00
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tadast/d98b35a79ea16af4acb62a682769916c to your computer and use it in GitHub Desktop.
Save tadast/d98b35a79ea16af4acb62a682769916c 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