Using Helm, I noticed that helm isn't obeying (being compliant with) the theme colors, for example, on file selection?
Any simple way (preferably without messing on the theme file) to make helm comply with the theme colors?
Using emacs26 on linux
Using Helm, I noticed that helm isn't obeying (being compliant with) the theme colors, for example, on file selection?
Any simple way (preferably without messing on the theme file) to make helm comply with the theme colors?
Using emacs26 on linux
Copyright © 2021 Jogjafile Inc.
Simply...
If a theme doesn't have a configuration for the face in question, then that face won't be themed. A "face" is basically the term for the collection of properties of a given bit of text. For example, the lisp keyword
lambdahas the facefont-lock-keyword-face. By default this has the property:foreground Purplegiving you purple text on the default background. If I use a theme, Solarized for example,font-lock-keyword-facewill be set to#859900a lovely pale-ish green. Thuslambda(and any other bit of text defined as a "keyword") will be that color too.Now, if the text you're looking at has the face
helm-directory-selection-facefor example (I made that face name up. I don't usehelm), you'll be out of luck as you can see that Solarized doesn't have a config for forhelm-directory-selection-face. At this point you really have two options, 1) change the definition ofhelm-directory-selectionto use a different face or 2) addhelm-directory-selection-faceto your theme. If you want to do that, put the point (cursor) in the bit of text in question, then doC-u C-x =. This will generate a new*Help*window with all the properties at the point's location. Towards the bottom will be a small table of the text-properties. You'll want to add the value offaceto your theme.Most active theme authors are happy to take requests via their chosen support mechanism (github, email, etc.), especially if you provide a patch.
tl;dr
Just because a theme exists, doesn't mean that everything is themed. Add, the face in question to your theme, or hit up the theme's author, preferably with a patch.