muffinmad / emacs-mini-frame

Show minibuffer in child frame on read-from-minibuffer
GNU General Public License v3.0
321 stars 20 forks source link

How to add custom colors? #49

Closed rawhuul closed 3 years ago

rawhuul commented 3 years ago

image

Hey Dev!! As you can see above, due to theme, default options are not highlighted. I tried to dig a bit but due to lack of knowledge, I couldn't able to find any solution for that. I only able to found that Mini Frame get colors from mini-frame-get-background-color function.

Is there any workaround or option to change background, foreground and highlighted option color?

muffinmad commented 3 years ago

Hi @basicfunc

It depends on completion framework you are using. Does it looks different with mini-frame mode turned off?

rawhuul commented 3 years ago

Hey, I'm using selectrum and yes it does look different when mini-frame turned off! image As you can see in the above screenshot vterm is highlighted.

muffinmad commented 3 years ago

I see.

Set the background-color parameter in the mini-frame-show-parameters variable or decrease the value of the mini-frame-color-shift-step variable.

rawhuul commented 3 years ago

I see.

Set the background-color parameter in the mini-frame-show-parameters variable or decrease the value of the mini-frame-color-shift-step variable.

Thanks, that worked