Last active
November 16, 2018 13:18
-
-
Save simontong/98afe13c480d0718c7b1ab77888aae83 to your computer and use it in GitHub Desktop.
Slack Dark Theme
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
| echo ' | |
| document.addEventListener("DOMContentLoaded", function() { | |
| const css = ` | |
| html { | |
| filter: invert(90%) hue-rotate(180deg); | |
| } | |
| img, | |
| video, | |
| .c-icon, | |
| .c-message_attachment__image, | |
| .c-message_attachment__thumb, | |
| .c-message_attachment__video, | |
| .emoji-outer, | |
| .filetype_icon, | |
| .filetype_image, | |
| .member_image, | |
| .p-channel_sidebar__channel:before, | |
| .ts_icon, | |
| .unread_empty_state_emoji | |
| { | |
| filter: invert(100%) hue-rotate(180deg); | |
| } | |
| `; | |
| const style = document.createElement("style"); | |
| style.appendChild(document.createTextNode(css)); | |
| document.head.appendChild(style); | |
| }); | |
| ' | sudo tee --append /usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment