update
This commit is contained in:
parent
b1c9b3cd9f
commit
9c95b9a52e
2 changed files with 18 additions and 7 deletions
13
config.el
13
config.el
|
@ -26,7 +26,7 @@
|
|||
"The theme for Zen Writer in light mode.")
|
||||
(defvar +zen-writer-dark-theme 'doom-zen-writer-dark
|
||||
"The theme for Zen Writer in dark mode.")
|
||||
(defvar +zen-writer-theme zen-writer-light-theme
|
||||
(defvar +zen-writer-theme +zen-writer-light-theme
|
||||
"The theme for Zen Writer when zen-auto-dark-theme is nil. By default it uses the light theme.")
|
||||
(defvar +zen-writer-auto-dark-theme t
|
||||
"When true put dark-mode automatically depending on the hour of the day.")
|
||||
|
@ -36,7 +36,7 @@
|
|||
(defvar +zen-writer-evening-hour 18
|
||||
"Hour (24) at which we start using dark theme. By default 18.")
|
||||
|
||||
(defvar zen-writer--pre-zen-doom-theme doom-theme)
|
||||
(defvar zen-writer--pre-zen-doom-theme nil)
|
||||
|
||||
;; internal private state
|
||||
(define-minor-mode zen-writer-mode
|
||||
|
@ -123,10 +123,11 @@
|
|||
(toggle-frame-fullscreen)
|
||||
(doom-big-font-mode -1))
|
||||
|
||||
(map! :leader
|
||||
(:prefix ("t W" . "Zen Writer")
|
||||
:desc "Zen Writer Fullscreen" "W" #'zen-writer-full-mode
|
||||
:desc "Zen Writer Mode" "w" #'zen-writer-mode))
|
||||
;; mapping suggestion
|
||||
;; (map! :leader
|
||||
;; (:prefix ("t W" . "Zen Writer")
|
||||
;; :desc "Zen Writer Fullscreen" "W" #'zen-writer-full-mode
|
||||
;; :desc "Zen Writer Mode" "w" #'zen-writer-mode))
|
||||
|
||||
(provide 'zen-writer)
|
||||
;;; zen-writer.el ends here
|
||||
|
|
|
@ -183,7 +183,17 @@ Can be an integer to determine the exact padding."
|
|||
(org-scheduled-today :foreground fg)
|
||||
(org-scheduled-previously :foreground fg-alt)
|
||||
|
||||
|
||||
(markdown-pre-face :background bg-alt :foreground fg)
|
||||
(markdown-code-face :background bg-alt :foreground fg)
|
||||
(markdown-header-face-1 :background bg-alt :foreground fg)
|
||||
(markdown-header-face-2 :background bg-alt :foreground fg)
|
||||
(markdown-header-face-3 :background bg-alt :foreground fg)
|
||||
(markdown-header-face-4 :background bg-alt :foreground fg)
|
||||
(markdown-header-face-5 :background bg-alt :foreground fg)
|
||||
(markdown-header-face-6 :background bg-alt :foreground fg)
|
||||
(markdown-header-face-7 :background bg-alt :foreground fg)
|
||||
(markdown-header-face-8 :background bg-alt :foreground fg)
|
||||
(markdown-header-delimiter-face :background bg-alt :foreground fg-alt)
|
||||
|
||||
;;;; solaire-mode
|
||||
(solaire-mode-line-face
|
||||
|
|
Loading…
Reference in a new issue