Add doom-tomorrow-night-theme
This commit is contained in:
parent
1375ce724d
commit
4c981f2ccc
3 changed files with 107 additions and 8 deletions
|
@ -34,10 +34,10 @@ Currently available colorschemes:
|
|||
+ **doom-one**: inspired by Atom One Dark
|
||||
+ **doom-vibrant**: a more vibrant take on doom-one
|
||||
+ **doom-molokai**: based on molokai
|
||||
+ **doom-tomorrow-night**: [Chris Kempson's Tomorrow Night][tomorrow] (dark)
|
||||
|
||||
Soon to come:
|
||||
+ **doom-tomorrow-night**: [Chris Kempson's Tomorrow Night][tomorrow] (dark)
|
||||
+ **doom-tomorrow**: [Chris Kempson's Tomorrow][tomorrow] (light)
|
||||
+ **doom-tomorrow-day**: [Chris Kempson's Tomorrow Day][tomorrow] (light)
|
||||
+ **doom-one-light**: inspired by Atom One Light
|
||||
+ **doom-tron**: daylerees' [Tron Legacy][daylerees] colorscheme
|
||||
+ **doom-peacock**: daylerees' [Peacock][daylerees] colorscheme
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
;; mode-line
|
||||
(doom-modeline-buffer-path :foreground blue :bold bold)
|
||||
(doom-modeline-buffer-file :inherit 'doom-modeline-buffer-path :foreground fg)
|
||||
(doom-modeline-buffer-modified :foreground error)
|
||||
(doom-modeline-buffer-modified :foreground error :bold bold)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path)
|
||||
(doom-modeline-highlight :foreground highlight)
|
||||
(doom-modeline-panel :foreground black :distant-foreground white :background highlight)
|
||||
|
@ -41,9 +41,7 @@
|
|||
(lazy-highlight :background dark-blue :foreground white :distant-foreground black :bold bold)
|
||||
(match :foreground green :background black :bold bold)
|
||||
(trailing-whitespace :background red)
|
||||
(vertical-border
|
||||
`((((background dark)) (:background ,black :foreground ,black))
|
||||
(((background light)) (:background ,light-grey :foreground ,light-grey))))
|
||||
(vertical-border :background vertical-bar :foreground vertical-bar)
|
||||
|
||||
(error :foreground error)
|
||||
(warning :foreground warning)
|
||||
|
@ -115,7 +113,7 @@
|
|||
(term-color-white :background white :foreground white)
|
||||
|
||||
;; window-divider
|
||||
(window-divider :foreground vertical-bar)
|
||||
(window-divider :inherit 'vertical-border)
|
||||
(window-divider-first-pixel :inherit 'window-divider)
|
||||
(window-divider-last-pixel :inherit 'window-divider)
|
||||
|
||||
|
@ -358,7 +356,7 @@
|
|||
(doom-neotree-media-file-face :inherit 'doom-neotree-hidden-file-face)
|
||||
|
||||
;; nlinum
|
||||
(doom-nlinum-highlight :foreground fg :background bg-alt :bold nil :distant-foreground nil)
|
||||
(doom-nlinum-highlight :foreground fg :background current-line :bold nil :distant-foreground nil)
|
||||
|
||||
;; popup
|
||||
(popup-face :inherit 'tooltip)
|
||||
|
|
101
doom-tomorrow-night-theme.el
Normal file
101
doom-tomorrow-night-theme.el
Normal file
|
@ -0,0 +1,101 @@
|
|||
;;; doom-tomorrow-night-theme.el
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-tomorrow-night-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-tomorrow-night-padded-modeline nil
|
||||
"If non-nil, adds a 4px padding to the mode-line. Can be an integer to
|
||||
determine the exact padding."
|
||||
:group 'doom-tomorrow-night-theme
|
||||
:type '(or integer boolean))
|
||||
|
||||
(def-doom-theme doom-tomorrow-night
|
||||
"A light theme inspired by Atom One Light."
|
||||
|
||||
;; name gui
|
||||
((bg "#2c2f32")
|
||||
(bg-alt "#25282b")
|
||||
(fg "#c5c8c6")
|
||||
(fg-alt (doom-darken fg 0.6))
|
||||
(black "#0d0f11")
|
||||
(light-grey "#969896")
|
||||
(grey (doom-darken light-grey 0.4))
|
||||
(dark-grey (doom-darken grey 0.7))
|
||||
(white "#ffffff")
|
||||
(red "#cc6666")
|
||||
(orange "#de935f")
|
||||
(yellow "#f0c674")
|
||||
(green "#b5bd68")
|
||||
(blue "#81a2be")
|
||||
(dark-blue "#41728e")
|
||||
(teal blue)
|
||||
(magenta (doom-lighten "#b294bb" 0.3)) ; FIXME
|
||||
(violet "#b294bb")
|
||||
(cyan "#8abeb7")
|
||||
(dark-cyan (doom-darken cyan 0.4))
|
||||
|
||||
;; face categories
|
||||
(highlight dark-blue)
|
||||
(vertical-bar (doom-darken dark-grey 0.2))
|
||||
(current-line (doom-darken bg-alt 0.05))
|
||||
(selection (doom-lighten bg 0.1))
|
||||
(builtin blue)
|
||||
(comments grey)
|
||||
(doc-comments (doom-lighten grey 0.1))
|
||||
(constants orange)
|
||||
(functions blue)
|
||||
(keywords violet)
|
||||
(methods blue)
|
||||
(operators fg)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables red)
|
||||
(numbers orange)
|
||||
(region selection)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified fg-alt)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
|
||||
;; custom categories
|
||||
(modeline-bg (doom-darken bg-alt 0.3))
|
||||
(modeline-bg-alt (doom-darken bg 0.2))
|
||||
(modeline-fg blue)
|
||||
(modeline-fg-alt grey)
|
||||
(modeline-pad
|
||||
(when doom-tomorrow-night-padded-modeline
|
||||
(if (integerp doom-tomorrow-night-padded-modeline)
|
||||
doom-tomorrow-night-padded-modeline
|
||||
4))))
|
||||
|
||||
;; --- faces ------------------------------
|
||||
((doom-modeline-buffer-path :foreground violet :bold bold)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground violet)
|
||||
(rainbow-delimiters-depth-2-face :foreground blue)
|
||||
(rainbow-delimiters-depth-3-face :foreground orange)
|
||||
(rainbow-delimiters-depth-4-face :foreground green)
|
||||
(rainbow-delimiters-depth-5-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-6-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-7-face :foreground teal)
|
||||
|
||||
(mode-line
|
||||
:background modeline-bg :foreground modeline-fg
|
||||
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg)))
|
||||
(mode-line-inactive
|
||||
:background modeline-bg-alt :foreground modeline-fg-alt
|
||||
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-alt))))
|
||||
|
||||
;; --- variables --------------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
(provide 'doom-tomorrow-night-theme)
|
||||
;;; doom-tomorrow-night-theme.el ends here
|
Loading…
Reference in a new issue