remove sublime-themes to doom-themes

This commit is contained in:
Jesús
2019-09-15 16:35:04 -05:00
parent ebf8bb77cb
commit 7fd29e9a60
3 changed files with 45 additions and 28 deletions

View File

@@ -6,26 +6,11 @@
;;----------------------------------------------------------------------------
;; Modeline configuration
;;----------------------------------------------------------------------------
(use-package smart-mode-line
:pin "MELPA")
(use-package smart-mode-line-powerline-theme
:pin "MELPA")
(use-package sml-modeline
(use-package doom-modeline
:pin "MELPA"
:config
;; Show number of occurrences when searching
(setq sml/theme 'powerline)
(setq sml/no-confirm-load-theme t)
(setq sml/shorten-modes t)
;; Show EOL mode
(setq sml/show-eol t)
;; Show remote buffers
(setq sml/show-remote t)
(sml/setup)
(sml-modeline-mode t))
:ensure t
:hook (after-init . doom-modeline-mode)
)
(use-package anzu
:config

View File

@@ -3,15 +3,47 @@
;;
;;; Code:
(use-package sublime-themes
:config
(load-theme 'spolsky t))
(use-package doom-themes
:pin "MELPA"
:ensure t
:bind
("C-x t d" . dark-theme)
("C-x t l" . light-theme)
;; Fix linum current-line highlight. Doesn't looks good with this theme
(defface my-linum-hl
'((t :background "gray30" :foreground "gold"))
"Face for the currently active Line number"
:group 'linum)
:init
(defun light-theme ()
"Activate light colortheme"
(interactive)
(load-theme 'doom-one-light)
(delete-selection-mode 1)
)
(defun dark-theme ()
"Activate dark colortheme"
(interactive)
(load-theme 'doom-molokai)
(delete-selection-mode 1)
;; Invoke customcolors
(customcolors)
)
;; Invoke theme
(load-theme 'doom-molokai t)
:config
(defun customcolors ()
"Simple customcolors for theme."
(set-cursor-color "#268bd2")
(set-face-background 'highlight "#268bd2")
;; Fix linum current-line highlight
(defface my-linum-hl
'((t :background "gray20" :foreground "gold"))
"Face for the currently active Line number"
:group 'linum))
;; Invoke customcolors
(customcolors)
)
(provide 'init-theme)