【主题】添加了主题的配置
This commit is contained in:
parent
73ee2baa8b
commit
5fce7fe877
2
init.el
2
init.el
|
@ -5,9 +5,11 @@
|
|||
|
||||
(require 'init-package) ; 配置包管理器
|
||||
(require 'init-custom) ; 默认配置
|
||||
(require 'init-theme) ; 主题配置
|
||||
(require 'init-autocomplete) ; 自动补伤全配置
|
||||
(require 'init-hydra) ; hydra配置自定的快捷键
|
||||
(require 'init-errors) ; 错误/警告提示引擎配置
|
||||
(require 'init-projectile) ; 项目管理配置
|
||||
(require 'init-magit) ; git客户端
|
||||
|
||||
;;; init.el ends here
|
||||
|
|
38
lisp/init-theme.el
Normal file
38
lisp/init-theme.el
Normal file
|
@ -0,0 +1,38 @@
|
|||
;;; init-theme -- 主题配置
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
(use-package doom-themes
|
||||
:ensure t
|
||||
:config
|
||||
;; 全局配置
|
||||
(setq doom-themes-enable-bold t)
|
||||
(setq doom-themes-enable-italic t)
|
||||
;; 加载主题
|
||||
(load-theme 'doom-acario-light t)
|
||||
;; Enable flashing mode-line on errors
|
||||
(doom-themes-visual-bell-config)
|
||||
;; Enable custom neotree theme (all-the-icons must be installed!)
|
||||
(doom-themes-neotree-config)
|
||||
;; or for treemacs users
|
||||
;; use "doom-colors" for less minimal icon theme
|
||||
(setq doom-themes-treemacs-theme "doom-atom")
|
||||
(doom-themes-treemacs-config)
|
||||
;; Corrects (and improves) org-mode's native fontification.
|
||||
(doom-themes-org-config)
|
||||
)
|
||||
;; 自定义的背景,绿豆沙色
|
||||
;; 自定义的注释颜色,紫色
|
||||
(custom-set-faces
|
||||
'(default ((t (:background "#c7eacc"))))
|
||||
'(font-lock-comment-face ((t (:foreground "#9c00db"))))
|
||||
'(whitespace-space ((t (:foreground "#afafaf"))))
|
||||
'(whitespace-tab ((t (:foreground "#afafaf"))))
|
||||
'(whitespace-newline ((t (:foreground "#afafaf"))))
|
||||
)
|
||||
;;; all-the-icons配置
|
||||
(use-package all-the-icons
|
||||
:ensure t
|
||||
)
|
||||
|
||||
(provide 'init-theme)
|
||||
;;; init-theme.el ends here
|
Loading…
Reference in New Issue
Block a user