dracula / emacs

🧛🏻‍♂️ Dark theme for Emacs
https://draculatheme.com/emacs
MIT License
330 stars 87 forks source link

How to change the background of selection hightlighting? #77

Closed davidshen84 closed 3 years ago

davidshen84 commented 3 years ago

In the screenshot, I started selecting from the last c at the top, but there's no visual indication because the colour of that section is also bright yellow.

image

Currently, the theme only changes the font colour of the selection and it can conflict with cod highlighting in some cases.

Is there's a way to change the background colour of the selected region?

milouse commented 3 years ago

Hi,

Sorry for the long silence, it seems I never receive these notifications :/ Or I remove them by errors in my mailbox.

Your problem is weird because the selection should have a yellow background and a dark font color (the inverse of what you have). So maybe you are using a custom mode badly supported at this time. Can you precise what kind of document your are editing and the mode you are using?

Thank you very much

davidshen84 commented 3 years ago

I think it is a theme clash issue. I have multiple theme packages installed with use-package. I think some other themes override some default value that dracula assumed to use the default value.

After disable other themes, this theme works nicely. Thanks!

milouse commented 3 years ago

Thank you for your reply!