Skip to content

Instantly share code, notes, and snippets.

@shhac
Last active March 16, 2018 14:47
Show Gist options
  • Save shhac/6164314be581cff81cbcc228cf7b6fa4 to your computer and use it in GitHub Desktop.
Save shhac/6164314be581cff81cbcc228cf7b6fa4 to your computer and use it in GitHub Desktop.
Slack additions for night mode
.emoji, .emoji-outer {
filter: invert(1) hue-rotate(180deg) contrast(1.3) saturate(1.4);
}
.c-message_attachment__thumb, .c-message_attachment__video_thumb {
filter: invert(1) hue-rotate(180deg) contrast(1.3) saturate(1.4);
}
.c-message_attachment__image {
filter: invert(1) hue-rotate(180deg) contrast(1.3) saturate(1.4);
}
@shhac
Copy link
Author

shhac commented Mar 16, 2018

You must also include generic night mode for this to work as expected
https://gist.github.com/shhac/012b557b189449da76e6718802a50b7a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment