Skip to content

Instantly share code, notes, and snippets.

@pdsullivan
Created February 27, 2017 00:45
Show Gist options
  • Save pdsullivan/1da0568491e07f613fd215ecd60031f0 to your computer and use it in GitHub Desktop.
Save pdsullivan/1da0568491e07f613fd215ecd60031f0 to your computer and use it in GitHub Desktop.
turn on slack desktop dark theme
  1. set export SLACK_DEVELOPER_MENU="true"
  2. open -a "slack"
  3. view -> developer -> toggle developer tools
  4. Paste the below code into the console and run it.
var cobaltUrl = 'https://gist.githubusercontent.com/pdsullivan/32bad68541ccb66ae6d4948f7c9e88bb/raw/f22e0f5de5ff25d2c06337e8a0ea1ce25885b0e4/cobalt.css';
$.get(cobaltUrl).then(function(css) {
   $('<style />').text(css).appendTo('body')
});
var slackDarkThemeUrl = 'https://gist.githubusercontent.com/gkostov/039fe18fac0c27a4350b274f83403dcb/raw/slack-dark-theme.css';
$.get(slackDarkThemeUrl).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