2019-01-14 16:20:48 +00:00
|
|
|
(require 'dracula-theme)
|
|
|
|
|
2019-03-28 18:46:08 +00:00
|
|
|
(defun themes/color-theme-dracula-spaceline-faces (face active)
|
2019-01-14 16:20:48 +00:00
|
|
|
(cond
|
|
|
|
((eq 'face1 face) (if active 'minibuffer-prompt 'powerline-inactive1))
|
|
|
|
((eq 'face2 face) (if active 'success 'mode-line-inactive))
|
|
|
|
((eq 'line face) (if active 'shadow 'shadow))
|
|
|
|
((eq 'highlight face) (if active 'match 'shadow))))
|
|
|
|
|
2019-03-27 18:52:29 +00:00
|
|
|
(defun themes/color-theme-dracula ()
|
2019-01-14 16:20:48 +00:00
|
|
|
(interactive)
|
|
|
|
;; Global settings (defaults)
|
2019-03-28 18:46:08 +00:00
|
|
|
;; (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
|
|
|
;; doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
2019-01-14 16:20:48 +00:00
|
|
|
|
2019-03-28 18:46:08 +00:00
|
|
|
(load-theme 'dracula t)
|
2019-01-14 16:20:48 +00:00
|
|
|
|
|
|
|
(custom-theme-set-faces
|
2019-03-28 18:46:08 +00:00
|
|
|
'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"))))
|
|
|
|
|
2019-01-14 16:20:48 +00:00
|
|
|
'(font-lock-comment-face ((t (:foreground "#8B9298"))))
|
|
|
|
'(font-lock-comment-delimiter-face ((t (:foreground "#5B6268")))))
|
|
|
|
|
2019-03-28 18:46:08 +00:00
|
|
|
(enable-theme 'dracula)
|
2019-01-14 16:20:48 +00:00
|
|
|
;; brighten buffers (that represent real files)
|
|
|
|
(add-hook 'after-change-major-mode-hook #'turn-on-solaire-mode)
|
|
|
|
|
|
|
|
;; You can do similar with the minibuffer when it is activated:
|
|
|
|
(add-hook 'minibuffer-setup-hook #'solaire-mode-in-minibuffer)
|
|
|
|
|
|
|
|
;; ...if you use auto-revert-mode:
|
|
|
|
(add-hook 'after-revert-hook #'turn-on-solaire-mode)
|
|
|
|
|
|
|
|
;; To enable solaire-mode unconditionally for certain modes:
|
2019-03-28 18:46:08 +00:00
|
|
|
(add-hook 'ediff-prepare-buffer-hook #'solaire-mode))
|
2019-01-14 16:20:48 +00:00
|
|
|
|
|
|
|
;; Enable custom neotree theme
|
2019-03-28 18:46:08 +00:00
|
|
|
;;(doom-themes-neotree-config))
|
2019-01-14 16:20:48 +00:00
|
|
|
|
|
|
|
|
2019-03-27 18:52:29 +00:00
|
|
|
(provide 'themes/color-theme-dracula)
|