Alexander-Miller / treemacs

GNU General Public License v3.0
2.12k stars 155 forks source link

Change height of all fonts using treemacs-faces group #1031

Open sethen opened 1 year ago

sethen commented 1 year ago

Wondering if there is an easy to change all of the fonts for treemacs at a time? I've tried looping through the face group to no avail:

;; Iterate through all faces in the treemacs-faces group
(dolist (face (face-list))
  (when (eq (face-attribute face :group) 'treemacs-faces)
    ;; Modify each face using face-spec-set
    (face-spec-set face '((t (:height 0.8))))))

Emacs just throws an error telling me that treemacs-faces doesn't exist. Looking at the source code I can see all of the faces belong to the treemacs-faces group so I am wondering why this doesn't work?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.