let's see if this fixes the base theme compilation error

This commit is contained in:
2025-03-01 14:35:59 -06:00
parent 37a3c28629
commit 03990425d8
2 changed files with 9 additions and 8 deletions

View File

@@ -262,13 +262,15 @@ Setting the theme to doom-one. To try out new themes, I set a keybinding for
counsel-load-theme with 'SPC h t'.
#+begin_src emacs-lisp :tangle ./config.el
(use-package! base16-stylix-theme)
(require 'base16-stylix-theme)
(setq doom-theme 'base16-stylix)
;; (setq doom-theme 'doom-opera-light)
;; ;; (setq doom-theme 'doom-dark+)
;; (map! :leader
;; :desc "Load new theme" "h t" #'counsel-load-theme)
(use-package! base16-stylix-theme
:ensure nil ;; Ensures it won't be installed if missing
:config
(setq doom-theme 'base16-stylix))
;; Check if base16-stylix-theme is available, otherwise fallback to doom-opera-light
(setq doom-theme (if (featurep 'base16-stylix-theme)
'base16-stylix
'doom-opera-light))
#+end_src
* EMMS