Create a new config file for themes.
This commit is contained in:
parent
e40aa8d194
commit
d04c3baf44
@ -67,46 +67,6 @@
|
||||
;; Block until current queue processed.
|
||||
(elpaca-wait)
|
||||
|
||||
;; Theme
|
||||
|
||||
;; (use-package dracula-theme
|
||||
;; :defer t
|
||||
;; :hook
|
||||
;; (elpaca-after-init . (lambda()
|
||||
;; (load-theme 'dracula t)
|
||||
;; (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)
|
||||
;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
|
||||
;; ))
|
||||
;; )
|
||||
|
||||
;; (use-package adwaita-theme
|
||||
;; :elpaca nil
|
||||
;; :defer t
|
||||
;; :hook
|
||||
;; (elpaca-after-init . (lambda()
|
||||
;; (load-theme 'adwaita t)
|
||||
;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
|
||||
;; ))
|
||||
;; )
|
||||
|
||||
(use-package modus-themes
|
||||
:elpaca nil
|
||||
:defer t
|
||||
:hook
|
||||
(elpaca-after-init . (lambda()
|
||||
(load-theme 'modus-operandi-tinted t)
|
||||
(set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
|
||||
))
|
||||
)
|
||||
|
||||
(defconst private-dir (expand-file-name "private" user-emacs-directory))
|
||||
(defconst temp-dir (format "%s/cache" private-dir)
|
||||
"Hostname-based elisp temp directories.")
|
||||
|
71
configs/init-theme.el
Normal file
71
configs/init-theme.el
Normal file
@ -0,0 +1,71 @@
|
||||
;;; init-theme.el --- Carga del theme -*- lexical-binding: t -*-
|
||||
|
||||
;; Author: kj <webmaster@outcontrol.net>
|
||||
;; URL: https://git.kj2.me/kj/confi-emacs-actual
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Desde aquí se puede cambiar la configuración de themes es posible
|
||||
;; activar o desactivar los themes comentando o descomentando las
|
||||
;; líneas que lo configuran.
|
||||
|
||||
;;; Code:
|
||||
|
||||
;; Theme dracula (https://draculatheme.com/)
|
||||
;; (use-package dracula-theme
|
||||
;; :defer t
|
||||
;; :hook
|
||||
;; (elpaca-after-init . (lambda()
|
||||
;; (load-theme 'dracula t)
|
||||
;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
|
||||
;; ))
|
||||
;; )
|
||||
|
||||
;; El theme más cercano a adwaita dark que he encontrado
|
||||
;; (use-package adwaita-dark-theme
|
||||
;; :defer t
|
||||
;; :hook
|
||||
;; (elpaca-after-init . (lambda()
|
||||
;; (load-theme 'adwaita-dark t)
|
||||
;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
|
||||
;; ))
|
||||
;; )
|
||||
|
||||
;; Theme adwaita, viene integrado en emacs desde la v29.1
|
||||
;; (use-package adwaita-theme
|
||||
;; :elpaca nil
|
||||
;; :defer t
|
||||
;; :hook
|
||||
;; (elpaca-after-init . (lambda()
|
||||
;; (load-theme 'adwaita t)
|
||||
;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
|
||||
;; ))
|
||||
;; )
|
||||
|
||||
;; Themes modus, vienen integrado en emacs en master (~v30)
|
||||
(use-package modus-themes
|
||||
:elpaca nil
|
||||
:defer t
|
||||
:hook
|
||||
(elpaca-after-init . (lambda()
|
||||
(load-theme 'modus-operandi-tinted t) ;; Solarized
|
||||
(set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
|
||||
))
|
||||
)
|
||||
|
||||
;; Themes de doom emacs
|
||||
;; (use-package doom-themes
|
||||
;; :defer t
|
||||
;; :hook
|
||||
;; (elpaca-after-init . (lambda()
|
||||
;; (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
||||
;; doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
||||
;; (set-face-attribute 'default nil :font "Fira Code Retina" :height 112) ; Font
|
||||
;; (load-theme 'doom-one t)
|
||||
;; (doom-themes-org-config)
|
||||
;; ))
|
||||
;; )
|
||||
|
||||
|
||||
(provide 'init-theme)
|
||||
;;; init-theme.el ends here
|
Loading…
Reference in New Issue
Block a user