Load theme after elpaca-after-init.

This commit is contained in:
KJ 2023-10-15 11:56:32 -04:00
parent 21a052895c
commit 887b7f068a
2 changed files with 21 additions and 5 deletions

View File

@ -70,15 +70,31 @@
;; ;; Theme ;; ;; Theme
;; (use-package dracula-theme ;; (use-package dracula-theme
;; :defer t ;; :defer t
;; :init ;; :hook
;; (elpaca-after-init . (lambda()
;; (load-theme 'dracula t) ;; (load-theme 'dracula t)
;; ))
;; :config ;; :config
;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font ;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
;; ) ;; )
;; (use-package adwaita-dark-theme
;; :defer t
;; :hook
;; (elpaca-after-init . (lambda()
;; (load-theme 'adwaita-dark t)
;; ))
;; :config
;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
;; )
(use-package modus-themes (use-package modus-themes
:elpaca nil
:defer t :defer t
:init :hook
(elpaca-after-init . (lambda()
(load-theme 'modus-operandi-tinted t) (load-theme 'modus-operandi-tinted t)
))
:config :config
(set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
) )

View File

@ -33,7 +33,7 @@
;; (set-face-attribute 'org-block nil :foreground 'unspecified :inherit 'fixed-pitch) ;; (set-face-attribute 'org-block nil :foreground 'unspecified :inherit 'fixed-pitch)
;; (set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch)) ;; (set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
(setq org-fontify-quote-and-verse-blocks t) ;; Permitir configuración de bloques quote y verse. (setq org-fontify-quote-and-verse-blocks t) ;; Permitir configuración de bloques quote y verse.
(set-face-attribute 'org-block nil :underline nil :foreground nil :background "#282a36") ;; (set-face-attribute 'org-block nil :underline nil :foreground nil :background "#282a36")
;; (set-face-attribute 'org-block-begin-line nil :underline nil :foreground nil :background "#1e1f28") ;; (set-face-attribute 'org-block-begin-line nil :underline nil :foreground nil :background "#1e1f28")
;; (set-face-attribute 'org-block-end-line nil :underline nil :foreground nil :background nil) ;; (set-face-attribute 'org-block-end-line nil :underline nil :foreground nil :background nil)
;; (set-face-attribute 'org-block-end-line nil :background 'unspecified) ;; (set-face-attribute 'org-block-end-line nil :background 'unspecified)