Incorrect background color in the Treemacs buffer
jumper047 opened this issue · 2 comments
jumper047 commented
What would you like to know?
Seems like one of the last commits to the Treemacs broke solaire-mode. I opened issue in it's repo - Alexander-Miller/treemacs#1024 . Just in case someone went here with same issue there is a workaround:
(push '(treemacs-window-background-face . solaire-default-face) solaire-mode-remap-alist)
(push '(treemacs-hl-line-face . solaire-hl-line-face) solaire-mode-remap-alist)
Alexander-Miller commented
A recent commit in treemacs introduced its own face remapping that can be used outside of solaire mode, like so:
(face-remap-add-relative 'default 'treemacs-window-background-face)
(face-remap-add-relative 'fringe 'treemacs-window-background-face)
(face-remap-add-relative 'hl-line 'treemacs-hl-line-face)
Based on the code snippet by @jumper047 solaire already has facilities to work around that, so I think it makes sense that the incompatibility should be resolved from within solaire-mode.