-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike Mail #3
Comments
Hey, Try this custom js code
If it works i'll make a pull request. |
Work's like a charm! Thanks! |
Great! ;) |
Could you make a dark theme too? |
Right now i don't really have time to, but its not a big deal, you only need to create some custom css & inject it the same way you did with the js code. try to do it by yourself it's a good learning exercise 👍 |
Thanks, i'll try! |
I made my own dark theme to Spike, using function applycss(css){
var head = document.getElementsByTagName('head')[0];
var s = document.createElement('style');
s.setAttribute('type', 'text/css');
s.appendChild(document.createTextNode(css));
head.appendChild(s);
}
applycss(`
body {filter: invert(100%)}
iframe {filter: invert(100%)}
img {
-webkit-filter: invert(1);
filter: invert(1)
}
img.icon {filter: invert(0%)}
#oWIP {filter: invert(100%)}
.attachemoji {filter: invert(100%)}
.bubble .body .emojitext {filter: invert(100%)}
.bubble a {filter: invert(100%)}
.bubble div div div div {filter: invert(100%)}
.bubble-wrapper {filter: invert(100%)}
.button {filter: invert(100%)}
.button img {filter: invert(0%)}
.button .icon {filter: invert(100%)}
.checkbox {filter: invert(100%)}
.emojiCategory {filter: invert(100%)}
.emojiCategory.emojiCategory {filter: invert(100%)}
.emojiCategory.selected {filter: invert(100%)}
.on {filter: invert(100%)}
.person .name {filter: invert(100%)}
.separatorBottom div {filter: invert(100%)}
.separatorBottom .picture-border {filter: invert(100%)}
.separatorBottom .title {filter: invert(0%)}
.separatorBottom .subtitle {filter: invert(0%)}
.status {filter: invert(100%)}
`); |
Update spike-dark.js and README.MD with Spike Dark screenshot #3
Could you make a css to get Spike unread messages count on custom service?
The text was updated successfully, but these errors were encountered: