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

Loading dracula theme breaks hl-line-mode for other themes #108

Open
YueRen opened this issue Dec 17, 2024 · 1 comment
Open

Loading dracula theme breaks hl-line-mode for other themes #108

YueRen opened this issue Dec 17, 2024 · 1 comment

Comments

@YueRen
Copy link

YueRen commented Dec 17, 2024

To reproduce the bug, start emacs with the following minimal init.el:

(require 'package)
(setq package-archives '(("elpa" . "https://elpa.gnu.org/packages/")
                         ("melpa" . "https://melpa.org/packages/")
                         ("org" . "https://orgmode.org/elpa/")))
(package-initialize)
(unless package-archive-contents (package-refresh-contents))

(use-package dracula-theme
  :if (display-graphic-p)
  :init
  (load-theme 'dracula t))

(global-hl-line-mode)

and switch the theme, e.g. M-x load-theme RET whiteboard. The result is:
Screenshot from 2024-12-17 10-33-05

Here is how it should look:
Screenshot from 2024-12-17 10-37-29

I get a similar visual bug in org-modern-mode, but I haven't been able to find a suitable minimal config yet.

@YueRen
Copy link
Author

YueRen commented Jan 4, 2025

Small update, this could actually be a problem with the theme I am switching to. At least I do not encounter the problem when switching to the Alucard theme. If that is indeed the case, please feel free to close this issue.

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

No branches or pull requests

1 participant