ITADN

Face Attributes not set

#817Openaloispichler 创建于 2026-03-07
bug
A
aloispichlercommented
### Thank you for the bug report - [x] I am using the latest version of `doom-modeline` related packages. - [x] I checked [FAQ](https://github.com/seagle0128/doom-modeline#faq). - [x] You may also try reproduce the issue using clean environment and minimal configurations with the command `emacs -Q`. ### Bug description this used to set the faces but stopped working in the recent update: ``` (use-package doom-modeline :ensure t :hook (after-init . doom-modeline-mode) :config ;; -- Functional Settings -- (setq doom-modeline-check-backend 'flymake ; Force it to look at Flymake doom-modeline-checker t ; SHOWS THE ERROR COUNT (Red/Yellow icons) doom-modeline-lsp t ; Shows LSP/Eglot status doom-modeline-lsp-icon t doom-modeline-modal t doom-modeline-modal-icon nil) ;; This must be in :config, not :custom (add-to-list 'global-mode-string 'auctex-cont-latexmk) ;; -- Evil State Tags -- (setq evil-emacs-state-tag (propertize " [Emacs, C-e] ") ;; toggle with c-e evil-normal-state-tag (propertize " <normal> ") evil-insert-state-tag (propertize " <insert> ")) ;; -- Face Attributes -- (set-face-attribute 'doom-modeline-evil-emacs-state nil :background "SkyBlue2" :foreground "black") (set-face-attribute 'doom-modeline-evil-normal-state nil :background "#EEB422" :foreground "black") (set-face-attribute 'doom-modeline-evil-visual-state nil :background "dark salmon" :foreground "black") (set-face-attribute 'doom-modeline-evil-insert-state nil :background "chartreuse3" :foreground "white")) ``` ### Steps to reproduce copy the code ### Expected behavior set the face attributes in the modeline ### OS Linux ### Emacs Version 30 ### Emacs Configurations simple emacs ### Error callstack ```emacs-lisp ``` ### Anything else _No response_
0 条评论