Here are a few more symptoms I have found. The following declaration works in both Emacs 27 and 28, but the one below only works with Emacs 27 but does not work with Emacs 28.
(use-package doom-modeline
;; Requires the fonts included with `all-the-icons', run `M-x all-the-icons-install-fonts'
:ensure all-the-icons
:ensure doom-modeline
:if (eq sb/modeline-theme 'doom-modeline)
:commands doom-modeline-mode
:demand t
:init
(setq doom-modeline-buffer-encoding nil
doom-modeline-checker-simple-format nil
doom-modeline-indent-info nil
doom-modeline-lsp nil
doom-modeline-minor-modes t
;; Reduce space on the modeline
doom-modeline-buffer-file-name-style 'file-name)
:config
(doom-modeline-mode 1))
(use-package doom-modeline
;; Requires the fonts included with `all-the-icons', run `M-x all-the-icons-install-fonts'
:ensure all-the-icons
:ensure doom-modeline
:if (eq sb/modeline-theme 'doom-modeline)
:commands doom-modeline-mode
:init
(setq doom-modeline-buffer-encoding nil
doom-modeline-checker-simple-format nil
doom-modeline-indent-info nil
doom-modeline-lsp nil
doom-modeline-minor-modes t
;; Reduce space on the modeline
doom-modeline-buffer-file-name-style 'file-name)
(doom-modeline-mode 1))