doom-dracula has been added to default config file

This commit is contained in:
Sameer Rahmani 2019-03-28 18:46:08 +00:00
parent 17469f2a97
commit 23b7bd87d4
2 changed files with 16 additions and 9 deletions

View File

@ -6,6 +6,7 @@
;; Other options are:
;; (theme themes/color-theme-spacemacs-light)
;; (theme themes/color-theme-spacemacs-dark)
;; (theme themes/color-theme-doom-dracula)
(theme themes/color-theme-doom-one)
;; (theme themes/color-theme-doom-molokai)

View File

@ -1,6 +1,6 @@
(require 'dracula-theme)
(defun themes/color-theme-doom-one-spaceline-faces (face active)
(defun themes/color-theme-dracula-spaceline-faces (face active)
(cond
((eq 'face1 face) (if active 'minibuffer-prompt 'powerline-inactive1))
((eq 'face2 face) (if active 'success 'mode-line-inactive))
@ -9,19 +9,25 @@
(defun themes/color-theme-dracula ()
(interactive)
;; Global settings (defaults)
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled
;; (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
;; doom-themes-enable-italic t) ; if nil, italics is universally disabled
(load-theme 'doom-one t)
(load-theme 'dracula t)
(custom-theme-set-faces
'doom-one
'dracula
'(minibuffer-prompt ((t (:background "#373844"))))
'(powerline-inactive1 ((t (:background "#282a36"))))
'(match ((t (:background "#bd93f9"))))
'(all-the-icons-lgreen ((t (:background "#bd93f9"))))
'(all-the-icons-faicon ((t (:background "#bd93f9"))))
'(mode-line-inactive ((t (:background "#282a36"))))
'(font-lock-comment-face ((t (:foreground "#8B9298"))))
'(font-lock-comment-delimiter-face ((t (:foreground "#5B6268")))))
(enable-theme 'doom-one)
(enable-theme 'dracula)
;; brighten buffers (that represent real files)
(add-hook 'after-change-major-mode-hook #'turn-on-solaire-mode)
@ -32,10 +38,10 @@
(add-hook 'after-revert-hook #'turn-on-solaire-mode)
;; To enable solaire-mode unconditionally for certain modes:
(add-hook 'ediff-prepare-buffer-hook #'solaire-mode)
(add-hook 'ediff-prepare-buffer-hook #'solaire-mode))
;; Enable custom neotree theme
(doom-themes-neotree-config))
;;(doom-themes-neotree-config))
(provide 'themes/color-theme-dracula)