rainstormstudio / nerd-icons.el

GNU General Public License v3.0
206 stars 22 forks source link

how can I force all icons in the same color #80

Closed ydzhou closed 2 months ago

ydzhou commented 2 months ago

I want to use the same color for all the icons on treemacs and dired. Is there a easy way to do that instead of overriding every icons in alist?

seagle0128 commented 2 months ago

(setq nerd-icons-color-icons nil).

ydzhou commented 2 months ago

Nope not working.. the treemacs icons are still colorful

ydzhou commented 2 months ago

Okay dired one is working... do you know how to make it work for treemacs?

seagle0128 commented 2 months ago

Okay dired one is working... do you know how to make it work for treemacs?

You should use treemacs-nerd-icons or define your own theme.

(use-package treemacs-nerd-icons
    :demand t
    :config (treemacs-load-theme "nerd-icons"))
ydzhou commented 2 months ago

Yes. I am using treemacs-nerd-icons. But it is not respecting nerd-icons-color-icons

ydzhou commented 2 months ago

I'll open a new issue in treemacs-nerd-icons then

seagle0128 commented 2 months ago

I don't think so. In my env, treemacs-nerd-icons respects nerd-icons-color-icons.

image
ydzhou commented 2 months ago

Yeah it's a mistake in my config. It is working now. The nerd-icon config has to be loaded before I load my treemacs-nerd-icon theme. Thanks!