jojojames / dired-sidebar

Sidebar for Emacs leveraging Dired
GNU General Public License v3.0
506 stars 22 forks source link

Font customization lost after version update #75

Closed facundoolano closed 1 year ago

facundoolano commented 2 years ago

Hi! I recently upgraded the version of dired-sidebar and I noticed it changed how the font looks, particularly it seems like it doesn't "inherit" the font I use elsewhere and it also ignores the height config I was using:

(customize-set-variable 'dired-sidebar-use-custom-font t)
(customize-set-variable 'dired-sidebar-no-delete-other-windows t)
(setq dired-sidebar-face '(:height 120))

(custom-set-faces
 '(dired-directory ((t (:foreground "DodgerBlue3" :height 130 :background nil :weight normal))))
 '(all-the-icons-dired-dir-face ((((background light)) :foreground "DodgerBlue3" :height 130 :background nil :weight normal)))
 '(dired-header ((t (:foreground "gray" :height 120  :background nil :weight normal)))))

I suspect this is related to the recent face type commits, but I couldn't figure out how to adapt my config to it.

Before:

image

After:

image
jojojames commented 2 years ago

(customize-set-variable 'dired-sidebar-use-custom-font t) ?