Compare commits

...

1 Commits

Author SHA1 Message Date
b0d00a5fad fix circular face inheritace bug from doom-themes 2025-11-27 11:26:00 +13:00

View File

@@ -65,16 +65,22 @@
** Theme
#+BEGIN_SRC emacs-lisp
(use-package doom-themes
:ensure t
:defer t
:config
;; Best dark themes for focus:
;; doom-one, doom-dracula, doom-tokyo-night, doom-palenight
;; Fix circular face inheritance for Gnus faces
;; This prevents "Face inheritance results in inheritance cycle" errors
;; when creating new frames with emacsclient -c on pgtk builds
;; See: https://github.com/doomemacs/themes/issues/875
(setcdr (assoc 'gnus-group-news-low-empty doom-themes-base-faces)
'(:inherit 'gnus-group-mail-1-empty :weight 'normal)))
;; Load theme immediately (this triggers doom-themes to load with the fix applied)
(load-theme 'doom-tokyo-night t)
;; Enable flashing mode-line on errors
;; Enable doom-themes integrations
(doom-themes-visual-bell-config)
;; Corrects org-mode's native fontification
(doom-themes-org-config))
(doom-themes-org-config)
;; All-the-icons for visual indicators
;;(use-package all-the-icons
@@ -82,7 +88,6 @@
(use-package nerd-icons
:ensure t)
#+END_SRC
** Modeline
#+BEGIN_SRC emacs-lisp
(use-package doom-modeline