diff options
author | William Carroll <wpcarro@gmail.com> | 2018-09-10T18·51-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2018-09-10T18·53-0400 |
commit | 17ee0e400bef47c371afcae76037f9ea6a44ad13 (patch) | |
tree | 0e5efee6f00e402890e91f3eceb4b29408a498b6 /configs/shared/emacs/.emacs.d/elpa/doom-themes-20180720.438/doom-nova-theme.el | |
parent | 8b2fadf4776b7ddb4a67b4bc8ff6463770e56028 (diff) |
Support Vim, Tmux, Emacs with Stow
After moving off of Meta, Dotfiles has a greater responsibility to manage configs. Vim, Tmux, and Emacs are now within Stow's purview.
Diffstat (limited to 'configs/shared/emacs/.emacs.d/elpa/doom-themes-20180720.438/doom-nova-theme.el')
-rw-r--r-- | configs/shared/emacs/.emacs.d/elpa/doom-themes-20180720.438/doom-nova-theme.el | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/configs/shared/emacs/.emacs.d/elpa/doom-themes-20180720.438/doom-nova-theme.el b/configs/shared/emacs/.emacs.d/elpa/doom-themes-20180720.438/doom-nova-theme.el new file mode 100644 index 000000000000..12bc33e63c7c --- /dev/null +++ b/configs/shared/emacs/.emacs.d/elpa/doom-themes-20180720.438/doom-nova-theme.el @@ -0,0 +1,160 @@ +;;; doom-nova-theme.el --- inspired by Trevord Miller's Nova +(require 'doom-themes) + +(defgroup doom-nova-theme nil + "Options for doom-themes" + :group 'doom-themes) + +(defcustom doom-nova-padded-modeline doom-themes-padded-modeline + "If non-nil, adds a 4px padding to the mode-line. Can be an integer to +determine the exact padding." + :group 'doom-nova-theme + :type '(or integer boolean)) + +(def-doom-theme doom-nova + "A light theme inspired by Trevord Miller's Nova. See +<https://trevordmiller.com/projects/nova>." + + ;; name gui + ((bg '("#3c4c55" nil nil)) + (bg-alt '("#44545d" "#445566" "black")) + + ;; FIXME Tweak these + (base0 '("#0d0f11" "#0d0f11" "black" )) ; FIXME black + (base1 '("#1e272c" "#1b1b1b" )) + (base2 '("#212122" "#1e1e1e" )) ; + (base3 '("#2f3f48" "#292929" "brightblack")) ; + (base4 '("#3c4c55" "#3f3f3f" "brightblack")) ; + (base5 '("#556873" "#525252" "brightblack")) + (base6 '("#6A7D89" "#6b6b6b" "brightblack")) + (base7 '("#899BA6" "#878797" "brightblack")) + (base8 '("#e6eef3" "#efefef" "brightwhite")) ; FIXME white + (fg '("#c5c8c6" "#c5c6c6" "white" )) ;; TODO set correct color + (fg-alt (doom-darken fg 0.6)) ;; TODO set correct color + + (light-grey "#E6EEF3") + (grey base7) + (dark-grey base3) + + (red "#DF8C8C") + (orange "#F2C38F") + (yellow "#DADA93") + (green "#A8CE93") + (blue "#83AFE5") + (dark-blue (doom-darken blue 0.7)) + (teal blue) + (magenta (doom-lighten "#b294bb" 0.3)) ; FIXME TODO set correct color + (violet "#9A93E1") + (cyan "#7FC1CA") + (dark-cyan (doom-darken cyan 0.4)) + + ;; face categories + (highlight cyan) + (vertical-bar (doom-lighten bg 0.1)) + (selection highlight) + (builtin blue) + (comments grey) + (doc-comments (doom-lighten grey 0.1)) + (constants highlight) + (functions blue) + (keywords violet) + (methods blue) + (operators green) + (type green) + (strings cyan) + (variables red) + (numbers highlight) + (region selection) + (error red) + (warning yellow) + (success green) + (vc-modified violet) + (vc-added green) + (vc-deleted red) + + ;; custom categories + (current-line base5) ; (doom-lighten bg-alt 0.04) + (modeline-fg blue) + (modeline-bg base5) ; bg-alt + (modeline-fg-alt (doom-lighten bg-alt 0.4)) + (modeline-bg-alt base4) + + (-modeline-pad + (when doom-nova-padded-modeline + (if (integerp doom-nova-padded-modeline) + doom-nova-padded-modeline + 4)))) + + ;; --- faces ------------------------------ + ((doom-modeline-buffer-path :foreground violet :bold nil) + (doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path) + (doom-modeline-bar :inherit 'mode-line-highlight) + + (fringe :inherit 'default :foreground "#6c808d") + (region :background (doom-lighten current-line 0.1) :foreground nil :distant-foreground nil :weight 'bold) + + ((line-number &override) :foreground "#6c808d") + ((line-number-current-line &override) :foreground highlight :weight 'bold) + + ;; 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) + + (hl-line :background current-line) + (solaire-hl-line-face :inherit 'hl-line) + + (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))) + + (solaire-mode-line-face + :background modeline-bg :foreground modeline-fg + :box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg))) + (solaire-mode-line-inactive-face + :background modeline-bg-alt :foreground modeline-fg-alt + :box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-alt))) + + ;; helm + (helm-selection :background current-line :weight 'bold) + (helm-match :foreground highlight) + (helm-source-header :foreground base0 :background base6) + + ;; ivy + (ivy-current-match :background current-line :distant-foreground base0) + + ;; company + (company-tooltip :inherit 'tooltip :background (doom-lighten bg 0.075)) + (company-tooltip-selection :background base5 :foreground base8 :weight 'bold) + (company-tooltip-common :foreground cyan :distant-foreground cyan :weight 'bold) + (company-tooltip-search :background highlight :foreground base1 :weight 'ultra-bold) + (company-tooltip-search-selection :background highlight :foreground base1 :weight 'ultra-bold) + (company-tooltip-mouse :background base6 :foreground bg :distant-foreground fg) + + ;; ediff + (ediff-fine-diff-A :background base3 :weight 'bold) + (ediff-current-diff-A :inherit 'hl-line) + (ediff-even-diff-A :background base3) + + ;; show-paren + ((paren-face-match &override) :foreground red :background (doom-darken violet 0.4)) + ((paren-face-mismatch &override) :foreground (doom-darken red 0.4) :background cyan) + + ;; org-mode + (org-level-1 + :foreground blue :background (doom-darken bg 0.025) + :bold bold :height 1.2)) + + ;; --- variables -------------------------- + ;; () + ) + +(provide 'doom-nova-theme) +;;; doom-nova-theme.el ends here |