slack-black-theme icon indicating copy to clipboard operation
slack-black-theme copied to clipboard

Broken with latest Slack 3.0.0 update (macOS)

Open jcredmond opened this issue 8 years ago • 20 comments

jcredmond avatar Dec 11 '17 10:12 jcredmond

Doesn't work for me either.

I would really appreciate it this get's fixed. Thanks!

al-k21 avatar Dec 11 '17 10:12 al-k21

I found a fix for Ubuntu. instead of changing the /usr/lib/slack/app.asar.unpacked/src/static/index.js i changed this file /usr/lib/slack/app.asar.unpacked/src/static/ssb-interop.js, where i put the same code from the Readme of the repo and it worked perfectly.

Found the solution by looking at a similar repo that had a similar issue, found the solution by reading the comment: https://github.com/laCour/slack-night-mode/issues/73#issuecomment-287467332

bogdanRada avatar Dec 11 '17 12:12 bogdanRada

bogdanRada solution worked for me in macOS Sierra, thank you!

nahuef avatar Dec 11 '17 15:12 nahuef

bogdanRada solution worked for me in macOS High Sierra, thanks! @jcredmond ^^

gtdeng avatar Dec 11 '17 18:12 gtdeng

@bogdanRada Thanks! Worked on macOS High Sierra - Slack 3.0.0.

kharagpur avatar Dec 12 '17 07:12 kharagpur

Worked for me as well! For clarity, the path on MacOS is now:

/Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js

mysteryDate avatar Dec 12 '17 14:12 mysteryDate

Worked for me too, thank you bogdanRada! macOS Sierra - Slack 3.0.0

Rarayeku avatar Dec 12 '17 15:12 Rarayeku

After killing all the processes on Ubuntu 16.04 this worked for me too

k3vb0t avatar Dec 13 '17 04:12 k3vb0t

bogdanRada's solution works on Windows 10 as well. Thanks!

For clarity, the Windows path to the file is: C:\Users\{username}\AppData\Local\slack\app-3.0.0\resources\app.asar.unpacked\src\static

nprezive avatar Dec 13 '17 21:12 nprezive

That location definitely modified the visual effects, but themes no longer match up. Do those need to be updated as well?

SeanWhipple avatar Dec 14 '17 15:12 SeanWhipple

Not working on Linux currently.

But it's working with https://github.com/laCour/slack-night-mode/issues/73#issuecomment-287467332

offlinehoster avatar Dec 14 '17 22:12 offlinehoster

Note: you need to modify both index.js and ssb-interop.js to get the full functionality (both sidebar and main content window) as before.

daviddob avatar Dec 16 '17 16:12 daviddob

Thanks @bogdanRada.

Also working on windows 10!

EDIT: I just found a little "issue" ygxcitb

CryptoSiD avatar Dec 19 '17 11:12 CryptoSiD

The solution from @bogdanRada worked great on Windows 10 with Slack 3.0.0! Thanks

Ralms avatar Jan 10 '18 15:01 Ralms

Seems like Slack updated smth internally, and after that messages' text color was always dark grey for me. Fixed it with:

   .c-message__body{
     color: #ffffff;
   }

yuyoyuppe avatar Jan 10 '18 20:01 yuyoyuppe

@yuyoyuppe where is this added?

hainesnr avatar Jan 10 '18 21:01 hainesnr

@hainesnr append it to rules in the let customCustomCSS

yuyoyuppe avatar Jan 11 '18 08:01 yuyoyuppe

@yuyoyuppe Thanks for posting that. Do you know how we could change the font color for the names on each post as well?

Cannellizer avatar Jan 11 '18 20:01 Cannellizer

@Cannellizer Not sure what you mean, though you could try inspecting html yourself by adding smth like this to the cssPromise callback:

setTimeout(function(){ 
var fs = require('fs');
  fs.appendFileSync("C:/slack.html", document.head.innerHTML + document.body.innerHTML); 

}, 10000);

It was a quick fix though, maybe there's a better way how to get html/style those of which I'm not aware. I think maintainers'll introduce a proper fix soon :)

yuyoyuppe avatar Jan 12 '18 08:01 yuyoyuppe

Names are still dark-grey after the patch :(

janoskranczler avatar Jan 15 '18 09:01 janoskranczler