fix circular face inheritace bug from doom-themes
This commit is contained in:
19
config.org
19
config.org
@@ -65,16 +65,22 @@
|
|||||||
** Theme
|
** Theme
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package doom-themes
|
(use-package doom-themes
|
||||||
|
:ensure t
|
||||||
|
:defer t
|
||||||
:config
|
:config
|
||||||
;; Best dark themes for focus:
|
;; Fix circular face inheritance for Gnus faces
|
||||||
;; doom-one, doom-dracula, doom-tokyo-night, doom-palenight
|
;; 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)
|
(load-theme 'doom-tokyo-night t)
|
||||||
|
|
||||||
;; Enable flashing mode-line on errors
|
;; Enable doom-themes integrations
|
||||||
(doom-themes-visual-bell-config)
|
(doom-themes-visual-bell-config)
|
||||||
|
(doom-themes-org-config)
|
||||||
;; Corrects org-mode's native fontification
|
|
||||||
(doom-themes-org-config))
|
|
||||||
|
|
||||||
;; All-the-icons for visual indicators
|
;; All-the-icons for visual indicators
|
||||||
;;(use-package all-the-icons
|
;;(use-package all-the-icons
|
||||||
@@ -82,7 +88,6 @@
|
|||||||
(use-package nerd-icons
|
(use-package nerd-icons
|
||||||
:ensure t)
|
:ensure t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Modeline
|
** Modeline
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
|
|||||||
Reference in New Issue
Block a user