I'd love to have treemacs (the whole sidebar) having a different color than the rest of my theme. Is it planned to be implemented?
I don't think its naturally possible with how buffers get their colors. I think treemacs would need to have its own default face which other theme authors can customize. Also I think treemacs would need to paint the whole window.
https://stackoverflow.com/questions/4532024/different-color-themes-per-mode-in-emacs
Gotcha, i've come across that link too when researching for this topic. Since it doesn't feel like something that can directly be actionable by Treemacs contributors, I'll close this issue.
Btw. I love this package a bunch! Great job mate.
Actually it might be possible via face remapping. Something like this could do the trick:
(with-current-buffer (treemacs-get-local-buffer)
(setq-local face-remapping-alist
'((default . (:background "#1d1d1d")))))
I just need to pack it into a proper mode and make sure I correct some other faces manually as well.
Actually, I got the effect I wanted with solaire-mode, now I got something like this:

Actually it might be possible via face remapping. Something like this could do the trick:
(with-current-buffer (treemacs-get-local-buffer) (setq-local face-remapping-alist '((default . (:background "#1d1d1d")))))I just need to pack it into a proper mode and make sure I correct some other faces manually as well.
i done ,but when I restart ,it is errored (void-function treemacs-get-local-buffer)
@354651432 See my answer in #732. The code here is also just a basic proof of concept, not even close to a proper solution. If this is a feature you really want right now you can use solaire-mode as @ianpan870102 suggested.
treemacs-window-background-color is in now.
Let me know if I've forgotten to recolor something.
Most helpful comment
Actually, I got the effect I wanted with
solaire-mode, now I got something like this: