Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set pdf-view-midnight-colors are overwritten by bg, fg in themes #284

Open
iagogv3 opened this issue Jun 12, 2024 · 0 comments
Open

Set pdf-view-midnight-colors are overwritten by bg, fg in themes #284

iagogv3 opened this issue Jun 12, 2024 · 0 comments

Comments

@iagogv3
Copy link

iagogv3 commented Jun 12, 2024

I had in my configuration file

(pdf-tools-install)
(require 'pdf-tools)
(add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode)
(setq pdf-view-midnight-colors '("#FFFF00" . "#000000"))
(require 'doom-themes)
(load-theme 'doom-acario-dark t)

Loading the doom theme after setting pdf-view-midnight-colors overwrites it, as I could check through C-h v pdf-view-midnight-colors, where the current value was that set to fg and bg as defined in https://github.com/doomemacs/themes/blob/master/themes/doom-acario-dark-theme.el

Is such behaviour documented? In that case, where? Could this be avoided?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant