Created
June 6, 2019 14:38
-
-
Save boardstretcher/91f5a5998a570d4e22b3100f9977f43e to your computer and use it in GitHub Desktop.
slack dark mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('DOMContentLoaded', function() { | |
$.ajax({ | |
url: 'https://cdn.jsdelivr.net/gh/laCour/slack-night-mode/css/raw/black.css', | |
success: function(css) { | |
let overrides = ` | |
code { background-color: #535353; color: #85c5ff; } /* Change color: to whatever font color you want */ | |
.c-mrkdwn__pre, .c-mrkdwn__quote { background: #535353 !important; background-color: #535353 !important; } | |
` | |
$("<style></style>").appendTo('head').html(css + overrides); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment