added stuff
This commit is contained in:
parent
fe34769f02
commit
4710fd8b20
2
auto-save-list/.saves-13688-artixbox~
Normal file
2
auto-save-list/.saves-13688-artixbox~
Normal file
|
@ -0,0 +1,2 @@
|
|||
/home/ahmed/.emacs.d/init.el
|
||||
/home/ahmed/.emacs.d/#init.el#
|
218
elpa/doom-themes-20210322.1750/doom-Iosvkem-theme.el
Normal file
218
elpa/doom-themes-20210322.1750/doom-Iosvkem-theme.el
Normal file
|
@ -0,0 +1,218 @@
|
|||
;;; doom-Iosvkem-theme.el --- Inspired by VIM Iosvkem -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-Iosvkem-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-Iosvkem-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-Iosvkem-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-Iosvkem-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-Iosvkem-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-Iosvkem-comment-bg doom-Iosvkem-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-Iosvkem-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-Iosvkem-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-Iosvkem-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-Iosvkem
|
||||
"A dark theme inspired by VIM Iosvkem"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#1b1d1e" "#1b1d1e" nil))
|
||||
(bg-alt '("#262829" "#262829" nil))
|
||||
(base0 '("#1b1d1e" "#1b1d1e" "black"))
|
||||
(base1 '("#202020" "#202020" "brightblack"))
|
||||
(base2 '("#303030" "#303030" "brightblack"))
|
||||
(base3 '("#303030" "#303030" "brightblack"))
|
||||
(base4 '("#505050" "#505050" "brightblack"))
|
||||
(base5 '("#505050" "#505050" "brightblack"))
|
||||
(base6 '("#808080" "#808080" "brightblack"))
|
||||
(base7 '("#808080" "#808080" "brightblack"))
|
||||
(base8 '("#DFDFDF" "#dfdfdf" "white"))
|
||||
(fg '("#dddddd" "#dddddd" "white"))
|
||||
(fg-alt '("#5B6268" "#2d2d2d" "white"))
|
||||
|
||||
(grey base4)
|
||||
(red '("#d02b61" "#d02b61" "red"))
|
||||
(orange '("#da8548" "#dd8844" "brightred"))
|
||||
(green '("#60aa00" "#60aa00" "green"))
|
||||
(teal '("#4db5bd" "#44b9b1" "brightgreen"))
|
||||
(yellow '("#d08928" "#d08928" "yellow"))
|
||||
(blue '("#6c9ef8" "#6c9ef8" "brightblue"))
|
||||
(dark-blue '("#6688aa" "#6688aa" "blue"))
|
||||
(magenta '("#b77fdb" "#b77fdb" "magenta"))
|
||||
(violet '("#a9a1e1" "#a9a1e1" "brightmagenta"))
|
||||
(cyan '("#00aa80" "#00aa80" "brightcyan"))
|
||||
(dark-cyan '("#5699AF" "#5699AF" "cyan"))
|
||||
(urlblue '("#57aadd" "#57aadd" "blue"))
|
||||
(iolime '("#bbfc20" "#bbfc20" "green"))
|
||||
(iopurple '("#bb20fc" "#bb20fc" "magenta"))
|
||||
(iocyan '("#20bbfc" "#20bbfc" "cyan"))
|
||||
(iopink '("#fc20bb" "#fc20bb" "red"))
|
||||
(ioteal '("#20fcbb" "#20fcbb" "brightgreen"))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight iopink)
|
||||
(vertical-bar base2)
|
||||
(selection bg-alt)
|
||||
(builtin magenta)
|
||||
(comments (if doom-Iosvkem-brighter-comments dark-cyan base6))
|
||||
(doc-comments (doom-lighten (if doom-Iosvkem-brighter-comments dark-cyan base6) 0.25))
|
||||
(constants green)
|
||||
(functions magenta)
|
||||
(keywords blue)
|
||||
(methods teal)
|
||||
(operators blue)
|
||||
(type cyan)
|
||||
(strings yellow)
|
||||
(variables dark-cyan)
|
||||
(numbers green)
|
||||
(region `(,(doom-lighten (car bg-alt) 0.15) ,@(doom-lighten (cdr base0) 0.35)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-Iosvkem-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-Iosvkem-padded-modeline
|
||||
(if (integerp doom-Iosvkem-padded-modeline) doom-Iosvkem-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive `(,(doom-darken (car bg-alt) 0.1) ,@(cdr bg-alt)))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; ivy-mode
|
||||
(ivy-current-match :background dark-blue :distant-foreground base0 :weight 'normal)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
(markdown-markup-face :foreground red)
|
||||
(markdown-header-face :inherit 'bold :foreground fg)
|
||||
(markdown-header-delimiter-face :inherit 'bold :foreground red)
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
|
||||
;; Iosvkem
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-Iosvkem-comment-bg (doom-lighten bg 0.05))
|
||||
:slant 'italic)
|
||||
|
||||
(font-lock-function-name-face
|
||||
:foreground functions
|
||||
:weight 'bold)
|
||||
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments
|
||||
:slant 'normal)
|
||||
|
||||
(org-link :foreground urlblue :underline t)
|
||||
|
||||
((outline-1 &override) :foreground blue)
|
||||
((outline-2 &override) :foreground magenta)
|
||||
((outline-3 &override) :foreground dark-cyan)
|
||||
((outline-6 &override) :foreground (doom-lighten dark-cyan 0.2))
|
||||
((outline-7 &override) :foreground (doom-lighten blue 0.4))
|
||||
((outline-8 &override) :foreground (doom-lighten magenta 0.4))
|
||||
((org-block &override) :background bg-alt)
|
||||
((org-quote &override) :background bg-alt)
|
||||
((org-block-begin-line &override) :foreground comments :background bg)
|
||||
|
||||
((paren-face-match &override) :foreground iopink :background bg :weight 'ultra-bold)
|
||||
|
||||
((nav-flash-face &override) :background bg-alt :foreground iopink)
|
||||
|
||||
((highlight-numbers-number &override) :inherit 'normal :foreground numbers)
|
||||
|
||||
((hes-escape-backslash-face &override) :inherit 'normal :foreground red)
|
||||
((hes-escape-sequence-face &override) :inherit 'normal :foreground red)
|
||||
|
||||
((js2-function-param &override) :foreground fg :slant 'italic)
|
||||
((js2-object-property &override) :foreground fg)
|
||||
|
||||
((whitespace-tab &override) :background bg)
|
||||
|
||||
((line-number-current-line &override) :foreground iocyan :background bg)
|
||||
|
||||
((markdown-link-face &override) :foreground blue)
|
||||
((markdown-url-face &override) :foreground base5)
|
||||
((markdown-list-face &override) :foreground magenta)
|
||||
((markdown-italic-face &override) :foreground cyan)
|
||||
((markdown-bold-face &override) :foreground cyan)
|
||||
|
||||
((tooltip &override) :background bg)
|
||||
((company-tooltip-selection &override) :foreground iopink)
|
||||
|
||||
((lazy-highlight &override) :background iocyan :foreground bg :distant-foreground base0 :weight 'bold)))
|
||||
;; --- extra variables ---------------------
|
||||
;; ()
|
||||
|
||||
|
||||
;;; doom-Iosvkem-theme.el ends here
|
271
elpa/doom-themes-20210322.1750/doom-acario-dark-theme.el
Normal file
271
elpa/doom-themes-20210322.1750/doom-acario-dark-theme.el
Normal file
|
@ -0,0 +1,271 @@
|
|||
;;; doom-acario-dark-theme.el --- Acario dark theme -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;; Variables
|
||||
(defgroup doom-acario-dark-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-acario-dark-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-acario-dark-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-acario-dark-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-acario-dark-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-acario-dark-comment-bg doom-acario-dark-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-acario-dark-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-acario-dark-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-acario-dark-theme
|
||||
:type '(or integer boolean))
|
||||
|
||||
;;; Theme definition
|
||||
(def-doom-theme doom-acario-dark
|
||||
"A dark theme inspired by Acario"
|
||||
|
||||
;;;; Colors
|
||||
;; name default 256 16
|
||||
((bg '("#0D0E16" "color-233" "black" ))
|
||||
(bg-alt '("#040408" "color-232" "brightblack" ))
|
||||
(base0 '("#0F1019" "color-234" "black" ))
|
||||
(base1 '("#121212" "color-233" "brightblack" ))
|
||||
(base2 '("#1E1E33" "color-236" "brightblack" ))
|
||||
(base3 '("#464A56" "color-240" "brightblack" ))
|
||||
(base4 '("#585C6C" "color-60" "brightblack" ))
|
||||
(base5 '("#767676" "color-243" "brightblack" ))
|
||||
(base6 '("#959EA5" "color-109" "white" ))
|
||||
(base7 '("#B2B2B2" "color-249" "white" ))
|
||||
(base8 '("#D0D0D0" "color-252" "brightwhite" ))
|
||||
(fg '("#CEDBE5" "color-152" "brightwhite" ))
|
||||
(fg-alt '("#E5F4FF" "color-195" "brightwhite" ))
|
||||
|
||||
(grey base5)
|
||||
|
||||
(red '("#D83441" "color-167" "red" ))
|
||||
(green '("#79D836" "color-113" "green" ))
|
||||
(yellow '("#D8B941" "color-179" "yellow" ))
|
||||
(blue '("#3679D8" "color-68" "blue" ))
|
||||
(magenta '("#8041D8" "color-98" "magenta" ))
|
||||
(cyan '("#36D8BD" "color-79" "cyan" ))
|
||||
|
||||
(orange '("#D85F00" "color-166" "brightred" ))
|
||||
(teal '("#2D9574" "color-29" "brightcyan" ))
|
||||
(violet '("#AB11D8" "color-128" "brightmagenta"))
|
||||
|
||||
(bg-blue '("#0C213E" "color-17" "brightblack" ))
|
||||
(dark-blue bg-blue)
|
||||
(bg-cyan '("#092D27" "color-23" "brightblack" ))
|
||||
(dark-cyan bg-cyan)
|
||||
|
||||
;;;; face categories -- required for all themes
|
||||
(highlight orange)
|
||||
(vertical-bar base0)
|
||||
(selection bg-blue)
|
||||
(builtin blue)
|
||||
(comments (if doom-acario-dark-brighter-comments bg-cyan grey))
|
||||
(doc-comments (doom-lighten (if doom-acario-dark-brighter-comments bg-cyan green) 0.25))
|
||||
(constants magenta)
|
||||
(functions yellow)
|
||||
(keywords red)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type blue)
|
||||
(strings green)
|
||||
(variables (doom-lighten cyan 0.4))
|
||||
(numbers orange)
|
||||
(region base2)
|
||||
(error red)
|
||||
(warning orange)
|
||||
(success green)
|
||||
(vc-modified yellow)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;;;; custom categories
|
||||
(hidden bg)
|
||||
(-modeline-bright doom-acario-dark-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-acario-dark-padded-modeline
|
||||
(if (integerp doom-acario-dark-padded-modeline) doom-acario-dark-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base7)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-blend blue bg-alt 0.35)
|
||||
`(,(car base2) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
modeline-bg
|
||||
`(,(car base3) ,@(cdr base1))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.20))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.2) ,@(cdr base0))))
|
||||
|
||||
;;;; --- extra faces ------------------------
|
||||
(((all-the-icons-dblue &override) :foreground teal)
|
||||
(elscreen-tab-other-screen-face :background bg-blue :foreground fg-alt)
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
;;;;; hl-fill-column-face
|
||||
(hl-fill-column-face :background bg-alt :foreground fg-alt)
|
||||
|
||||
;;;;; line-number
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground orange :bold bold)
|
||||
|
||||
;;;;; comments and doc
|
||||
(font-lock-comment-face
|
||||
:inherit 'fixed-pitch-serif
|
||||
:slant 'italic
|
||||
:foreground comments
|
||||
:background (if doom-acario-dark-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
;;;;; Flycheck
|
||||
(flycheck-popup-tip-face :background bg-blue :foreground fg-alt)
|
||||
(flycheck-posframe-info-face :background bg-blue :foreground fg-alt)
|
||||
(flycheck-posframe-warning-face :inherit 'warning)
|
||||
(flycheck-posframe-error-face :inherit 'error)
|
||||
|
||||
;;;;; Magit
|
||||
(magit-blame-culprit :foreground yellow)
|
||||
(magit-blame-header :foreground green)
|
||||
(magit-blame-sha1 :foreground yellow)
|
||||
(magit-blame-subject :foreground yellow)
|
||||
(magit-blame-time :foreground green)
|
||||
(magit-blame-name :foreground yellow)
|
||||
(magit-blame-heading :foreground green)
|
||||
(magit-blame-hash :foreground yellow)
|
||||
(magit-blame-summary :foreground yellow)
|
||||
(magit-blame-date :foreground green)
|
||||
(magit-log-date :foreground fg-alt)
|
||||
(magit-log-graph :foreground fg-alt)
|
||||
(magit-reflog-amend :foreground magenta)
|
||||
(magit-reflog-other :foreground cyan)
|
||||
(magit-reflog-rebase :foreground magenta)
|
||||
(magit-reflog-remote :foreground cyan)
|
||||
(magit-reflog-reset :foreground red)
|
||||
(magit-branch :foreground magenta :weight 'bold)
|
||||
(magit-branch-current :foreground blue :weight 'bold :box t)
|
||||
(magit-branch-local :foreground blue :weight 'bold)
|
||||
(magit-branch-remote :foreground orange :weight 'bold)
|
||||
(magit-diff-file-header :foreground yellow)
|
||||
(magit-diff-file-heading :foreground blue :weight 'light)
|
||||
(magit-diff-file-heading-highlight :foreground blue :weight 'bold)
|
||||
(magit-diff-file-heading-selection :foreground blue :weight 'bold :background base1)
|
||||
(magit-diff-hunk-heading :foreground yellow :weight 'light)
|
||||
(magit-diff-hunk-heading-highlight :foreground yellow :weight 'bold)
|
||||
(magit-diff-hunk-heading-selection :inherit 'selection :weight 'bold)
|
||||
(magit-diff-added :foreground green :weight 'light)
|
||||
(magit-diff-removed :foreground red :weight 'light)
|
||||
(magit-diff-context :foreground fg :weight 'light)
|
||||
(magit-diff-added-highlight :foreground green :weight 'bold)
|
||||
(magit-diff-removed-highlight :foreground red :weight 'bold)
|
||||
(magit-diff-context-highlight :foreground fg :weight 'bold)
|
||||
(magit-diff-base :foreground fg :weight 'light)
|
||||
(magit-diff-base-highlight :foreground fg :weight 'bold)
|
||||
(magit-diff-lines-boundary :background fg :foreground base2)
|
||||
(magit-diff-lines-heading :background fg :foreground base2)
|
||||
(magit-hash :foreground yellow)
|
||||
(magit-item-highlight :background grey)
|
||||
(magit-log-author :foreground yellow)
|
||||
(magit-log-head-label-head :background yellow :foreground bg-alt :weight 'bold)
|
||||
(magit-log-head-label-local :background red :foreground bg-alt :weight 'bold)
|
||||
(magit-log-head-label-remote :background green :foreground bg-alt :weight 'bold)
|
||||
(magit-log-head-label-tags :background magenta :foreground bg-alt :weight 'bold)
|
||||
(magit-log-head-label-wip :background cyan :foreground bg-alt :weight 'bold)
|
||||
(magit-log-sha1 :foreground green)
|
||||
(magit-process-ng :foreground orange :weight 'bold)
|
||||
(magit-process-ok :foreground yellow :weight 'bold)
|
||||
(magit-section-heading :foreground red)
|
||||
(magit-section-highlight :weight 'bold)
|
||||
(section-heading-selection :foreground red :weight 'bold)
|
||||
(magit-section-title :background bg-alt :foreground red :weight 'bold)
|
||||
(magit-cherry-equivalent :foreground magenta)
|
||||
(magit-cherry-unmatched :foreground cyan)
|
||||
(magit-reflog-checkout :foreground blue)
|
||||
(magit-reflog-cherry-pick :foreground green)
|
||||
(magit-bisect-bad :foreground red)
|
||||
(magit-bisect-good :foreground green)
|
||||
(magit-bisect-skip :foreground fg)
|
||||
(magit-diff-conflict-heading :foreground fg)
|
||||
(magit-dimmed :foreground base8)
|
||||
(magithub-ci-no-status :foreground grey)
|
||||
(magithub-issue-number :foreground fg)
|
||||
(magithub-notification-reason :foreground fg)
|
||||
|
||||
;;;;; Modeline, Solaire modeline and Doom modeline
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;;;;; whitespace
|
||||
(whitespace-indentation :inherit 'default)
|
||||
(whitespace-big-indent :inherit 'default)
|
||||
|
||||
;;;;; ivy-mode
|
||||
(ivy-current-match :background bg-blue :distant-foreground base0 :weight 'normal)
|
||||
(ivy-posframe :background base1 :foreground fg)
|
||||
(internal-border :background base7)
|
||||
|
||||
;;;;; lsp-mode and lsp-ui-mode
|
||||
(lsp-ui-peek-highlight :foreground yellow)
|
||||
(lsp-ui-sideline-symbol-info :foreground (doom-blend comments bg 0.85)
|
||||
:background bg-alt)
|
||||
|
||||
;;;; --- major-mode faces -------------------
|
||||
;;;;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;;;;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;;;;; org-mode
|
||||
((org-block &override) :background bg-alt)
|
||||
((org-block-begin-line &override) :background bg :foreground comments :slant 'italic)
|
||||
((org-quote &override) :background base1)
|
||||
|
||||
(org-hide :foreground hidden))
|
||||
|
||||
|
||||
;;;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-acario-dark-theme.el ends here
|
277
elpa/doom-themes-20210322.1750/doom-acario-light-theme.el
Normal file
277
elpa/doom-themes-20210322.1750/doom-acario-light-theme.el
Normal file
|
@ -0,0 +1,277 @@
|
|||
;;; doom-acario-light-theme.el --- Acario light theme -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;; Variables
|
||||
(defgroup doom-acario-light-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-acario-light-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-acario-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-acario-light-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-acario-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-acario-light-comment-bg doom-acario-light-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-acario-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-acario-light-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-acario-light-theme
|
||||
:type '(or integer boolean))
|
||||
|
||||
;;; Theme definition
|
||||
(def-doom-theme doom-acario-light
|
||||
"A light theme inspired by Acario light"
|
||||
|
||||
;;;; Colors
|
||||
;; name default 256 16
|
||||
((bg '("#F5F5F9" "color-255" "black" ))
|
||||
(bg-alt '("#E9E9F2" "color-254" "brightblack" ))
|
||||
(base0 '("#D0D0E3" "color-188" "black" ))
|
||||
(base1 '("#D0D0E3" "color-188" "brightblack" ))
|
||||
(base2 '("#C0CCD0" "color-152" "brightblack" ))
|
||||
(base3 '("#9EA6B0" "color-103" "brightblack" ))
|
||||
(base4 '("#585C6C" "color-60" "brightblack" ))
|
||||
(base5 '("#4E4E4E" "color-239" "brightblack" ))
|
||||
(base6 '("#3A3A3A" "color-237" "white" ))
|
||||
(base7 '("#303030" "color-236" "white" ))
|
||||
(base8 '("#1E1E33" "color-236" "brightwhite" ))
|
||||
(fg '("#0F1019" "color-234" "brightwhite" ))
|
||||
(fg-alt '("#0D0E16" "color-233" "brightwhite" ))
|
||||
|
||||
(grey base5)
|
||||
|
||||
(red '("#D70000" "color-160" "red" ))
|
||||
(green '("#005F00" "color-22" "green" ))
|
||||
(yellow '("#AF8700" "color-136" "yellow" ))
|
||||
(blue '("#1F55A0" "color-25" "blue" ))
|
||||
(magenta '("#AF005F" "color-125" "magenta" ))
|
||||
(cyan '("#007687" "color-30" "cyan" ))
|
||||
|
||||
(orange '("#D75F00" "color-166" "brightred" ))
|
||||
(teal '("#009B7C" "color-36" "brightgreen" ))
|
||||
(violet '("#8700AF" "color-91" "brightmagenta"))
|
||||
|
||||
(bg-blue '("#DEEAF8" "color-189" "blue" ))
|
||||
(dark-blue bg-blue)
|
||||
(bg-cyan '("#D5FAFF" "color-195" "cyan" ))
|
||||
(dark-cyan bg-cyan)
|
||||
|
||||
;;;; face categories -- required for all themes
|
||||
(highlight teal)
|
||||
(vertical-bar base0)
|
||||
(selection bg-blue)
|
||||
(builtin blue)
|
||||
(comments (if doom-acario-light-brighter-comments cyan grey))
|
||||
(doc-comments (doom-darken (if doom-acario-light-brighter-comments cyan green) 0.25))
|
||||
(constants magenta)
|
||||
(functions yellow)
|
||||
(keywords red)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type blue)
|
||||
(strings green)
|
||||
(variables (doom-darken cyan 0.4))
|
||||
(numbers orange)
|
||||
(region base2)
|
||||
(error red)
|
||||
(warning orange)
|
||||
(success green)
|
||||
(vc-modified yellow)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;;;; custom categories
|
||||
(hidden bg)
|
||||
(-modeline-dark doom-acario-light-brighter-modeline)
|
||||
(-modeline-bright -modeline-dark)
|
||||
(-modeline-pad
|
||||
(when doom-acario-light-padded-modeline
|
||||
(if (integerp doom-acario-light-padded-modeline) doom-acario-light-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-dark
|
||||
(doom-blend blue bg-alt 0.35)
|
||||
`(,(car base2) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-dark
|
||||
modeline-bg
|
||||
`(,(car base3) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.20))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.2) ,@(cdr base0))))
|
||||
|
||||
;;;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background bg-blue :foreground fg-alt)
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
;;;;; hl-fill-column-face
|
||||
(hl-fill-column-face :background bg-alt :foreground fg-alt)
|
||||
|
||||
;;;;; line-number
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground orange)
|
||||
|
||||
;;;;; comments and doc
|
||||
(font-lock-comment-face
|
||||
:inherit 'fixed-pitch-serif
|
||||
:slant 'italic
|
||||
:foreground comments
|
||||
:background (if doom-acario-light-comment-bg (doom-darken bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
;;;;; Flycheck
|
||||
(flycheck-popup-tip-face :background bg-blue :foreground fg-alt)
|
||||
(flycheck-posframe-info-face :background bg-blue :foreground fg-alt)
|
||||
(flycheck-posframe-warning-face :inherit 'warning)
|
||||
(flycheck-posframe-error-face :inherit 'error)
|
||||
|
||||
;;;;; Magit
|
||||
(magit-blame-culprit :foreground cyan)
|
||||
(magit-blame-header :foreground green)
|
||||
(magit-blame-sha1 :foreground cyan)
|
||||
(magit-blame-subject :foreground cyan)
|
||||
(magit-blame-time :foreground green)
|
||||
(magit-blame-name :foreground cyan)
|
||||
(magit-blame-heading :foreground green)
|
||||
(magit-blame-hash :foreground cyan)
|
||||
(magit-blame-summary :foreground cyan)
|
||||
(magit-blame-date :foreground green)
|
||||
(magit-log-date :foreground fg-alt)
|
||||
(magit-log-graph :foreground fg-alt)
|
||||
(magit-reflog-amend :foreground magenta)
|
||||
(magit-reflog-other :foreground yellow)
|
||||
(magit-reflog-rebase :foreground magenta)
|
||||
(magit-reflog-remote :foreground yellow)
|
||||
(magit-reflog-reset :foreground red)
|
||||
(magit-branch :foreground magenta :weight 'bold)
|
||||
(magit-branch-current :foreground blue :weight 'bold :box t)
|
||||
(magit-branch-local :foreground blue :weight 'bold)
|
||||
(magit-branch-remote :foreground orange :weight 'bold)
|
||||
(magit-diff-file-header :foreground yellow)
|
||||
(magit-diff-file-heading :foreground blue :weight 'light)
|
||||
(magit-diff-file-heading-highlight :foreground blue :weight 'bold)
|
||||
(magit-diff-file-heading-selection :foreground blue :weight 'bold :background base1)
|
||||
(magit-diff-hunk-heading :foreground yellow :weight 'light)
|
||||
(magit-diff-hunk-heading-highlight :foreground yellow :weight 'bold)
|
||||
(magit-diff-hunk-heading-selection :inherit 'selection :weight 'bold)
|
||||
(magit-diff-added :foreground green :weight 'light)
|
||||
(magit-diff-removed :foreground red :weight 'light)
|
||||
(magit-diff-context :foreground fg :weight 'light)
|
||||
(magit-diff-added-highlight :foreground green :weight 'bold)
|
||||
(magit-diff-removed-highlight :foreground red :weight 'bold)
|
||||
(magit-diff-context-highlight :foreground fg :weight 'bold)
|
||||
(magit-diff-base :foreground fg :weight 'light)
|
||||
(magit-diff-base-highlight :foreground fg :weight 'bold)
|
||||
(magit-diff-lines-boundary :background fg :foreground base2)
|
||||
(magit-diff-lines-heading :background fg :foreground base2)
|
||||
(magit-hash :foreground cyan)
|
||||
(magit-item-highlight :background grey)
|
||||
(magit-log-author :foreground cyan)
|
||||
(magit-log-head-label-head :background cyan :foreground bg-alt :weight 'bold)
|
||||
(magit-log-head-label-local :background red :foreground bg-alt :weight 'bold)
|
||||
(magit-log-head-label-remote :background green :foreground bg-alt :weight 'bold)
|
||||
(magit-log-head-label-tags :background magenta :foreground bg-alt :weight 'bold)
|
||||
(magit-log-head-label-wip :background yellow :foreground bg-alt :weight 'bold)
|
||||
(magit-log-sha1 :foreground green)
|
||||
(magit-process-ng :foreground orange :weight 'bold)
|
||||
(magit-process-ok :foreground cyan :weight 'bold)
|
||||
(magit-section-heading :foreground red)
|
||||
(magit-section-highlight :weight 'bold)
|
||||
(section-heading-selection :foreground red :weight 'bold)
|
||||
(magit-section-title :background bg-alt :foreground red :weight 'bold)
|
||||
(magit-cherry-equivalent :foreground magenta)
|
||||
(magit-cherry-unmatched :foreground orange)
|
||||
(magit-reflog-checkout :foreground blue)
|
||||
(magit-reflog-cherry-pick :foreground green)
|
||||
(magit-bisect-bad :foreground red)
|
||||
(magit-bisect-good :foreground green)
|
||||
(magit-bisect-skip :foreground fg)
|
||||
(magit-diff-conflict-heading :foreground fg)
|
||||
(magit-dimmed :foreground base8)
|
||||
(magithub-ci-no-status :foreground grey)
|
||||
(magithub-issue-number :foreground fg)
|
||||
(magithub-notification-reason :foreground fg)
|
||||
|
||||
;;;;; Modeline, Solaire modeline and Doom modeline
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-dark base8 highlight))
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-dark modeline-bg highlight))
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;;;;; whitespace
|
||||
(whitespace-indentation :inherit 'default)
|
||||
(whitespace-big-indent :inherit 'default)
|
||||
|
||||
;;;;; ivy-mode
|
||||
(ivy-current-match :background bg-blue :distant-foreground base0 :weight 'normal)
|
||||
(ivy-posframe :background base1 :foreground fg)
|
||||
(internal-border :background base7)
|
||||
|
||||
;;;;; lsp-mode and lsp-ui-mode
|
||||
(lsp-ui-peek-highlight :foreground yellow)
|
||||
(lsp-ui-sideline-symbol-info :foreground (doom-blend comments bg 0.85)
|
||||
:background bg-alt)
|
||||
|
||||
;;;; --- major-mode faces -------------------
|
||||
;;;;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;;;;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;;;;; org-mode
|
||||
((org-block &override) :background bg-alt)
|
||||
((org-block-begin-line &override) :background bg :slant 'italic)
|
||||
((org-quote &override) :background base1)
|
||||
|
||||
(org-hide :foreground hidden)
|
||||
|
||||
;;;;; treemacs
|
||||
(treemacs-root-face :foreground strings :weight 'bold :height 1.2)
|
||||
(doom-themes-treemacs-file-face :foreground comments)
|
||||
)
|
||||
|
||||
|
||||
;;;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-acario-light-theme.el ends here
|
||||
|
232
elpa/doom-themes-20210322.1750/doom-ayu-light-theme.el
Normal file
232
elpa/doom-themes-20210322.1750/doom-ayu-light-theme.el
Normal file
|
@ -0,0 +1,232 @@
|
|||
;;; doom-ayu-light-theme.el --- inspired by Atom One Dark -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-ayu-light-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-ayu-light-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-ayu-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ayu-light-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-ayu-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ayu-light-comment-bg doom-ayu-light-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-ayu-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ayu-light-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-ayu-light-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-ayu-light
|
||||
"A light theme inspired by Ayu Light"
|
||||
|
||||
;; name default 256 16
|
||||
(
|
||||
;; common
|
||||
(common-accent '("#ff9940" "orange" "orange" ))
|
||||
(common-bg '("#fafafa" "black" "black" ))
|
||||
(common-fg '("#575f66" "grey" "grey" ))
|
||||
(common-ui '("#ba9199" "grey" "grey" ))
|
||||
(test '("#2ea8e6" "grey" "grey" ))
|
||||
;; syntax
|
||||
(syntax-tag '("#55b4d4" "cyan" "blue" ))
|
||||
(syntax-func '("#f2ae49" "yellow" "yellow" ))
|
||||
(syntax-entity '("#399ee6" "blue" "blue" ))
|
||||
(syntax-string '("#86b300" "green" "green" ))
|
||||
(syntax-regexp '("#4cbf99" "teal" "green" ))
|
||||
(syntax-markup '("#f07171" "red" "red" ))
|
||||
(syntax-keyword '("#fa8d3e" "orange" "orange" ))
|
||||
(syntax-special '("#e6ba7e" "yellow" "yellow" ))
|
||||
(syntax-comment '("#abb0b6" "grey" "grey" ))
|
||||
(syntax-constant '("#a37acc" "magenta" "purple" ))
|
||||
(syntax-operator '("#ed9366" "orange" "orange" ))
|
||||
(syntax-error '("#f51818" "red" "red" ))
|
||||
;; ui
|
||||
(ui-line (doom-darken common-bg 0.07))
|
||||
(ui-panel-shadow (doom-lighten common-bg 0.35))
|
||||
(ui-panel-border (doom-lighten common-bg 0.45))
|
||||
(ui-gutter-normal (doom-lighten common-ui 0.45))
|
||||
(ui-gutter-active common-ui)
|
||||
(ui-selection-bg (doom-blend common-bg test 0.7))
|
||||
(ui-selection-inactive (doom-lighten test 0.93))
|
||||
(ui-selection-border (doom-lighten test 0.93))
|
||||
(ui-guide-active (doom-lighten common-ui 0.75))
|
||||
(ui-guide-normal (doom-lighten common-ui 0.35))
|
||||
;; vcs
|
||||
(vcs-added '("#99bf4d" "green" "green" ))
|
||||
(vcs-modified '("#709ecc" "blue" "blue" ))
|
||||
(vcs-removed '("#f27983" "red" "red" ))
|
||||
|
||||
(bg common-bg)
|
||||
(bg-alt common-bg)
|
||||
(base0 ui-gutter-normal)
|
||||
(base1 ui-gutter-active)
|
||||
(base2 ui-selection-bg)
|
||||
(base3 ui-selection-inactive)
|
||||
(base4 ui-selection-border)
|
||||
(base5 ui-guide-active)
|
||||
(base6 ui-guide-normal)
|
||||
(base7 ui-panel-shadow)
|
||||
(base8 ui-panel-border)
|
||||
(fg common-fg)
|
||||
(fg-alt common-ui)
|
||||
(grey syntax-comment)
|
||||
(red syntax-markup)
|
||||
(orange syntax-keyword)
|
||||
(green syntax-string)
|
||||
(teal syntax-regexp)
|
||||
(yellow syntax-func)
|
||||
(blue syntax-entity)
|
||||
(dark-blue (doom-darken syntax-entity 0.2))
|
||||
(magenta syntax-constant)
|
||||
(violet (doom-lighten syntax-constant 0.2))
|
||||
(cyan syntax-tag)
|
||||
(dark-cyan (doom-darken syntax-tag 0.2))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight common-accent)
|
||||
(vertical-bar ui-panel-border)
|
||||
(selection ui-selection-inactive)
|
||||
(builtin syntax-func)
|
||||
(comments (if doom-ayu-light-brighter-comments syntax-comment syntax-comment))
|
||||
(doc-comments (if doom-ayu-light-brighter-comments syntax-comment syntax-comment))
|
||||
(constants syntax-constant)
|
||||
(functions syntax-func)
|
||||
(keywords syntax-keyword)
|
||||
(methods syntax-func)
|
||||
(operators syntax-operator)
|
||||
(type syntax-special)
|
||||
(strings syntax-string)
|
||||
(variables common-fg)
|
||||
(numbers syntax-func)
|
||||
(region ui-selection-bg)
|
||||
(error syntax-error)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified vcs-modified)
|
||||
(vc-added vcs-added)
|
||||
(vc-deleted vcs-removed)
|
||||
|
||||
;; custom categories
|
||||
(hidden (car bg))
|
||||
(-modeline-bright doom-ayu-light-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-ayu-light-padded-modeline
|
||||
(if (integerp doom-ayu-light-padded-modeline) doom-ayu-light-padded-modeline 4)))
|
||||
|
||||
(modeline-fg common-ui)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-lighten blue 0.475)
|
||||
`(,(doom-lighten (car bg) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-lighten blue 0.45)
|
||||
`(,(doom-lighten (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive `(,(doom-lighten (car bg) 0.1) ,@(cdr bg)))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-ayu-light-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight) :weight 'normal)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'normal)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'normal)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'normal)
|
||||
|
||||
;; ivy-mode
|
||||
(ivy-current-match :background ui-line)
|
||||
(ivy-minibuffer-match-face-1 :foreground common-accent :weight 'bold)
|
||||
(ivy-minibuffer-match-face-2 :foreground common-accent :weight 'bold)
|
||||
(ivy-minibuffer-match-face-3 :foreground common-accent :weight 'bold)
|
||||
(ivy-minibuffer-match-face-4 :foreground common-accent :weight 'bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; LaTeX-mode
|
||||
(font-latex-math-face :foreground green)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten common-bg 0.05))
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden)
|
||||
(org-headline-done :foreground syntax-comment)
|
||||
|
||||
(js2-object-property :foreground common-fg)
|
||||
|
||||
(rjsx-tag :foreground cyan)
|
||||
(rjsx-tag-bracket-face :foreground (doom-lighten cyan 0.5))
|
||||
(rjsx-attr :foreground syntax-func)
|
||||
|
||||
(web-mode-html-tag-face :foreground cyan)
|
||||
(web-mode-html-tag-bracket-face :foreground (doom-lighten cyan 0.5))
|
||||
(web-mode-html-attr-name-face :foreground syntax-func)
|
||||
|
||||
(company-tooltip :foreground common-fg :background common-bg)
|
||||
(company-tooltip-annotation :foreground common-fg)
|
||||
(company-tooltip-selection :background ui-line)
|
||||
(company-tooltip-search :foreground common-accent :weight 'bold)
|
||||
(company-scrollbar-bg :background common-bg)
|
||||
(company-scrollbar-fg :background syntax-comment)
|
||||
|
||||
(highlight-numbers-number :foreground syntax-func :weight 'normal)
|
||||
|
||||
;; diff-mode
|
||||
(diff-removed :foreground vcs-removed)
|
||||
)
|
||||
)
|
||||
|
||||
;;; doom-ayu-light-theme.el ends here
|
233
elpa/doom-themes-20210322.1750/doom-ayu-mirage-theme.el
Normal file
233
elpa/doom-themes-20210322.1750/doom-ayu-mirage-theme.el
Normal file
|
@ -0,0 +1,233 @@
|
|||
;;; doom-ayu-mirage-theme.el -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-ayu-mirage-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-ayu-mirage-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-ayu-mirage-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ayu-mirage-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-ayu-mirage-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ayu-mirage-comment-bg doom-ayu-mirage-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-ayu-mirage-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ayu-mirage-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-ayu-mirage-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-ayu-mirage
|
||||
"A dark theme inspired by Ayu Mirage"
|
||||
|
||||
;; name default 256 16
|
||||
(
|
||||
;; common
|
||||
(common-accent '("#ffcc66" "orange" "orange" ))
|
||||
(common-bg '("#1f2430" "black" "black" ))
|
||||
(common-fg '("#cbccc6" "grey" "grey" ))
|
||||
(common-ui '("#707a8c" "grey" "grey" ))
|
||||
(test '("#7399e6" "grey" "grey" ))
|
||||
;; syntax
|
||||
(syntax-tag '("#5ccfe6" "cyan" "blue" ))
|
||||
(syntax-func '("#ffd580" "yellow" "yellow" ))
|
||||
(syntax-entity '("#73d0ff" "blue" "blue" ))
|
||||
(syntax-string '("#bae67e" "green" "green" ))
|
||||
(syntax-regexp '("#95e6cb" "teal" "green" ))
|
||||
(syntax-markup '("#f28779" "red" "red" ))
|
||||
(syntax-keyword '("#ffa759" "orange" "orange" ))
|
||||
(syntax-special '("#ffe6b3" "yellow" "yellow" ))
|
||||
(syntax-comment '("#5c6773" "grey" "grey" ))
|
||||
(syntax-constant '("#d4bfff" "magenta" "purple" ))
|
||||
(syntax-operator '("#f29e74" "orange" "orange" ))
|
||||
(syntax-error '("#ff3333" "red" "red" ))
|
||||
;; ui
|
||||
(ui-line (doom-darken common-bg 0.25))
|
||||
(ui-panel-shadow (doom-darken common-bg 0.35))
|
||||
(ui-panel-border (doom-darken common-bg 0.45))
|
||||
(ui-gutter-normal (doom-darken common-ui 0.45)) ;; alpha replacement
|
||||
(ui-gutter-active common-ui) ;; alpha replacement
|
||||
(ui-selection-bg (doom-blend common-bg test 0.8)) ;; fade replacement
|
||||
(ui-selection-inactive (doom-lighten test 0.93)) ;; fade replacement
|
||||
(ui-selection-border (doom-lighten test 0.93)) ;; fade replacement
|
||||
(ui-guide-active (doom-darken common-ui 0.75)) ;; alpha replacement
|
||||
(ui-guide-normal (doom-darken common-ui 0.35)) ;; alpha replacement
|
||||
;; vcs
|
||||
(vcs-added '("#a6cc70" "green" "green" ))
|
||||
(vcs-modified '("#77a8d9" "blue" "blue" ))
|
||||
(vcs-removed '("#f27983" "red" "red" ))
|
||||
|
||||
(bg common-bg)
|
||||
(bg-alt ui-line)
|
||||
(base0 ui-gutter-normal)
|
||||
(base1 ui-gutter-active)
|
||||
(base2 ui-selection-bg)
|
||||
(base3 ui-selection-inactive)
|
||||
(base4 ui-selection-border)
|
||||
(base5 ui-guide-active)
|
||||
(base6 ui-guide-normal)
|
||||
(base7 ui-panel-shadow)
|
||||
(base8 ui-panel-border)
|
||||
(fg common-fg)
|
||||
(fg-alt common-ui)
|
||||
|
||||
(grey ui-line)
|
||||
(red syntax-markup)
|
||||
(orange syntax-keyword)
|
||||
(green syntax-string)
|
||||
(teal syntax-regexp)
|
||||
(yellow syntax-func)
|
||||
(blue syntax-entity)
|
||||
(dark-blue (doom-darken syntax-entity 0.2))
|
||||
(magenta syntax-constant)
|
||||
(violet (doom-lighten syntax-constant 0.2))
|
||||
(cyan syntax-tag)
|
||||
(dark-cyan (doom-darken syntax-tag 0.2))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight common-accent)
|
||||
(vertical-bar ui-panel-border)
|
||||
(selection nil)
|
||||
(builtin nil)
|
||||
(comments (if doom-ayu-mirage-brighter-comments syntax-comment syntax-comment))
|
||||
(doc-comments (if doom-ayu-mirage-brighter-comments syntax-comment syntax-comment))
|
||||
(constants syntax-constant)
|
||||
(functions syntax-func)
|
||||
(keywords syntax-keyword)
|
||||
(methods syntax-func)
|
||||
(operators syntax-operator)
|
||||
(type syntax-special)
|
||||
(strings syntax-string)
|
||||
(variables common-fg)
|
||||
(numbers syntax-func)
|
||||
(region ui-selection-bg)
|
||||
(error syntax-error)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified vcs-modified)
|
||||
(vc-added vcs-added)
|
||||
(vc-deleted vcs-removed)
|
||||
|
||||
;; custom categories
|
||||
(hidden (car bg))
|
||||
(-modeline-bright doom-ayu-mirage-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-ayu-mirage-padded-modeline
|
||||
(if (integerp doom-ayu-mirage-padded-modeline) doom-ayu-mirage-padded-modeline 4)))
|
||||
|
||||
(modeline-fg common-fg)
|
||||
(modeline-fg-alt common-accent)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive `(,(doom-darken (car bg-alt) 0.1) ,@(cdr bg-alt)))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
((paren-face-match &override) :foreground fg :background ui-selection-bg :weight 'ultra-bold)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-ayu-mirage-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg modeline-bg) :weight 'normal)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'normal)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'normal)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'normal)
|
||||
|
||||
;; ivy-mode
|
||||
(ivy-current-match :background common-bg)
|
||||
(ivy-minibuffer-match-face-1 :foreground common-accent :weight 'bold)
|
||||
(ivy-minibuffer-match-face-2 :foreground common-accent :weight 'bold)
|
||||
(ivy-minibuffer-match-face-3 :foreground common-accent :weight 'bold)
|
||||
(ivy-minibuffer-match-face-4 :foreground common-accent :weight 'bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; LaTeX-mode
|
||||
(font-latex-math-face :foreground green)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten common-bg 0.05))
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden)
|
||||
(org-headline-done :foreground syntax-comment)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground cyan)
|
||||
(rjsx-tag-bracket-face :foreground (doom-darken cyan 0.5))
|
||||
(rjsx-attr :foreground syntax-func)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-html-tag-face :foreground cyan)
|
||||
(web-mode-html-tag-bracket-face :foreground (doom-darken cyan 0.5))
|
||||
(web-mode-html-attr-name-face :foreground syntax-func)
|
||||
|
||||
;; company-mode
|
||||
(company-tooltip :foreground common-fg :background common-bg)
|
||||
(company-tooltip-annotation :foreground common-fg)
|
||||
(company-tooltip-selection :background ui-line)
|
||||
(company-tooltip-search :foreground common-accent :weight 'bold)
|
||||
(company-scrollbar-bg :background common-bg)
|
||||
(company-scrollbar-fg :background syntax-comment)
|
||||
|
||||
;; diff-mode
|
||||
(diff-removed :foreground vcs-removed)
|
||||
)
|
||||
)
|
||||
|
||||
;;; doom-ayu-mirage-theme.el ends here
|
170
elpa/doom-themes-20210322.1750/doom-challenger-deep-theme.el
Normal file
170
elpa/doom-themes-20210322.1750/doom-challenger-deep-theme.el
Normal file
|
@ -0,0 +1,170 @@
|
|||
;;; doom-challenger-deep-theme.el --- inspired by VIM Challenger Deep -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-challenger-deep-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-challenger-deep-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-challenger-deep-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-challenger-deep-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-challenger-deep-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-challenger-deep-comment-bg doom-challenger-deep-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-challenger-deep-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-challenger-deep-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-challenger-deep-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-challenger-deep
|
||||
"A dark theme inspired by VIM Challenger Deep"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#1E1C31" "#121212" nil ))
|
||||
(bg-alt '("#12111E" "#111111" nil ))
|
||||
(base0 '("#100E23" "#080808" "black" ))
|
||||
(base1 '("#292F37" "#262626" "brightblack" ))
|
||||
(base2 '("#3D4551" "#3A3A3A" "brightblack" ))
|
||||
(base3 '("#4C4B68" "#444466" "brightblack" ))
|
||||
(base4 '("#565575" "#555577" "brightblack" ))
|
||||
(base5 '("#858FA5" "#8888AA" "brightblack" ))
|
||||
(base6 '("#9BA7BF" "#99AABB" "brightblack" ))
|
||||
(base7 '("#B0BED8" "#BBBBDD" "brightblack" ))
|
||||
(base8 '("#BAC9E4" "#BBCCEE" "white" ))
|
||||
(fg-alt '("#B2B2B2" "#BBBBBB" "brightwhite" ))
|
||||
(fg '("#CBE3E7" "#CCEEEE" "white" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#FF8080" "#FF8888" "red" ))
|
||||
(orange '("#FFB378" "#FFBB77" "brightred" ))
|
||||
(green '("#95FFA4" "#99FFAA" "green" ))
|
||||
(teal '("#63F2F1" "#66FFFF" "brightgreen" ))
|
||||
(yellow '("#FFE9AA" "#FFEEAA" "yellow" ))
|
||||
(blue '("#91DDFF" "#99DDFF" "brightblue" ))
|
||||
(dark-blue '("#65B2FF" "#66BBFF" "blue" ))
|
||||
(magenta '("#C991E1" "#CC99EE" "magenta" ))
|
||||
(violet '("#906CFF" "#9966FF" "brightmagenta"))
|
||||
(cyan '("#AAFFE4" "#AAFFEE" "brightcyan" ))
|
||||
(dark-cyan '("#62D196" "#66DD99" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight violet)
|
||||
(vertical-bar base1)
|
||||
(selection violet)
|
||||
(builtin magenta)
|
||||
(comments (if doom-challenger-deep-brighter-comments dark-blue base4))
|
||||
(doc-comments (if doom-challenger-deep-brighter-comments (doom-darken dark-cyan 0.3) base5) )
|
||||
(constants cyan)
|
||||
(functions magenta)
|
||||
(keywords red)
|
||||
(methods magenta)
|
||||
(operators teal)
|
||||
(type blue)
|
||||
(strings yellow)
|
||||
(variables yellow)
|
||||
(numbers orange)
|
||||
(region base2)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-challenger-deep-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-challenger-deep-padded-modeline
|
||||
(if (integerp doom-challenger-deep-padded-modeline) doom-challenger-deep-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(((secondary-selection &override) :background base0)
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-challenger-deep-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground blue :background nil)
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base1)
|
||||
((org-block-begin-line &override) :background base1 :foreground comments)
|
||||
(org-hide :foreground hidden)
|
||||
(org-link :foreground orange :underline t :weight 'bold)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base0 :foreground fg))
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-challenger-deep-theme.el ends here
|
196
elpa/doom-themes-20210322.1750/doom-city-lights-theme.el
Normal file
196
elpa/doom-themes-20210322.1750/doom-city-lights-theme.el
Normal file
|
@ -0,0 +1,196 @@
|
|||
;;; doom-city-lights-theme.el --- inspired by Atom City Lights -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-city-lights-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-city-lights-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-city-lights-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-city-lights-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-city-lights-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-city-lights-comment-bg doom-city-lights-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-city-lights-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-city-lights-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-city-lights-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-city-lights
|
||||
"A dark theme inspired by Atom City Lights"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#1D252C" nil nil ))
|
||||
(bg-alt '("#181E24" nil nil ))
|
||||
(base0 '("#10151C" "black" "black" ))
|
||||
(base1 '("#171D22" "#111122" "brightblack" ))
|
||||
(base2 '("#20282F" "#222222" "brightblack" ))
|
||||
(base3 '("#28323B" "#223333" "brightblack" ))
|
||||
(base4 '("#384551" "#334455" "brightblack" ))
|
||||
(base5 '("#56697A" "#556677" "brightblack" ))
|
||||
(base6 '("#688094" "#668899" "brightblack" ))
|
||||
(base7 '("#7FA0B7" "#77AABB" "brightblack" ))
|
||||
(base8 '("#9CAABB" "#99AABB" "white" ))
|
||||
(fg-alt '("#728CA0" "#7788AA" "brightwhite" ))
|
||||
(fg '("#A0B3C5" "#AABBCC" "white" ))
|
||||
|
||||
(grey '("#41505E" "#ff6655" "red" ))
|
||||
(red '("#D95468" "#ff6655" "red" ))
|
||||
(orange '("#D98E48" "#dd8844" "brightred" ))
|
||||
(green '("#8BD49C" "#99bb66" "green" ))
|
||||
(teal '("#33CED8" "#33CCDD" "brightgreen" ))
|
||||
(yellow '("#EBBF83" "#EEBB88" "yellow" ))
|
||||
(blue '("#5EC4FF" "#55CCFF" "brightblue" ))
|
||||
(bright-blue '("#539AFC" "#5599FF" "blue" ))
|
||||
(dark-blue '("#718CA1" "#7788AA" "blue" ))
|
||||
(magenta '("#E27E8D" "#EE7788" "magenta" ))
|
||||
(violet '("#B62D65" "#BB2266" "brightmagenta"))
|
||||
(cyan '("#70E1E8" "#77EEEE" "brightcyan" ))
|
||||
(dark-cyan '("#008B94" "#008899" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.5))
|
||||
(selection dark-blue)
|
||||
(builtin blue)
|
||||
(comments (if doom-city-lights-brighter-comments dark-cyan grey))
|
||||
(doc-comments (doom-lighten (if doom-city-lights-brighter-comments dark-cyan grey) 0.25))
|
||||
(constants magenta)
|
||||
(functions teal)
|
||||
(keywords blue)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type yellow)
|
||||
(strings bright-blue)
|
||||
(variables dark-blue)
|
||||
(numbers magenta)
|
||||
(region base3)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-city-lights-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-city-lights-padded-modeline
|
||||
(if (integerp doom-city-lights-padded-modeline) doom-city-lights-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-city-lights-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; magit-mode
|
||||
(magit-diff-hunk-heading-highlight :foreground fg :background base4 :weight 'bold)
|
||||
(magit-diff-hunk-heading :foreground fg-alt :background base3 :weight 'normal)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
(markdown-url-face :foreground teal :weight 'normal)
|
||||
(markdown-reference-face :foreground base6)
|
||||
((markdown-bold-face &override) :foreground fg)
|
||||
((markdown-italic-face &override) :foreground fg-alt)
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground blue)
|
||||
((outline-2 &override) :foreground green)
|
||||
((outline-3 &override) :foreground teal)
|
||||
((outline-4 &override) :foreground (doom-darken blue 0.2))
|
||||
((outline-5 &override) :foreground (doom-darken green 0.2))
|
||||
((outline-6 &override) :foreground (doom-darken teal 0.2))
|
||||
((outline-7 &override) :foreground (doom-darken blue 0.4))
|
||||
((outline-8 &override) :foreground (doom-darken green 0.4))
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base2)
|
||||
((org-block-begin-line &override) :background base2)
|
||||
(org-hide :foreground hidden)
|
||||
|
||||
;; tooltip and company
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
(company-tooltip-selection :background base3)
|
||||
|
||||
;; Ivy
|
||||
(ivy-minibuffer-match-face-2 :foreground blue :weight 'bold)
|
||||
|
||||
;; js2-mode
|
||||
(js2-object-property :foreground dark-blue)
|
||||
(js2-object-property-access :foreground dark-cyan)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground dark-cyan)
|
||||
(rjsx-attr :foreground cyan :slant 'italic :weight 'medium)
|
||||
)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-city-lights-theme.el ends here
|
222
elpa/doom-themes-20210322.1750/doom-dark+-theme.el
Normal file
222
elpa/doom-themes-20210322.1750/doom-dark+-theme.el
Normal file
|
@ -0,0 +1,222 @@
|
|||
;;; doom-dark+-theme.el --- inspired by dark+ Theme by equinusocio -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-dark+-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-dark+-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-dark+-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(defcustom doom-dark+-blue-modeline nil
|
||||
"If non-nil, mode-line's color will be blue instead of the default purple."
|
||||
:group 'doom-dark+-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-dark+
|
||||
"A dark theme inspired by dark+ Theme by equinusocio"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#1e1e1e" "#1e1e1e" nil))
|
||||
(bg-alt '("#252526" "#222222" nil))
|
||||
(base0 '("#171F24" "#111122" "black"))
|
||||
(base1 '("#1C1C1C" "#1C1C1C" "brightblack"))
|
||||
(base2 '("#121212" "#626262" "brightblack"))
|
||||
(base3 '("#313131" "#3a3a3a" "brightblack"))
|
||||
(base4 '("#4b474c" "#444444" "brightblack"))
|
||||
(base5 '("#37474F" "#585858" "brightblack"))
|
||||
(base6 '("#237AD3" "#2277DD" "brightblack"))
|
||||
(base7 '("#777778" "#767676" "brightblack"))
|
||||
(base8 '("#f4f4f4" "#a8a8a8" "white"))
|
||||
(fg '("#d4d4d4" "#e4e4e4" "brightwhite"))
|
||||
(fg-alt '("#AEAFAD" "#bcbcbc" "white"))
|
||||
|
||||
(grey base7)
|
||||
(red '("#D16969" "#DD6666" "red"))
|
||||
(orange '("#DB8E73" "#DD8877" "brightred"))
|
||||
(green '("#579C4C" "#559944" "green"))
|
||||
(light-green '("#B5CEA8" "#BBCCAA" "green"))
|
||||
(teal '("#35CDAF" "#33CCAA" "brightgreen"))
|
||||
(yellow '("#D7BA7D" "#DDBB77" "brightyellow"))
|
||||
(light-yellow '("#D9DAA2" "#DDDDAA" "brightyellow"))
|
||||
(blue '("#339CDB" "#3399DD" "brightblue"))
|
||||
(dark-blue '("#124F7B" "#114477" "blue"))
|
||||
(magenta '("#C586C0" "#CC88CC" "brightmagenta"))
|
||||
(violet '("#BB80B3" "#BB88BB" "magenta"))
|
||||
(dark-violet '("#68217A" "#662277" "magenta"))
|
||||
(cyan '("#85DDFF" "#5FD7FF" "brightcyan"))
|
||||
(dark-cyan '("#207FA1" "#2277AA" "cyan"))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight base6)
|
||||
(vertical-bar bg-alt)
|
||||
(selection base4)
|
||||
(builtin magenta)
|
||||
(comments green)
|
||||
(doc-comments base7)
|
||||
(constants blue)
|
||||
(functions light-yellow)
|
||||
(keywords blue)
|
||||
(methods light-yellow)
|
||||
(operators cyan)
|
||||
(type teal)
|
||||
(strings orange)
|
||||
(variables cyan)
|
||||
(numbers light-green)
|
||||
(region (doom-darken base6 0.5))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified blue)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(modeline-bg (if doom-dark+-blue-modeline base6 dark-violet))
|
||||
(modeline-bg-alt (doom-darken bg 0.01))
|
||||
(modeline-fg base8)
|
||||
(modeline-fg-alt blue)
|
||||
|
||||
(-modeline-pad
|
||||
(when doom-dark+-padded-modeline
|
||||
(if (integerp doom-dark+-padded-modeline) doom-dark+-padded-modeline 4))))
|
||||
|
||||
;; --- base faces ------------------------
|
||||
((highlight :background highlight :foreground base8 :distant-foreground base8)
|
||||
((lazy-highlight &override) :background base4 :foreground fg :distant-foreground fg :bold bold)
|
||||
(doom-modeline-buffer-path :foreground green :weight 'bold)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path)
|
||||
|
||||
(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)))
|
||||
|
||||
(mode-line-emphasis
|
||||
:foreground fg
|
||||
:weight 'bold)
|
||||
|
||||
(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)))
|
||||
|
||||
(fringe :background bg-alt)
|
||||
|
||||
;; --- major-mode faces ------------------------
|
||||
;; all-the-icons
|
||||
(all-the-icons-dblue :foreground blue)
|
||||
|
||||
;; man-mode
|
||||
(Man-overstrike :inherit 'bold :foreground magenta)
|
||||
(Man-underline :inherit 'underline :foreground blue)
|
||||
|
||||
;; centaur-tabs
|
||||
(centaur-tabs-active-bar-face :background base6)
|
||||
(centaur-tabs-selected-modified :inherit 'centaur-tabs-selected
|
||||
:foreground fg
|
||||
:weight 'bold)
|
||||
(centaur-tabs-unselected-modified :inherit 'centaur-tabs-unselected
|
||||
:foreground fg
|
||||
:weight 'bold)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected
|
||||
:foreground fg)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected
|
||||
:foreground fg)
|
||||
;; dashboard
|
||||
(dashboard-heading :foreground green :weight 'bold)
|
||||
|
||||
;; doom-modeline
|
||||
(doom-modeline-bar :background (if doom-dark+-blue-modeline base6 dark-violet))
|
||||
(doom-modeline-info :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-urgent :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-warning :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-debug :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-buffer-minor-mode :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-project-dir :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-project-parent-dir :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-persp-name :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-modified :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-lsp-success :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-evil-insert-state :foreground cyan)
|
||||
(doom-modeline-evil-visual-state :foreground yellow)
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base2)
|
||||
((org-block-background &override) :background base2)
|
||||
((org-block-begin-line &override) :background base2)
|
||||
|
||||
;; --- plugin faces -------------------
|
||||
;; company
|
||||
(company-tooltip-selection :background region)
|
||||
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; dired-k
|
||||
(dired-k-commited :foreground base4)
|
||||
(dired-k-modified :foreground vc-modified)
|
||||
(dired-k-ignored :foreground cyan)
|
||||
(dired-k-added :foreground vc-added)
|
||||
|
||||
;; ivy
|
||||
(counsel-active-mode :foreground (doom-lighten base6 0.1))
|
||||
(ivy-minibuffer-match-face-2 :foreground (doom-lighten base6 0.1) :weight 'extra-bold)
|
||||
|
||||
;; js2-mode
|
||||
(js2-jsdoc-tag :foreground magenta)
|
||||
(js2-object-property :foreground cyan)
|
||||
(js2-object-property-access :foreground cyan)
|
||||
(js2-function-param :foreground violet)
|
||||
(js2-jsdoc-type :foreground base8)
|
||||
(js2-jsdoc-value :foreground cyan)
|
||||
|
||||
;; lsp-mode
|
||||
(lsp-lens-face :foreground base7 :height 0.8)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground green)
|
||||
(rainbow-delimiters-depth-4-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-5-face :foreground violet)
|
||||
(rainbow-delimiters-depth-6-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-7-face :foreground blue)
|
||||
(rainbow-delimiters-depth-8-face :foreground teal)
|
||||
(rainbow-delimiters-depth-9-face :foreground dark-cyan)
|
||||
|
||||
;; org-pomodoro
|
||||
(org-pomodoro-mode-line :inherit 'mode-line-emphasis) ; unreadable otherwise
|
||||
(org-pomodoro-mode-line-overtime :inherit 'org-pomodoro-mode-line)
|
||||
(org-pomodoro-mode-line-break :inherit 'org-pomodoro-mode-line)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground blue)
|
||||
(rjsx-attr :foreground cyan :slant 'italic :weight 'medium)
|
||||
|
||||
;; treemacs
|
||||
(treemacs-root-face :foreground fg :weight 'ultra-bold :height 1.2)
|
||||
(doom-themes-treemacs-root-face :foreground fg :weight 'ultra-bold :height 1.2)
|
||||
(doom-themes-treemacs-file-face :foreground fg)
|
||||
(treemacs-directory-face :foreground fg)
|
||||
(treemacs-git-modified-face :foreground blue)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base2 :foreground fg)))
|
||||
|
||||
(provide 'doom-dark+-theme)
|
265
elpa/doom-themes-20210322.1750/doom-dracula-theme.el
Normal file
265
elpa/doom-themes-20210322.1750/doom-dracula-theme.el
Normal file
|
@ -0,0 +1,265 @@
|
|||
;;; doom-dracula-theme.el - based on https://draculatheme.com/ -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-dracula-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-dracula-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-dracula-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-dracula-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-dracula-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-dracula-colorful-headers nil
|
||||
"If non-nil, headers in org-mode will be more colorful; which is truer to the
|
||||
original Dracula Emacs theme."
|
||||
:group 'doom-dracula-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-dracula-comment-bg doom-dracula-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-dracula-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-dracula-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-dracula-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-dracula
|
||||
"A dark theme based on Dracula theme"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#282a36" "#262626" nil ))
|
||||
(bg-alt '("#1E2029" "#1c1c1c" nil ))
|
||||
(base0 '("#1E2029" "#1c1c1c" "black" ))
|
||||
(base1 '("#282a36" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#373844" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#44475a" "#262626" "brightblack" ))
|
||||
(base4 '("#565761" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#6272a4" "#525252" "brightblack" ))
|
||||
(base6 '("#b6b6b2" "#bbbbbb" "brightblack" ))
|
||||
(base7 '("#ccccc7" "#cccccc" "brightblack" ))
|
||||
(base8 '("#f8f8f2" "#dfdfdf" "white" ))
|
||||
(fg '("#f8f8f2" "#ffffff" "white" ))
|
||||
(fg-alt '("#e2e2dc" "#bfbfbf" "brightwhite" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#ff5555" "#ff6655" "red" ))
|
||||
(orange '("#ffb86c" "#ffbb66" "brightred" ))
|
||||
(green '("#50fa7b" "#55ff77" "green" ))
|
||||
(teal '("#0189cc" "#0088cc" "brightgreen" ))
|
||||
(yellow '("#f1fa8c" "#ffff88" "yellow" ))
|
||||
(blue '("#61bfff" "#66bbff" "brightblue" ))
|
||||
(dark-blue '("#0189cc" "#0088cc" "blue" ))
|
||||
(magenta '("#ff79c6" "#ff77cc" "magenta" ))
|
||||
(violet '("#bd93f9" "#bb99ff" "brightmagenta"))
|
||||
(cyan '("#8be9fd" "#88eeff" "brightcyan" ))
|
||||
(dark-cyan '("#8be9fd" "#88eeff" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight violet)
|
||||
(vertical-bar (doom-darken base1 0.1))
|
||||
(selection dark-blue)
|
||||
(builtin orange)
|
||||
(comments (if doom-dracula-brighter-comments dark-cyan base5))
|
||||
(doc-comments (doom-lighten (if doom-dracula-brighter-comments dark-cyan base5) 0.25))
|
||||
(constants cyan)
|
||||
(functions green)
|
||||
(keywords magenta)
|
||||
(methods teal)
|
||||
(operators violet)
|
||||
(type violet)
|
||||
(strings yellow)
|
||||
(variables (doom-lighten 'magenta 0.6))
|
||||
(numbers violet)
|
||||
(region base3)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(level1 magenta)
|
||||
(level2 violet)
|
||||
(level3 (if doom-dracula-colorful-headers green (doom-lighten violet 0.35)))
|
||||
(level4 (if doom-dracula-colorful-headers yellow (doom-lighten magenta 0.35)))
|
||||
(level5 (if doom-dracula-colorful-headers cyan (doom-lighten violet 0.6)))
|
||||
(level6 (if doom-dracula-colorful-headers orange (doom-lighten magenta 0.6)))
|
||||
(level7 (if doom-dracula-colorful-headers blue (doom-lighten violet 0.85)))
|
||||
(level8 (if doom-dracula-colorful-headers magenta (doom-lighten magenta 0.85)))
|
||||
(level9 (if doom-dracula-colorful-headers violet (doom-lighten violet 0.95)))
|
||||
|
||||
(hidden base1)
|
||||
(-modeline-bright doom-dracula-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-dracula-padded-modeline
|
||||
(if (integerp doom-dracula-padded-modeline) doom-dracula-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
|
||||
(if -modeline-bright
|
||||
(doom-darken magenta 0.675)
|
||||
`(,(car bg) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken magenta 0.6)
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg) 0.075) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base5)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-dracula-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
(solaire-hl-line-face :background base2)
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground violet)
|
||||
(css-property :foreground violet)
|
||||
(css-selector :foreground green)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-darken 'bg 0.075))
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground level1)
|
||||
(outline-2 :inherit 'outline-1 :foreground level2)
|
||||
(outline-3 :inherit 'outline-1 :foreground level3)
|
||||
(outline-4 :inherit 'outline-1 :foreground level4)
|
||||
(outline-5 :inherit 'outline-1 :foreground level5)
|
||||
(outline-6 :inherit 'outline-1 :foreground level6)
|
||||
(outline-7 :inherit 'outline-1 :foreground level7)
|
||||
|
||||
(org-todo :foreground orange :bold 'inherit :background (doom-darken base1 0.02))
|
||||
(org-done :foreground green :strike-through nil :background base2 :bold t)
|
||||
(org-headline-done :foreground base4 :strike-through nil)
|
||||
((org-tag &override) :foreground (doom-lighten orange 0.3))
|
||||
(org-agenda-date :foreground cyan)
|
||||
(org-agenda-dimmed-todo-face :foreground comments)
|
||||
(org-agenda-done :foreground base4)
|
||||
(org-agenda-structure :foreground violet)
|
||||
((org-block &override) :background (doom-darken base1 0.125) :foreground violet)
|
||||
((org-block-begin-line &override) :background (doom-darken base1 0.125) :foreground comments)
|
||||
(org-code :foreground yellow)
|
||||
(org-column :background base1)
|
||||
(org-column-title :background base1 :bold t :underline t)
|
||||
(org-date :foreground cyan)
|
||||
(org-document-info :foreground blue)
|
||||
(org-document-info-keyword :foreground comments)
|
||||
(org-ellipsis :foreground comments)
|
||||
(org-footnote :foreground blue)
|
||||
(org-headline-base :foreground comments :strike-through t :bold nil)
|
||||
(org-link :foreground orange :underline t :weight 'bold)
|
||||
(org-priority :foreground cyan)
|
||||
(org-scheduled :foreground green)
|
||||
(org-scheduled-previously :foreground yellow)
|
||||
(org-scheduled-today :foreground orange)
|
||||
(org-sexp-date :foreground base4)
|
||||
(org-special-keyword :foreground yellow)
|
||||
(org-table :foreground violet)
|
||||
(org-upcoming-deadline :foreground yellow)
|
||||
(org-warning :foreground magenta)
|
||||
|
||||
;; tooltip and company
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
(company-tooltip-selection :background base3)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground magenta)
|
||||
(rjsx-attr :foreground green :slant 'italic :weight 'medium)
|
||||
|
||||
;; js2-mode
|
||||
(js2-external-variable :foreground violet)
|
||||
(js2-function-param :foreground cyan)
|
||||
(js2-jsdoc-html-tag-delimiter :foreground yellow)
|
||||
(js2-jsdoc-html-tag-name :foreground dark-blue)
|
||||
(js2-jsdoc-value :foreground yellow)
|
||||
(js2-private-function-call :foreground cyan)
|
||||
(js2-private-member :foreground base7)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-builtin-face :foreground orange)
|
||||
(web-mode-css-selector-face :foreground green)
|
||||
(web-mode-html-attr-name-face :foreground green)
|
||||
(web-mode-html-tag-bracket-face :inherit 'default)
|
||||
(web-mode-html-tag-face :foreground magenta :weight 'bold)
|
||||
(web-mode-preprocessor-face :foreground orange)
|
||||
|
||||
;; helm
|
||||
(helm-bookmark-w3m :foreground violet)
|
||||
(helm-buffer-not-saved :foreground violet)
|
||||
(helm-buffer-process :foreground orange)
|
||||
(helm-buffer-saved-out :foreground fg)
|
||||
(helm-buffer-size :foreground fg)
|
||||
(helm-candidate-number :foreground bg :background fg)
|
||||
(helm-ff-directory :foreground green :weight 'bold)
|
||||
(helm-ff-executable :foreground dark-blue :inherit 'italic)
|
||||
(helm-ff-invalid-symlink :foreground magenta :weight 'bold)
|
||||
(helm-ff-prefix :foreground bg :background magenta)
|
||||
(helm-ff-symlink :foreground magenta :weight 'bold)
|
||||
(helm-grep-finish :foreground base2)
|
||||
(helm-grep-running :foreground green)
|
||||
(helm-header :foreground base2 :underline nil :box nil)
|
||||
(helm-moccur-buffer :foreground green)
|
||||
(helm-separator :foreground violet)
|
||||
(helm-source-go-package-godoc-description :foreground yellow)
|
||||
((helm-source-header &override) :foreground magenta)
|
||||
(helm-time-zone-current :foreground orange)
|
||||
(helm-time-zone-home :foreground violet)
|
||||
(helm-visible-mark :foreground bg :background base3)
|
||||
|
||||
;; highlight-quoted-mode
|
||||
(highlight-quoted-symbol :foreground cyan)
|
||||
(highlight-quoted-quote :foreground magenta)
|
||||
)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-dracula-theme.el ends here
|
267
elpa/doom-themes-20210322.1750/doom-ephemeral-theme.el
Normal file
267
elpa/doom-themes-20210322.1750/doom-ephemeral-theme.el
Normal file
|
@ -0,0 +1,267 @@
|
|||
;;; doom-ephemeral-theme.el --- ephemeral -*- no-byte-compile: t; -*-
|
||||
;;; Commentary:
|
||||
;;; A doom theme inspired by https://github.com/elenapan/dotfiles
|
||||
|
||||
;;; Code:
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-ephemeral-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-ephemeral-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-ephemeral-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ephemeral-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-ephemeral-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ephemeral-comment-bg doom-ephemeral-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their legibility."
|
||||
:group 'doom-ephemeral-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-ephemeral-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-ephemeral-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(eval-and-compile
|
||||
(defcustom doom-ephemeral-region-highlight t
|
||||
"Determines the selection highlight style. Can be 'frost, 'snowstorm or t
|
||||
(default)."
|
||||
:group 'doom-ephemeral-theme
|
||||
:type 'symbol))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-ephemeral
|
||||
"A dark theme inspired by Nord."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#323f4e" nil nil ))
|
||||
(bg-alt '("#28323e" nil nil ))
|
||||
(base0 '("#181e26" "black" "black" ))
|
||||
(base1 '("#1e262d" "#1e262f" "brightblack" ))
|
||||
(base2 '("#242d39" "#242d39" "brightblack" ))
|
||||
(base3 '("#2a3542" "#2a3542" "brightblack" ))
|
||||
(base4 '("#323f4e" "#323f4e" "brightblack" ))
|
||||
(base5 '("#364455" "#364455" "brightblack" ))
|
||||
(base6 '("#505d6f" "#505d6f" "brightblack" ))
|
||||
(base7 '("#77818f" "#77818f" "brightblack" ))
|
||||
(base8 '("#ebedef" "#ebedef" "white" ))
|
||||
(fg '("#f8f8f2" "#f8f8f2" "white" ))
|
||||
(fg-alt '("#fdfdfd" "#fdfdfd" "brightwhite" ))
|
||||
|
||||
(grey '("#3d4c5f" "#3d4c5f" "grey" ))
|
||||
(red '("#f48fb1" "#f48fb1" "red" ))
|
||||
(orange '("#f2a272" "#f2a272" "brightred" ))
|
||||
(green '("#53e2ae" "#53e2ae" "green" ))
|
||||
(teal '("#a1efd3" "#a1efd3" "brightgreen" ))
|
||||
(yellow '("#f1fa8c" "#f1fa8c" "yellow" ))
|
||||
(blue '("#92b6f4" "#92b6f4" "brightblue" ))
|
||||
(dark-blue '("#9f92f4" "#9f92f4" "blue" ))
|
||||
(magenta '("#BD99FF" "#c574dd" "magenta" ))
|
||||
(violet '("#8897f4" "#8897f4" "brightmagenta"))
|
||||
(dark-violet '("#985EFF" "#8897f4" "brightmagenta"))
|
||||
(cyan '("#79e6f3" "#87dfeb" "brightcyan" ))
|
||||
(dark-cyan '("#24d1e7" "#24d1e7" "cyan" ))
|
||||
|
||||
;; ephemeral colours
|
||||
(pink '("#c574dd" "#c574dd" "grey" ))
|
||||
(light-pink (doom-lighten pink 0.6))
|
||||
(dark-grey (doom-darken grey 0.3) )
|
||||
(light-grey '("#56687e" "#56687e" "grey" ))
|
||||
(alt-blue '("#87DFEB" "#87dfeb" "brightblue" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight alt-blue)
|
||||
(vertical-bar bg-alt)
|
||||
(selection blue)
|
||||
(builtin yellow)
|
||||
(comments light-grey)
|
||||
(doc-comments light-grey)
|
||||
(constants dark-violet)
|
||||
(functions alt-blue)
|
||||
(keywords yellow)
|
||||
(methods teal)
|
||||
(operators blue)
|
||||
(type cyan)
|
||||
(strings red)
|
||||
(variables light-pink)
|
||||
(numbers green)
|
||||
(region base1)
|
||||
(error orange)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified teal)
|
||||
(vc-added blue)
|
||||
(vc-deleted orange)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-ephemeral-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-ephemeral-padded-modeline
|
||||
(if (integerp doom-ephemeral-padded-modeline) doom-ephemeral-padded-modeline 4)))
|
||||
|
||||
(region-fg
|
||||
(when (memq doom-ephemeral-region-highlight '(frost snowstorm))
|
||||
bg-alt))
|
||||
|
||||
(modeline-fg fg)
|
||||
(modeline-fg-alt light-grey)
|
||||
(modeline-bg bg)
|
||||
(modeline-bg-l base2)
|
||||
(modeline-bg-inactive base3)
|
||||
(modeline-bg-inactive-l `(,(car base3), (cdr base6))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(((region &override) :foreground region-fg)
|
||||
((line-number &override) :foreground grey)
|
||||
((line-number-current-line &override) :foreground blue)
|
||||
((paren-face-match &override) :foreground red :background base3 :weight 'ultra-bold)
|
||||
((paren-face-mismatch &override) :foreground base3 :background red :weight 'ultra-bold)
|
||||
((vimish-fold-overlay &override) :inherit 'font-lock-comment-face :background base3 :weight 'light)
|
||||
((vimish-fold-fringe &override) :foreground teal)
|
||||
(shadow :foreground base6)
|
||||
|
||||
(font-lock-comment-face :inherit 'bold :foreground comments :background (if doom-ephemeral-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face :inherit 'font-lock-comment-face :foreground doc-comments)
|
||||
(font-lock-builtin-face :inherit 'italic :foreground builtin)
|
||||
(font-lock-keyword-face :inherit 'bold :foreground keywords)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
;; modeline
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
(doom-modeline-highlight :foreground (doom-lighten base2 0.3))
|
||||
(doom-modeline-project-dir :foreground teal :inherit 'bold)
|
||||
(doom-modeline-buffer-path :foreground red)
|
||||
(doom-modeline-buffer-file :foreground fg)
|
||||
(doom-modeline-buffer-major-mode :foreground teal :weight 'bold)
|
||||
(doom-modeline-buffer-modified :foreground violet)
|
||||
(doom-modeline-panel :background base0)
|
||||
(doom-modeline-urgent :foreground modeline-fg)
|
||||
(doom-modeline-info :inherit 'bold :foreground cyan)
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; ediff
|
||||
(ediff-fine-diff-A :background (doom-darken violet 0.4) :weight 'bold)
|
||||
(ediff-current-diff-A :background (doom-darken base0 0.25))
|
||||
|
||||
;; elscreen
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
;; highlight-thing highlight-symbol
|
||||
(highlight-symbol-face :background region :distant-foreground fg-alt)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background region :distant-foreground fg-alt)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; NOTE: there are lots of tweaks here to mimic the VSCode theme
|
||||
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground violet)
|
||||
(css-property :foreground fg)
|
||||
(css-selector :foreground red)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground red)
|
||||
(markdown-link-face :foreground teal)
|
||||
(markdown-link-title-face :foreground alt-blue)
|
||||
(markdown-header-face :foreground red :inherit 'bold)
|
||||
(markdown-header-delimiter-face :foreground red :inherit 'bold)
|
||||
(markdown-language-keyword-face :foreground pink :inherit 'italic)
|
||||
(markdown-markup-face :foreground blue)
|
||||
(markdown-bold-face :foreground blue)
|
||||
(markdown-table-face :foreground fg :background bg)
|
||||
((markdown-code-face &override) :foreground teal :background base1)
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground blue :background nil)
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base2)
|
||||
((org-block-begin-line &override) :inherit 'bold :background base2 :foreground light-grey)
|
||||
(org-hide :foreground hidden)
|
||||
(org-link :inherit 'underline :foreground pink)
|
||||
(org-document-info-keyword :foreground comments)
|
||||
(org-agenda-done :foreground teal)
|
||||
(org-todo :foreground red)
|
||||
(org-headline-done :foreground red)
|
||||
(org-level-1 :foreground alt-blue)
|
||||
(org-level-2 :foreground violet)
|
||||
(org-level-3 :foreground blue)
|
||||
(org-level-4 :foreground red)
|
||||
(org-level-5 :foreground pink)
|
||||
(org-level-6 :foreground light-grey)
|
||||
(org-level-7 :foreground yellow)
|
||||
(org-level-8 :foreground cyan)
|
||||
(org-list-dt :foreground light-grey)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base1 :foreground fg)
|
||||
|
||||
;; haskell
|
||||
(haskell-type-face :inherit 'bold :foreground violet)
|
||||
(haskell-constructor-face :inherit 'bold :foreground alt-blue)
|
||||
(haskell-keyword-face :inherit 'italic :foreground blue)
|
||||
(haskell-operator-face :foreground light-pink)
|
||||
(haskell-literate-comment-face :foreground doc-comments)
|
||||
(haskell-definition-face :inherit 'bold :foreground functions)
|
||||
|
||||
;; magit
|
||||
(magit-diff-hunk-heading :foreground bg :background (doom-blend magenta bg 0.3) :extend t)
|
||||
(magit-diff-hunk-heading-highlight :foreground bg :background magenta :weight 'bold :extend t)
|
||||
(magit-section-heading :foreground red)
|
||||
(magit-branch-remote :foreground orange)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
;; basics
|
||||
(link :foreground (doom-lighten light-grey 0.3) :inherit 'underline)
|
||||
(fringe :background bg-alt :foreground bg-alt)
|
||||
|
||||
;; evil
|
||||
(evil-ex-search :background base1 :foreground fg)
|
||||
(evil-ex-lazy-highlight :background base1 :foreground fg)
|
||||
(evil-snipe-first-match-face :background base1 :foreground orange)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background base0 :distant-foreground nil)
|
||||
(ivy-posframe-cursor :background alt-blue :foreground base0)
|
||||
(ivy-minibuffer-match-face-2 :foreground red :weight 'bold)
|
||||
|
||||
;; company
|
||||
(company-box-background :background base0 :foreground fg )
|
||||
(company-tooltip-common :foreground violet )
|
||||
(company-tooltip-selection :background base0 :foreground red)
|
||||
|
||||
;; lsp
|
||||
(lsp-headerline-breadcrumb-symbols-face :foreground functions :weight 'bold)
|
||||
|
||||
;; rjsx
|
||||
(rjsx-tag :foreground magenta)
|
||||
))
|
||||
|
||||
;;; doom-ephemeral-theme.el ends here
|
204
elpa/doom-themes-20210322.1750/doom-fairy-floss-theme.el
Normal file
204
elpa/doom-themes-20210322.1750/doom-fairy-floss-theme.el
Normal file
|
@ -0,0 +1,204 @@
|
|||
;;; doom-fairy-floss-theme.el --- inspired by sailorhg Fairy Floss -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-fairy-floss-theme nil
|
||||
"Options for doom-themes."
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-fairy-floss-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-fairy-floss-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-fairy-floss-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-fairy-floss-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-fairy-floss-comment-bg doom-fairy-floss-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-fairy-floss-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-fairy-floss-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-fairy-floss-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-fairy-floss
|
||||
"A candy colored theme inspired by Sublime's Fairy Floss"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#5a5475" nil nil ))
|
||||
(bg-alt '("#343145" nil nil ))
|
||||
(base0 '("#464258" "black" "black" ))
|
||||
(base1 '("#514C66" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#6A6483" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#9673D3" "#262626" "brightblack" ))
|
||||
(base4 '("#A0A0C0" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#B8A2CE" "#525252" "brightblack" ))
|
||||
(base6 '("#726C8A" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#5B576C" "#979797" "brightblack" ))
|
||||
(base8 '("#716799" "#dfdfdf" "white" ))
|
||||
(fg-alt '("#B5B2Bd" "#2d2d2d" "white" ))
|
||||
(fg '("#F8F8F0" "#bfbfbf" "brightwhite" ))
|
||||
|
||||
(grey '("#656565" "#515154" "brightblack" ))
|
||||
(red '("#CC6666" "#CC6666" "red" ))
|
||||
(orange '("#E6C000" "#E6C000" "brightred" ))
|
||||
(green '("#C2FFDF" "#C2FFDF" "green" ))
|
||||
(yellow '("#FFEA00" "#FFEA00" "yellow" ))
|
||||
(blue '("#55b3cc" "#55b3cc" "brightblue" ))
|
||||
(teal '("#8295D6" "#8295D6" "brightgreen" ))
|
||||
(dark-blue '("#167be2" "#3F88AD" "blue" ))
|
||||
(magenta '("#FFB8D1" "#FFB8D1" "magenta" ))
|
||||
(violet '("#C5A3FF" "#C5A3FF" "brightmagenta"))
|
||||
(cyan '("#96CBFE" "#C2FFDF" "brightcyan" ))
|
||||
(dark-cyan '("#204052" "#204052" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight violet)
|
||||
(vertical-bar (doom-darken base1 0.5))
|
||||
(selection dark-blue)
|
||||
(builtin blue)
|
||||
(comments (if doom-fairy-floss-brighter-comments cyan orange))
|
||||
(doc-comments violet)
|
||||
(constants violet)
|
||||
(functions green)
|
||||
(keywords cyan)
|
||||
(methods green)
|
||||
(operators orange)
|
||||
(type cyan)
|
||||
(strings yellow)
|
||||
(variables magenta)
|
||||
(numbers violet)
|
||||
(region base0)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-fairy-floss-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-fairy-floss-padded-modeline
|
||||
(if (integerp doom-fairy-floss-padded-modeline) doom-fairy-floss-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(
|
||||
(company-tooltip-selection :background base3)
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-fairy-floss-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
(font-lock-keyword-face
|
||||
:slant 'italic
|
||||
:foreground keywords)
|
||||
|
||||
;; Centaur tabs
|
||||
(centaur-tabs-active-bar-face :background blue)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected
|
||||
:foreground blue)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected
|
||||
:foreground blue)
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background blue)
|
||||
|
||||
;; highlight-thing highlight-symbol
|
||||
(highlight-symbol-face :background region :distant-foreground fg-alt)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background region :distant-foreground fg-alt)
|
||||
|
||||
;; hl-line
|
||||
(hl-line :background base2)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright cyan highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
(markdown-url-face :foreground teal :weight 'normal)
|
||||
(markdown-reference-face :foreground base6)
|
||||
((markdown-bold-face &override) :foreground fg)
|
||||
((markdown-italic-face &override) :foreground fg-alt)
|
||||
|
||||
;; magit
|
||||
(magit-diff-removed :foreground (doom-darken red 0.2) :background (doom-blend red base5 0.1))
|
||||
(magit-diff-removed-highlight :foreground red :background (doom-blend red base5 0.2) :weight 'bold)
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground orange)
|
||||
((outline-2 &override) :foreground green)
|
||||
((outline-3 &override) :foreground teal)
|
||||
((outline-4 &override) :foreground (doom-darken orange 0.2))
|
||||
((outline-5 &override) :foreground (doom-darken green 0.2))
|
||||
((outline-6 &override) :foreground (doom-darken teal 0.2))
|
||||
((outline-7 &override) :foreground (doom-darken orange 0.4))
|
||||
((outline-8 &override) :foreground (doom-darken green 0.4))
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base0)
|
||||
((org-block-begin-line &override) :background base0)
|
||||
(org-scheduled :foreground green)
|
||||
(org-scheduled-previously :foreground yellow)
|
||||
(org-scheduled-today :foreground orange)
|
||||
(org-hide :foreground hidden))
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-fairy-floss-theme.el ends here
|
637
elpa/doom-themes-20210322.1750/doom-flatwhite-theme.el
Normal file
637
elpa/doom-themes-20210322.1750/doom-flatwhite-theme.el
Normal file
|
@ -0,0 +1,637 @@
|
|||
;;; doom-flatwhite-theme.el --- inspired by Flatwhite Syntax -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-flatwhite-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-flatwhite-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-flatwhite-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-flatwhite-no-highlight-variables nil
|
||||
"If non-nil, removes highlight on variable names"
|
||||
:group 'doom-flatwhite-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-fw-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-flatwhite-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-flatwhite
|
||||
"A minimal light syntax theme"
|
||||
|
||||
;; name default 256 16
|
||||
(
|
||||
(fw-base1 '("#605a52" "#666666" "black"))
|
||||
(fw-base2 '("#93836c" "#999966" "brightblack"))
|
||||
(fw-base3 '("#b9a992" "#cc9999" "brightblack"))
|
||||
(fw-base4 '("#dcd3c6" "#cccccc" "brightblack"))
|
||||
(fw-base5 '("#e4ddd2" "#cccccc" "brightblack"))
|
||||
(fw-base6 '("#f1ece4" "#ffffcc" "brightblack"))
|
||||
(fw-base7 '("#f7f3ee" "#ffffff" "brightblack"))
|
||||
|
||||
(fw-accent '("#6a4dff" "#6666ff" "brightblue"))
|
||||
|
||||
(fw-orange-text '("#5b5143" "#666633" "brightblack"))
|
||||
(fw-orange-text-sec '("#957f5f" "#996666" "brightblack"))
|
||||
(fw-orange '("#f08c00" "#ff9900" "orange"))
|
||||
(fw-orange-blend '("#f7e0c3" "#ffcccc" "brightorange"))
|
||||
|
||||
(fw-red-text '("#5b4343" "#663333" "brightblack"))
|
||||
(fw-red-text-sec '("#955f5f" "#996666" "brightblack"))
|
||||
(fw-red '("#f00000" "#ff0000" "red"))
|
||||
(fw-red-blend '("#f6cfcb" "#ffcccc" "brightred"))
|
||||
|
||||
(fw-green-text '("#525643" "#666633" "brightblack"))
|
||||
(fw-green-text-sec '("#81895d" "#999966" "brightblack"))
|
||||
(fw-green '("#84bd00" "#99cc00" "green"))
|
||||
(fw-green-blend '("#e2e9c1" "#ccffcc" "brightgreen"))
|
||||
|
||||
(fw-teal-text '("#465953" "#336666" "brightblack"))
|
||||
(fw-teal-text-sec '("#5f8c7d" "#669966" "brightblack"))
|
||||
(fw-teal '("#00bda4" "#00cc99" "cyan"))
|
||||
(fw-teal-blend '("#d2ebe3" "#ccffcc" "brightcyan"))
|
||||
|
||||
(fw-blue-text '("#4c5361" "#336666" "brightblack"))
|
||||
(fw-blue-text-sec '("#7382a0" "#669999" "brightblack"))
|
||||
(fw-blue '("#75a3ff" "#6699ff" "blue"))
|
||||
(fw-blue-blend '("#dde4f2" "#ccccff" "brightblue"))
|
||||
|
||||
(fw-purple-text '("#614c61" "#663366" "brightblack"))
|
||||
(fw-purple-text-sec '("#9c739c" "#996699" "brightblack"))
|
||||
(fw-purple '("#ce5cff" "#cc66ff" "purple"))
|
||||
(fw-purple-blend '("#f1ddf1" "#ffccff" "brightpurple"))
|
||||
|
||||
(bg `(,(car fw-base7) nil nil ))
|
||||
(bg-alt `(,(car fw-base6) nil nil ))
|
||||
(base0 fw-base6)
|
||||
(base1 fw-base5 )
|
||||
(base2 fw-base4 )
|
||||
(base3 fw-base3 )
|
||||
(base4 fw-base2 )
|
||||
(base5 fw-base1 )
|
||||
(base6 '("#202328" nil "brightblack" ))
|
||||
(base7 '("#1c1f24" nil "brightblack" ))
|
||||
(base8 '("#1b2229" nil "black" ))
|
||||
(fg `(,(car fw-base1) nil "black" ))
|
||||
(fg-alt `(,(car fw-base2) nil "brightblack" ))
|
||||
|
||||
(grey base3)
|
||||
(red fw-red-text-sec)
|
||||
(orange fw-orange-text-sec)
|
||||
(green fw-green-text-sec)
|
||||
(teal fw-teal-text-sec)
|
||||
(yellow fw-orange-text-sec)
|
||||
(blue fw-blue-text-sec)
|
||||
(dark-blue fw-blue-text-sec)
|
||||
(magenta fw-purple-text-sec)
|
||||
(violet fw-purple-text-sec) ;; TODO fix these
|
||||
(cyan fw-teal-text-sec)
|
||||
(dark-cyan fw-teal-text-sec)
|
||||
|
||||
(fw--light-accent (doom-lighten fw-accent 0.85))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base2 0.1))
|
||||
(selection dark-blue)
|
||||
(builtin magenta)
|
||||
(comments base3)
|
||||
(doc-comments (doom-darken comments 0.15))
|
||||
(constants violet)
|
||||
(functions magenta)
|
||||
(keywords red)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type orange)
|
||||
(strings green)
|
||||
(variables (doom-darken magenta 0.36))
|
||||
(numbers orange)
|
||||
(region `(,(doom-darken (car bg-alt) 0.1) ,@(doom-darken (cdr base0) 0.3)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(-modeline-bright doom-flatwhite-brighter-modeline)
|
||||
(-no-highlight-variables doom-flatwhite-no-highlight-variables)
|
||||
(-modeline-pad
|
||||
(when doom-fw-padded-modeline
|
||||
(if (integerp doom-fw-padded-modeline) doom-fw-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt fw-base2)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.05)
|
||||
base1))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.1)
|
||||
base2))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.05) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((centaur-tabs-unselected :background bg-alt :foreground base4)
|
||||
|
||||
(default :background bg :foreground fg)
|
||||
|
||||
(font-lock-builtin-face :foreground fg
|
||||
:inherit 'italic :extend t)
|
||||
(font-lock-comment-face :foreground comments)
|
||||
(font-lock-comment-delimiter-face :inherit font-lock-comment-face)
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments
|
||||
:slant 'italic)
|
||||
(font-lock-type-face :inherit 'default)
|
||||
|
||||
(font-lock-variable-name-face
|
||||
:foreground (if -no-highlight-variables fg fw-blue-text)
|
||||
:background (if -no-highlight-variables bg fw-blue-blend ))
|
||||
(font-lock-warning-face :background fw-red-blend
|
||||
:foreground fw-red-text)
|
||||
(font-lock-negation-char-face :inherit 'default)
|
||||
(font-lock-preprocessor-face :inherit 'default)
|
||||
(font-lock-preprocessor-char-face :inherit 'default)
|
||||
(font-lock-regexp-grouping-backslash :inherit 'default)
|
||||
(font-lock-regexp-grouping-construct :inherit 'default)
|
||||
(font-lock-constant-face :background fw-teal-blend
|
||||
:foreground fw-teal-text)
|
||||
(font-lock-function-name-face :foreground fg
|
||||
:weight 'semi-bold)
|
||||
(font-lock-keyword-face :background fw-purple-blend
|
||||
:foreground fw-purple-text)
|
||||
(font-lock-string-face :background fw-green-blend
|
||||
:foreground fw-green-text )
|
||||
|
||||
;; makefile-*-mode
|
||||
(makefile-targets :foreground fw-purple-text
|
||||
:background fw-purple-blend)
|
||||
|
||||
;; swiper
|
||||
(swiper-line-face :background fw--light-accent
|
||||
:foreground fw-blue-text)
|
||||
(swiper-match-face-1 :inherit 'unspecified
|
||||
:background base0
|
||||
:foreground fg)
|
||||
(swiper-background-match-face-1 :inherit 'unspecified
|
||||
:background base0
|
||||
:foreground fg-alt)
|
||||
(swiper-match-face-2 :inherit 'unspecified
|
||||
:background fw-orange-blend
|
||||
:foreground fw-orange-text
|
||||
:weight 'bold)
|
||||
(swiper-background-match-face-2 :inherit 'unspecified
|
||||
:background fw-orange-blend
|
||||
:foreground fw-orange-text-sec
|
||||
:weight 'bold)
|
||||
(swiper-match-face-3 :inherit 'unspecified
|
||||
:background fw-green-blend
|
||||
:foreground fw-green-text
|
||||
:weight 'bold)
|
||||
(swiper-background-match-face-3 :inherit 'unspecified
|
||||
:background fw-green-blend
|
||||
:foreground fw-green-text-sec
|
||||
:weight 'bold)
|
||||
(swiper-match-face-4 :inherit 'unspecified
|
||||
:background fw-teal-blend
|
||||
:foreground fw-teal-text
|
||||
:weight 'bold)
|
||||
(swiper-background-match-face-4 :inherit 'unspecified
|
||||
:background fw-teal-blend
|
||||
:foreground fw-teal-text-sec
|
||||
:weight 'bold)
|
||||
|
||||
(lazy-highlight :background fw--light-accent
|
||||
:foreground fw-blue-text :distant-foreground base0 :weight 'bold)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
|
||||
;; company
|
||||
(company-tooltip :inherit 'tooltip)
|
||||
(company-tooltip-annotation :foreground fw-purple-text-sec )
|
||||
(company-tooltip-annotation-selection :foreground fw-purple-text )
|
||||
(company-tooltip-common :foreground highlight
|
||||
:distant-foreground base0
|
||||
:weight 'bold)
|
||||
(company-tooltip-search :background highlight
|
||||
:foreground bg
|
||||
:distant-foreground fg
|
||||
:weight 'bold)
|
||||
(company-tooltip-search-selection :background fw-blue-blend)
|
||||
(company-tooltip-selection :background fw--light-accent
|
||||
:weight 'bold)
|
||||
(company-tooltip-mouse :background magenta
|
||||
:foreground bg
|
||||
:distant-foreground fg)
|
||||
(company-tooltip-annotation :foreground violet
|
||||
:distant-foreground bg)
|
||||
(company-scrollbar-bg :inherit 'tooltip)
|
||||
(company-scrollbar-fg :background highlight)
|
||||
(company-preview :foreground comments)
|
||||
(company-preview-common :background base3
|
||||
:foreground highlight)
|
||||
(company-preview-search :inherit 'company-tooltip-search)
|
||||
(company-template-field :inherit 'match)
|
||||
|
||||
;; company-box
|
||||
(company-box-candidate :foreground fg)
|
||||
|
||||
;; doom modeline
|
||||
(doom-modeline-buffer-path :foreground fw-blue-text-sec
|
||||
:bold bold)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path )
|
||||
(doom-modeline-info :foreground fw-green-text-sec)
|
||||
(doom-modeline-project-dir :foreground fw-purple-text-sec)
|
||||
(doom-modeline-evil-insert-state :foreground fw-teal)
|
||||
|
||||
;; which-key
|
||||
(which-key-key-face :foreground fw-green-text-sec)
|
||||
(which-key-group-description-face :foreground fw-purple-text-sec)
|
||||
(which-key-command-description-face :foreground fg)
|
||||
(which-key-local-map-description-face :foreground fw-orange-text-sec)
|
||||
(which-key-separator-face :background bg-alt
|
||||
:foreground comments)
|
||||
|
||||
;; highlight-numbers-mode
|
||||
(highlight-numbers-number :foreground fw-teal-text
|
||||
:background fw-teal-blend)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-doctype-face :background bg
|
||||
:foreground comments)
|
||||
(web-mode-html-tag-face :background fw-purple-blend
|
||||
:foreground fw-purple-text)
|
||||
(web-mode-html-attr-name-face :background bg
|
||||
:foreground fg
|
||||
:inherit 'italic)
|
||||
(web-mode-html-attr-value-face :inherit 'font-lock-string-face)
|
||||
(web-mode-html-entity-face :background fw-orange-blend
|
||||
:foreground fw-orange-text
|
||||
:inherit 'italic)
|
||||
(web-mode-block-control-face :background bg
|
||||
:foreground fw-base1)
|
||||
(web-mode-html-tag-bracket-face :background bg
|
||||
:foreground fg-alt)
|
||||
(web-mode-symbol-face :foreground fw-blue-text
|
||||
:background fw-blue-blend)
|
||||
(web-mode-string-face :inherit 'font-lock-string-face)
|
||||
|
||||
|
||||
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :background fw-purple-blend
|
||||
:foreground fw-purple-text)
|
||||
(rjsx-text :inherit 'default)
|
||||
(rjsx-tag-bracket-face :background bg
|
||||
:foreground fg-alt)
|
||||
(rjsx-attr :background bg
|
||||
:foreground fg
|
||||
:inherit 'italic)
|
||||
|
||||
|
||||
;; highlight-quoted-mode
|
||||
(highlight-quoted-symbol :background fw-blue-blend
|
||||
:foreground fw-blue-text)
|
||||
(highlight-quoted-quote :foreground fw-teal-blend
|
||||
:foreground fw-teal-text)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground fw-blue-text-sec)
|
||||
(rainbow-delimiters-depth-2-face :foreground fw-purple-text-sec)
|
||||
(rainbow-delimiters-depth-3-face :foreground fw-green-text-sec)
|
||||
(rainbow-delimiters-depth-4-face :foreground fw-orange-text-sec)
|
||||
(rainbow-delimiters-depth-5-face :foreground fw-teal-text-sec)
|
||||
(rainbow-delimiters-depth-6-face :foreground fw-red-text-sec)
|
||||
(rainbow-delimiters-depth-7-face :foreground fw-green-text-sec)
|
||||
(rainbow-delimiters-unmatched-face :foreground red
|
||||
:weight 'bold
|
||||
:inverse-video t)
|
||||
(rainbow-delimiters-mismatched-face :inherit 'rainbow-delimiters-unmatched-face)
|
||||
|
||||
;; magit
|
||||
(magit-bisect-bad :background fw-red-blend
|
||||
:foreground fw-red-text)
|
||||
(magit-bisect-good :background fw-green-blend
|
||||
:foreground fw-green-text)
|
||||
(magit-bisect-skip :background fw-orange-blend
|
||||
:foreground fw-orange-text)
|
||||
(magit-blame-date :background fw-base4
|
||||
:foreground fw-red-text)
|
||||
(magit-blame-heading :background fw-base4
|
||||
:foreground fw-orange-text)
|
||||
(magit-branch-current :background bg-alt
|
||||
:foreground fw-blue-text)
|
||||
(magit-branch-local :background bg-alt
|
||||
:foreground fw-teal-text)
|
||||
(magit-branch-remote :background bg-alt
|
||||
:foreground fw-green-text)
|
||||
(magit-cherry-equivalent :background fw-base7
|
||||
:foreground fw-purple-text)
|
||||
(magit-cherry-unmatched :background fw-base7
|
||||
:foreground fw-teal-text)
|
||||
|
||||
(magit-diff-added :foreground fw-green-text-sec
|
||||
:background fw-green-blend
|
||||
:extend t)
|
||||
(magit-diff-added-highlight :foreground fw-green-text
|
||||
:background fw-green-blend
|
||||
:weight 'bold :extend t)
|
||||
|
||||
(magit-diff-base :foreground fw-orange-text-sec
|
||||
:background fw-orange-blend
|
||||
:extend t)
|
||||
(magit-diff-base-highlight :foreground fw-orange-text
|
||||
:background fw-orange-blend
|
||||
:weight 'bold
|
||||
:extend t)
|
||||
|
||||
(magit-diff-context :foreground (doom-darken fg 0.4)
|
||||
:background bg
|
||||
:extend t)
|
||||
(magit-diff-context-highlight :foreground fg
|
||||
:background bg-alt
|
||||
:extend t)
|
||||
(magit-diff-file-heading :foreground fw-purple-text-sec
|
||||
:background fw-purple-blend
|
||||
:weight 'bold
|
||||
:extend t)
|
||||
(magit-diff-file-heading-selection :foreground fw-purple-text
|
||||
:background fw-purple-blend
|
||||
:weight 'bold
|
||||
:extend t)
|
||||
(magit-diff-hunk-heading :foreground fw-purple-text-sec
|
||||
:background fw-purple-blend
|
||||
:extend t)
|
||||
(magit-diff-hunk-heading-selection :foreground fw-purple-text-sec
|
||||
:background fw-purple-blend
|
||||
:extend t)
|
||||
(magit-diff-hunk-heading-highlight :foreground fw-purple-blend
|
||||
:background fw-purple-text-sec
|
||||
:weight 'bold
|
||||
:extend t)
|
||||
|
||||
(magit-diff-removed :foreground fw-red-text-sec
|
||||
:background fw-red-blend
|
||||
:extend t)
|
||||
(magit-diff-removed-highlight :foreground fw-red-text
|
||||
:background fw-red-blend
|
||||
:weight 'bold
|
||||
:extend t)
|
||||
|
||||
(magit-diff-lines-heading :foreground yellow
|
||||
:background red
|
||||
:extend t)
|
||||
(magit-diffstat-added :foreground fw-green)
|
||||
(magit-diffstat-removed :foreground fw-red)
|
||||
(magit-dimmed :foreground comments)
|
||||
(magit-hash :foreground fg-alt)
|
||||
(magit-header-line :background fw-blue-blend
|
||||
:foreground fw-blue-text
|
||||
:weight 'bold
|
||||
:box `(:line-width 3 :color ,fw-blue-blend))
|
||||
(magit-log-author :foreground fw-orange-text-sec)
|
||||
(magit-log-date :foreground fw-blue-text-sec)
|
||||
(magit-log-graph :foreground comments)
|
||||
(magit-process-ng :inherit 'error)
|
||||
(magit-process-ok :inherit 'success)
|
||||
(magit-reflog-amend :foreground magenta)
|
||||
(magit-reflog-checkout :foreground blue)
|
||||
(magit-reflog-cherry-pick :foreground green)
|
||||
(magit-reflog-commit :foreground green)
|
||||
(magit-reflog-merge :foreground green)
|
||||
(magit-reflog-other :foreground cyan)
|
||||
(magit-reflog-rebase :foreground magenta)
|
||||
(magit-reflog-remote :foreground cyan)
|
||||
(magit-reflog-reset :inherit 'error)
|
||||
(magit-refname :foreground comments)
|
||||
(magit-section-heading :foreground blue
|
||||
:weight 'bold
|
||||
:extend t)
|
||||
(magit-section-heading-selection :foreground orange
|
||||
:weight 'bold
|
||||
:extend t)
|
||||
(magit-section-highlight :inherit 'hl-line)
|
||||
(magit-sequence-drop :foreground red)
|
||||
(magit-sequence-head :foreground blue)
|
||||
(magit-sequence-part :foreground orange)
|
||||
(magit-sequence-stop :foreground green)
|
||||
(magit-signature-bad :inherit 'error)
|
||||
(magit-signature-error :inherit 'error)
|
||||
(magit-signature-expired :foreground orange)
|
||||
(magit-signature-good :inherit 'success)
|
||||
(magit-signature-revoked :foreground magenta)
|
||||
(magit-signature-untrusted :foreground yellow)
|
||||
(magit-tag :foreground yellow)
|
||||
(magit-filename :foreground violet)
|
||||
(magit-section-secondary-heading :foreground violet
|
||||
:weight 'bold
|
||||
:extend t)
|
||||
|
||||
;; diff-mode
|
||||
(diff-removed :foreground red
|
||||
:background fw-red-blend)
|
||||
|
||||
;; git-commit
|
||||
(git-commit-summary :foreground fg)
|
||||
|
||||
;; js2-mode
|
||||
(js2-function-param :foreground fg)
|
||||
(js2-function-call :foreground fg )
|
||||
(js2-object-property :foreground fg
|
||||
:inherit 'italic)
|
||||
(js2-jsdoc-tag :foreground doc-comments)
|
||||
(js2-external-variable :foreground fg)
|
||||
|
||||
;; racket
|
||||
(racket-keyword-argument-face :foreground fw-orange-text
|
||||
:background fw-orange-blend)
|
||||
(racket-selfeval-face :foreground fw-teal-text
|
||||
:background fw-teal-blend)
|
||||
|
||||
;; clojure
|
||||
(clojure-keyword-face :foreground fw-orange-text
|
||||
:background fw-orange-blend)
|
||||
|
||||
;; fill column
|
||||
(hl-fill-column-face :foreground fg
|
||||
:background fw--light-accent)
|
||||
|
||||
;; elixir
|
||||
(elixir-atom-face :foreground fw-blue-text
|
||||
:background fw-blue-blend)
|
||||
(elixir-attribute-face :foreground fw-teal-text
|
||||
:background fw-teal-blend)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background fw-base5
|
||||
:distant-foreground nil
|
||||
:extend t)
|
||||
(ivy-minibuffer-match-face-1
|
||||
:background nil
|
||||
:foreground fg
|
||||
:weight 'light)
|
||||
(ivy-minibuffer-match-face-2
|
||||
:inherit 'ivy-minibuffer-match-face-1
|
||||
:foreground fw-orange-text
|
||||
:background fw-orange-blend
|
||||
:weight 'semi-bold)
|
||||
(ivy-minibuffer-match-face-3
|
||||
:inherit 'ivy-minibuffer-match-face-2
|
||||
:foreground fw-blue-text
|
||||
:background fw-blue-blend
|
||||
:weight 'semi-bold)
|
||||
(ivy-minibuffer-match-face-4
|
||||
:inherit 'ivy-minibuffer-match-face-2
|
||||
:foreground fw-green-text
|
||||
:background fw-green-blend
|
||||
:weight 'semi-bold)
|
||||
(ivy-minibuffer-match-highlight :foreground bg
|
||||
:background fw-purple-text-sec)
|
||||
(ivy-highlight-face :foreground fw-purple-text)
|
||||
(ivy-confirm-face :foreground success)
|
||||
(ivy-match-required-face :foreground error)
|
||||
(ivy-virtual :inherit 'italic :foreground doc-comments)
|
||||
(ivy-modified-buffer :inherit 'bold :foreground vc-modified)
|
||||
;; ------
|
||||
|
||||
((line-number &override) :foreground (doom-lighten base4 0.15))
|
||||
((line-number-current-line &override) :foreground base8
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight)))
|
||||
|
||||
(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-inactive
|
||||
:foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-property :foreground fg
|
||||
:inherit 'italic)
|
||||
(css-proprietary-property :foreground fw-orange-text
|
||||
:background fw-orange-blend)
|
||||
(css-selector :foreground fw-purple-text
|
||||
:background fw-purple-blend)
|
||||
(web-mode-css-property-name-face :foreground fg
|
||||
:inherit 'italic)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-header-face :inherit 'bold
|
||||
:foreground fw-purple-text
|
||||
:background fw-purple-blend)
|
||||
(markdown-header-delimiter-face :inherit 'markdown-header-face)
|
||||
(markdown-metadata-key-face :foreground fw-green-text
|
||||
:background fw-green-blend)
|
||||
(markdown-list-face :foreground fg
|
||||
:inherit 'bold)
|
||||
(markdown-link-face :foreground fw-blue-text
|
||||
:background fw-blue-blend)
|
||||
(markdown-url-face :foreground fw-blue-text
|
||||
:background fw-blue-blend)
|
||||
(markdown-italic-face :inherit 'italic
|
||||
:foreground fg)
|
||||
(markdown-bold-face :inherit 'bold
|
||||
:foreground fg)
|
||||
(markdown-markup-face :foreground fg
|
||||
:inherit 'bold)
|
||||
(markdown-blockquote-face :inherit 'italic
|
||||
:foreground doc-comments)
|
||||
(markdown-pre-face :foreground fg)
|
||||
(markdown-code-face :background fw-orange-blend
|
||||
:foreground fw-orange-text
|
||||
:extend t)
|
||||
(markdown-reference-face :foreground doc-comments)
|
||||
(markdown-inline-code-face :inherit '(markdown-code-face markdown-pre-face)
|
||||
:extend nil)
|
||||
(markdown-html-attr-name-face :inherit 'font-lock-variable-name-face)
|
||||
(markdown-html-attr-value-face :inherit 'font-lock-string-face)
|
||||
(markdown-html-entity-face :inherit 'font-lock-variable-name-face)
|
||||
(markdown-html-tag-delimiter-face :inherit 'markdown-markup-face)
|
||||
(markdown-html-tag-name-face :inherit 'font-lock-keyword-face)
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground red)
|
||||
((outline-2 &override) :foreground orange)
|
||||
(org-ellipsis :underline nil :background bg :foreground red)
|
||||
((org-block-begin-line &override)
|
||||
:background fw-orange-blend
|
||||
:foreground fw-orange-text
|
||||
:weight 'semi-bold
|
||||
:extend t)
|
||||
((org-block &override)
|
||||
:background fw-orange-blend
|
||||
:foreground fw-orange-text
|
||||
:extend t)
|
||||
((org-quote &override)
|
||||
:background fw-orange-blend
|
||||
:foreground fw-orange-text
|
||||
:extend t)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-current-element-highlight-face :background dark-blue
|
||||
:foreground bg)
|
||||
|
||||
;; wgrep
|
||||
(wgrep-face :background base1)
|
||||
|
||||
;; ediff
|
||||
(ediff-current-diff-A :foreground red
|
||||
:background (doom-lighten red 0.8))
|
||||
(ediff-current-diff-B :foreground green
|
||||
:background (doom-lighten green 0.8))
|
||||
(ediff-current-diff-C :foreground blue
|
||||
:background (doom-lighten blue 0.8))
|
||||
(ediff-current-diff-Ancestor :foreground teal
|
||||
:background (doom-lighten teal 0.8))
|
||||
|
||||
;; posframe
|
||||
(ivy-posframe :background base0)
|
||||
|
||||
;; lsp
|
||||
(lsp-ui-doc-background :background base0)
|
||||
(lsp-face-highlight-read :background (doom-blend red bg 0.3))
|
||||
(lsp-face-highlight-textual :inherit 'lsp-face-highlight-read)
|
||||
(lsp-face-highlight-write :inherit 'lsp-face-highlight-read)
|
||||
|
||||
;; doom dashboard
|
||||
(doom-dashboard-banner :foreground comments)
|
||||
(doom-dashboard-menu-title :foreground fw-purple-text-sec)
|
||||
(doom-dashboard-menu-desc :foreground fw-green-text-sec)
|
||||
(doom-dashboard-footer-icon :foreground (doom-darken yellow 0.4))
|
||||
(doom-dashboard-loaded :foreground fw-orange-text)
|
||||
)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-flatwhite-theme.el ends here
|
539
elpa/doom-themes-20210322.1750/doom-gruvbox-light-theme.el
Normal file
539
elpa/doom-themes-20210322.1750/doom-gruvbox-light-theme.el
Normal file
|
@ -0,0 +1,539 @@
|
|||
;;; doom-gruvbox-light-theme.el --- gruvbox light soft -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-gruvbox-light-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-gruvbox-light-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-gruvbox-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-gruvbox-light-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-gruvbox-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-gruvbox-light-comment-bg doom-gruvbox-light-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-gruvbox-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-gruvbox-light-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-gruvbox-light-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(defcustom doom-gruvbox-light-variant nil
|
||||
"A choice of \"hard\" or \"soft\" can be used to change the
|
||||
background contrast. All other values default to \"medium\"."
|
||||
:group 'doom-gruvbox-light-theme
|
||||
:type 'string)
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-gruvbox-light
|
||||
"gruvbox light theme"
|
||||
|
||||
;; name default 256 16
|
||||
((bg
|
||||
(cond ((equal doom-gruvbox-light-variant "hard") '("#f9f5d7" "#ffffd7" nil)) ; bg0_h
|
||||
((equal doom-gruvbox-light-variant "soft") '("#f2e5bc" "#ffffd7" nil)) ; bg0_s
|
||||
(t '("#fbf1c7" "#ffffd7" nil)))) ; bg0
|
||||
(bg-alt
|
||||
(cond ((equal doom-gruvbox-light-variant "hard") '("#fbf1c7" "#ffffd7" nil))
|
||||
((equal doom-gruvbox-light-variant "soft") '("#ebdbb2" "#ffffaf" nil))
|
||||
(t '("#f2e5bc" "#ffffd7" nil))))
|
||||
(base0 '("#f0f0f0" "#f0f0f0" "white" )) ;;
|
||||
(base1 '("#ebdbb2" "#ffffaf" "brightblack" )) ;; gruvbox-dark1
|
||||
(base2 '("#d5c4a1" "#d7d6af" "brightblack" )) ;; gruvbox-dark2
|
||||
(base3 '("#bdae93" "#afaf87" "brightblack" )) ;; gruvbox-dark3
|
||||
(base4 '("#a89984" "#afafaf" "brightblack" )) ;; gruvbox-dark4
|
||||
(base5 '("#504945" "#4e4e4e" "brightblack" )) ;; gruvbox-light2
|
||||
(base6 '("#3c3836" "#3a3a3a" "brightblack" )) ;; gruvbox-light1
|
||||
(base7 '("#282828" "#262626" "brightblack" )) ;; gruvbox-light0
|
||||
(base8 '("#1d2021" "#1c1c1c" "black" )) ;; gruvbox-light0_hard
|
||||
(fg '("#282828" "#262626" "black" )) ;; gruvbox-light0
|
||||
(fg-alt '("#1c1c1c" "#1c1c1c" "brightblack" )) ;;
|
||||
|
||||
|
||||
(grey '("#928374" "#8a8a8a" "grey" )) ;; gruvbox-gray
|
||||
(red '("#9d0006" "#870000" "red" )) ;; gruvbox-bright_red
|
||||
(orange '("#af3a03" "#af5f00" "brightred" )) ;; gruvbox-bright_orange
|
||||
(green '("#79740e" "#878700" "green" )) ;; gruvbox-bright_green
|
||||
(teal '("#4db5bd" "#44b9b1" "brightgreen" )) ;; gruvbox-
|
||||
(yellow '("#b57614" "#af8700" "yellow" )) ;; gruvbox-bright_yellow
|
||||
(blue '("#076678" "#005f87" "brightblue" )) ;; gruvbox-bright_blue
|
||||
(dark-blue '("#2b3c44" "#000087" "blue" )) ;; gruvbox-dark_blue
|
||||
(magenta '("#b16286" "#d75f87" "magenta" )) ;; gruvbox-faded_purple
|
||||
(violet '("#8f3f71" "#875f87" "brightmagenta" )) ;; gruvbox-bright_purple
|
||||
(cyan '("#427b58" "#5f8787" "brightcyan" )) ;; gruvbox-bright_aqua
|
||||
(dark-cyan '("#36473a" "#005f5f" "cyan" )) ;; gruvbox-dark_aqua
|
||||
|
||||
;; Extra
|
||||
(delimiter-3 '("#8ec07c" "#87af87" ))
|
||||
(light3 '("#665c54" "#626262" "grey" ))
|
||||
(light4 '("#7c6f64" "#767676" "grey" ))
|
||||
(faded-red '("#cc241d" "#d75f5f" "red" ))
|
||||
(faded-green '("#98971a" "#afaf00" "green" ))
|
||||
(faded-yellow '("#d79921" "#ffaf00" "yellow" ))
|
||||
(faded-blue '("#458588" "#87afaf" "blue" ))
|
||||
(faded-orange '("#d65d0e" "#ff8700" "brightorange" ))
|
||||
(faded-aqua '("#689d6a" "#87af87" "brightcyan" ))
|
||||
(dark-red '("#421E1E" "#5f0000" ))
|
||||
(dark-blue '("#2B3C44" "#000087" ))
|
||||
(dark-aqua '("#36473A" "#005f5f" ))
|
||||
(sienna '("#dd6f48" "d7875f" ))
|
||||
(lightblue4 '("#66999D" "#5fafaf" "brightblue" ))
|
||||
(burlywood4 '("#BBAA97" "#aafaf87" ))
|
||||
(aquamarine4 '("#83af98" "#87af87" ))
|
||||
(turquoise4 '("#61ACBB" "#5fafaf" "brightblue" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight base4)
|
||||
(vertical-bar (doom-darken base1 0.1))
|
||||
(selection base3)
|
||||
(builtin orange)
|
||||
(comments (if doom-gruvbox-light-brighter-comments base5 base4))
|
||||
(doc-comments green)
|
||||
(constants violet)
|
||||
(functions yellow)
|
||||
(keywords red)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type violet)
|
||||
(strings green)
|
||||
(variables blue)
|
||||
(numbers violet)
|
||||
(region `(,(doom-darken (car bg-alt) 0.1) ,@(doom-darken (cdr base0) 0.3)))
|
||||
(error red)
|
||||
(warning orange)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(-modeline-bright doom-gruvbox-light-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-gruvbox-light-padded-modeline
|
||||
(if (integerp doom-gruvbox-light-padded-modeline) doom-gruvbox-light-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt (doom-blend violet base4 (if -modeline-bright 0.5 0.2)))
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.05)
|
||||
base1))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.1)
|
||||
base2))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.05) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((centaur-tabs-unselected :background bg-alt :foreground base4)
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-gruvbox-light-comment-bg base0))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments
|
||||
:slant 'italic)
|
||||
|
||||
(cursor :background base4)
|
||||
|
||||
;; Line number
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground orange)
|
||||
(linum :foreground base4)
|
||||
(linum-highlight-face :foreground orange)
|
||||
(linum-relative-current-face :foreground orange)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(lazy-highlight :background base2 :foreground base8 :distant-foreground base0 :weight 'bold)
|
||||
(isearch :foreground "black" :background orange)
|
||||
(isearch-fail :foreground fg :background red)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; company-mode
|
||||
(company-scrollbar-bg :background base1)
|
||||
(company-scrollbar-fg :background bg-alt)
|
||||
(company-tooltip :background bg-alt)
|
||||
(company-tooltip-annotation :foreground green)
|
||||
(company-tooltip-annotation-selection :inherit 'company-tooltip-annotation)
|
||||
(company-tooltip-selection :foreground violet :background base2)
|
||||
(company-tooltip-common :foreground blue :underline t)
|
||||
(company-tooltip-common-selection :foreground blue :underline t)
|
||||
(company-preview-common :foreground base7)
|
||||
(company-preview :background lightblue4)
|
||||
(company-preview-search :background turquoise4)
|
||||
(company-template-field :foreground "black" :background yellow)
|
||||
(company-echo-common :foreground faded-red)
|
||||
|
||||
;; diredp
|
||||
(diredp-file-name :foreground base5)
|
||||
(diredp-file-suffix :foreground light4)
|
||||
(diredp-compressed-file-suffix :foreground faded-blue)
|
||||
(diredp-dir-name :foreground faded-blue)
|
||||
(diredp-symlink :foreground orange)
|
||||
(diredp-date-time :foreground light3)
|
||||
(diredp-number :foreground faded-blue)
|
||||
(diredp-no-priv :foreground base4)
|
||||
(diredp-other-priv :foreground base2)
|
||||
(diredp-rare-priv :foreground base4)
|
||||
(diredp-ignored-file-name :foreground base5)
|
||||
|
||||
(diredp-dir-priv :foreground faded-blue :background dark-blue)
|
||||
((diredp-dir-exec-priv &inherit diredp-dir-priv))
|
||||
(diredp-link-priv :foreground faded-aqua)
|
||||
|
||||
;; diredfl
|
||||
(diredfl-autofile-name :foreground base5)
|
||||
(diredfl-compressed-file-name :foreground base5)
|
||||
(diredfl-compressed-file-suffix :foreground faded-blue)
|
||||
(diredfl-dir-priv :foreground blue :backgtround dark-blue)
|
||||
(diredfl-exec-priv :foreground blue :backgrond dark-blue)
|
||||
(diredfl-file-name :foreground base5)
|
||||
(diredfl-file-suffix :foreground light4)
|
||||
(diredfl-link-priv :foreground magenta)
|
||||
(diredfl-no-priv :foreground base5)
|
||||
(diredfl-number :foreground yellow)
|
||||
(diredfl-other-priv :foreground violet)
|
||||
(diredfl-rare-priv :foreground base5)
|
||||
|
||||
;; doom dashboard
|
||||
(doom-dashboard-banner :foreground (doom-darken base4 0.3))
|
||||
(doom-dashboard-menu-title :foreground green)
|
||||
(doom-dashboard-menu-desc :foreground green)
|
||||
(doom-dashboard-footer-icon :foreground (doom-darken yellow 0.4))
|
||||
(doom-dashboard-loaded :foreground yellow)
|
||||
|
||||
;; diffs
|
||||
(diff-changed :background nil :foreground base6)
|
||||
(diff-removed :background nil :foreground red)
|
||||
(diff-indicator-changed :inherit 'diff-changed)
|
||||
(diff-indicator-added :inherit 'diff-added)
|
||||
(diff-indicator-removed :inherit 'diff-removed)
|
||||
|
||||
;; ediff
|
||||
(ediff-current-diff-A :foreground red :background (doom-lighten red 0.8))
|
||||
(ediff-current-diff-B :foreground green :background (doom-lighten green 0.8))
|
||||
(ediff-current-diff-C :foreground blue :background (doom-lighten blue 0.8))
|
||||
(ediff-current-diff-Ancestor :foreground teal :background (doom-lighten teal 0.8))
|
||||
|
||||
;; flycheck
|
||||
(flycheck-info :underline `(:style wave :color ,blue))
|
||||
|
||||
;; git-gutter
|
||||
(git-gutter:modified :foreground faded-blue :background blue)
|
||||
(git-gutter:added :foreground faded-green :background green)
|
||||
(git-gutter:deleted :foreground faded-red :backgrond red)
|
||||
|
||||
;; git-gutter+
|
||||
(git-gutter+-modified :foreground faded-blue :background blue)
|
||||
(git-gutter+-added :foreground faded-green :background green)
|
||||
(git-gutter+-deleted :foreground faded-red :backgrond red)
|
||||
|
||||
;; helm
|
||||
(helm-candidate-number :background blue :foreground bg)
|
||||
(helm-M-x-key :foreground orange)
|
||||
(helm-action :foreground base8 :underline t)
|
||||
(helm-bookmark-addressbook :foreground red)
|
||||
(helm-bookmark-directory :foreground violet)
|
||||
(helm-bookmark-file :foreground faded-blue)
|
||||
(helm-bookmark-gnus :foreground magenta)
|
||||
(helm-bookmark-info :foreground turquoise4)
|
||||
(helm-bookmark-man :foreground sienna)
|
||||
(helm-bookmark-w3m :foreground yellow)
|
||||
(helm-buffer-directory :foreground "white" :background blue)
|
||||
(helm-buffer-not-saved :foreground red)
|
||||
(helm-buffer-process :foreground burlywood4)
|
||||
(helm-buffer-saved-out :foreground red)
|
||||
(helm-buffer-size :foreground violet)
|
||||
(helm-candidate-number :foreground green)
|
||||
(helm-ff-directory :foreground violet)
|
||||
(helm-ff-executable :foreground turquoise4)
|
||||
(helm-ff-file :foreground sienna)
|
||||
(helm-ff-invalid-symlink :foreground "white" :background red)
|
||||
(helm-ff-prefix :foreground "black" :background yellow)
|
||||
(helm-ff-symlink :foreground orange)
|
||||
(helm-grep-cmd-line :foreground green)
|
||||
(helm-grep-file :foreground magenta)
|
||||
(helm-grep-finish :foreground turquoise4)
|
||||
(helm-grep-lineno :foreground orange)
|
||||
(helm-grep-match :foreground yellow)
|
||||
(helm-grep-running :foreground red)
|
||||
(helm-header :foreground aquamarine4)
|
||||
(helm-helper :foreground aquamarine4)
|
||||
(helm-history-deleted :foreground "black" :background red)
|
||||
(helm-history-remote :foreground faded-red)
|
||||
(helm-lisp-completion-info :foreground faded-orange)
|
||||
(helm-lisp-show-completion :foreground red)
|
||||
(helm-locate-finish :foreground "white" :background aquamarine4)
|
||||
(helm-match :foreground orange)
|
||||
(helm-moccur-buffer :foreground cyan :underline t)
|
||||
(helm-prefarg :foreground turquoise4)
|
||||
(helm-selection :foreground "white" :background base2)
|
||||
(helm-selection-line :foreground "white" :background base2)
|
||||
(helm-separator :foreground faded-red)
|
||||
(helm-source-header :foreground base5)
|
||||
(helm-visible-mark :foreground "black" :background light3)
|
||||
|
||||
;; ivy
|
||||
(ivy-minibuffer-match-face-1 :foreground orange)
|
||||
(ivy-minibuffer-match-face-2 :foreground yellow)
|
||||
(ivy-minibuffer-match-face-3 :foreground faded-orange)
|
||||
(ivy-minibuffer-match-face-4 :foreground faded-yellow)
|
||||
|
||||
;; posframe
|
||||
(ivy-posframe :background bg-alt)
|
||||
|
||||
;; magit
|
||||
(magit-bisect-bad :foreground faded-red)
|
||||
(magit-bisect-good :foreground faded-green)
|
||||
(magit-bisect-skip :foreground faded-yellow)
|
||||
(magit-blame-heading :foreground base7 :background base2)
|
||||
(magit-branch-local :foreground blue)
|
||||
(magit-branch-current :underline blue :inherit 'magit-branch-local)
|
||||
(magit-branch-remote :foreground green)
|
||||
(magit-cherry-equivalent :foreground violet)
|
||||
(magit-cherry-unmatched :foreground cyan)
|
||||
(magit-diff-added :foreground green)
|
||||
(magit-diff-added-highlight :foreground green :inherit 'magit-diff-context-highlight)
|
||||
(magit-diff-base :background faded-yellow :foreground base5)
|
||||
(magit-diff-base-highlight :background faded-yellow :foreground base7)
|
||||
(magit-diff-context :foreground base1 :foreground base6)
|
||||
(magit-diff-context-highlight :background base1 :foreground base7)
|
||||
(magit-diff-hunk-heading :background base3 :foreground base5)
|
||||
(magit-diff-hunk-heading-highlight :background base2 :foreground base7)
|
||||
(magit-diff-hunk-heading-selection :background base2 :foreground orange)
|
||||
(magit-diff-lines-heading :background faded-orange :foreground base7)
|
||||
(magit-diff-removed :foreground red)
|
||||
(magit-diff-removed-highlight :foreground red :inherit 'magit-diff-context-highlight)
|
||||
(magit-diffstat-added :foreground faded-green)
|
||||
(magit-diffstat-removed :foreground faded-red)
|
||||
(magit-dimmed :foreground base4)
|
||||
(magit-hash :foreground blue)
|
||||
(magit-log-author :foreground red)
|
||||
(magit-log-date :foreground cyan)
|
||||
(magit-log-graph :foreground base4)
|
||||
(magit-process-ng :foreground red :weight 'bold)
|
||||
(magit-process-ok :foreground green :weight 'bold)
|
||||
(magit-reflog-amend :foreground violet)
|
||||
(magit-reflog-checkout :foreground blue)
|
||||
(magit-reflog-cherry-pick :foreground green)
|
||||
(magit-reflog-commit :foreground green)
|
||||
(magit-reflog-merge :foreground green)
|
||||
(magit-reflog-other :foreground cyan)
|
||||
(magit-reflog-rebase :foreground violet)
|
||||
(magit-reflog-remote :foreground blue)
|
||||
(magit-reflog-reset :foreground red)
|
||||
(magit-refname :foreground light4)
|
||||
(magit-section-heading :foreground yellow :weight 'bold)
|
||||
(magit-section-heading-selection :foreground faded-yellow)
|
||||
(magit-section-highlight :background base1)
|
||||
(magit-sequence-drop :foreground faded-yellow)
|
||||
(magit-sequence-head :foreground cyan)
|
||||
(magit-sequence-part :foreground yellow)
|
||||
(magit-sequence-stop :foreground green)
|
||||
(magit-signature-bad :foreground red :weight 'bold)
|
||||
(magit-signature-error :foreground red)
|
||||
(magit-signature-expired :foreground orange)
|
||||
(magit-signature-good :foreground green)
|
||||
(magit-signature-revoked :foreground violet)
|
||||
(magit-signature-untrusted :foreground blue)
|
||||
(magit-tag :foreground yellow)
|
||||
|
||||
;; message-mode
|
||||
(message-header-cc :inherit 'font-lock-variable-name-face)
|
||||
(message-header-subject :foreground orange :weight 'bold)
|
||||
(message-header-other :inherit 'font-lock-variable-name-face)
|
||||
(message-header-name :inherit 'font-lock-keyword-face)
|
||||
(message-cited-text :inherit 'font-lock-comment-face)
|
||||
(message-mml :foregrond faded-green :weight 'bold)
|
||||
|
||||
;; popup
|
||||
(popup-face :foreground base6 :background base1)
|
||||
(popup-menu-selection-face :foreground fg :background faded-green)
|
||||
(popup-menu-mouse-face :foreground fg :background faded-green)
|
||||
(popup-tip-face :foreground base5 :background base2)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-3-face :foreground delimiter-3)
|
||||
(rainbow-delimiters-depth-4-face :foreground faded-orange)
|
||||
(rainbow-delimiters-depth-7-face :foreground delimiter-3)
|
||||
(rainbox-delimiters-depth-8-face :foreground faded-orange)
|
||||
(rainbow-delimiters-depth-11-face :foreground delimiter-3)
|
||||
(rainbox-delimiters-depth-12-face :foreground faded-orange)
|
||||
(rainbow-delimiters-unmatched-face: :foreground fg :background 'nil)
|
||||
|
||||
;; swiper
|
||||
(swiper-line-face :background base3 :foreground base0)
|
||||
(swiper-match-face-1 :inherit 'unspecified :background base1 :foreground base5)
|
||||
(swiper-match-face-2 :inherit 'unspecified :background orange :foreground base0 :weight 'bold)
|
||||
(swiper-match-face-3 :inherit 'unspecified :background violet :foreground base1 :weight 'bold)
|
||||
(swiper-match-face-4 :inherit 'unspecified :background green :foreground base2 :weight 'bold)
|
||||
(swiper-background-match-face-1 :inherit 'unspecified :background base2)
|
||||
(swiper-background-match-face-2 :inherit 'unspecified :background base3)
|
||||
(swiper-background-match-face-3 :inherit 'unspecified :background base4)
|
||||
(swiper-background-match-face-4 :inherit 'unspecified :background base5)
|
||||
|
||||
;; whitespace
|
||||
(whitespace-trailing :foreground red :background base1)
|
||||
(whitespace-line :foreground red :background base1)
|
||||
(whitespace-indentation :foreground base4 :background bg)
|
||||
(whitespace-empty :foreground 'nil :background 'nil)
|
||||
|
||||
;; major-mode faces -------------------
|
||||
|
||||
;; anzu
|
||||
(anzu-mode-line :foreground yellow :weight 'bold)
|
||||
(anzu-match-1 :background green)
|
||||
(anzu-match-2 :background faded-yellow)
|
||||
(anzu-match-3 :background aquamarine4)
|
||||
(anzu-replace-to :foreground yellow)
|
||||
(anzu-replace-highlight :inherit 'isearch)
|
||||
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; elfeed
|
||||
(elfeed-search-title-face :foreground grey)
|
||||
(elfeed-search-date-face :inherit 'font-lock-builtin-face :underline t)
|
||||
(elfeed-search-tag-face :inherit 'font-lock-keyword-face)
|
||||
(elfeed-search-unread-count-face :inherit 'font-lock-comment-face)
|
||||
(elfeed-search-filter-face :inherit 'font-lock-string-face)
|
||||
|
||||
;; js2
|
||||
(js2-warning :underline `(:style wave :color ,yellow))
|
||||
(js2-error :underline `(:style wave :color ,red))
|
||||
(js2-external-variable :underline `(:style wave :color ,cyan))
|
||||
(js2-jsdoc-tag :background nil :foreground grey )
|
||||
(js2-jsdoc-type :background nil :foreground light4)
|
||||
(js2-jsdoc-value :background nil :foreground light3)
|
||||
(js2-function-param :background nil :foreground cyan)
|
||||
(js2-function-call :background nil :foreground blue)
|
||||
(js2-instance-member :background nil :foreground orange)
|
||||
(js2-private-member :background nil :foreground yellow)
|
||||
(js2-private-function-call :background nil :foreground faded-aqua)
|
||||
(js2-jsdoc-html-tag-name :background nil :foreground light4)
|
||||
(js2-jsdoc-html-tag-delimiter :background nil :foreground light3)
|
||||
|
||||
;; lsp
|
||||
(lsp-ui-doc-background :background base2)
|
||||
(lsp-face-highlight-read :background (doom-blend bg orange 0.5))
|
||||
(lsp-face-highlight-textual :inherit 'lsp-face-highlight-read)
|
||||
(lsp-face-highlight-write :inherit 'lsp-face-highlight-read)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background base1)
|
||||
(mmm-default-submode-face :background base1)
|
||||
(markdown-header-face-1 :foreground blue)
|
||||
(markdown-header-face-2 :foreground yellow)
|
||||
(markdown-header-face-3 :foreground violet)
|
||||
(markdown-header-face-4 :foreground red)
|
||||
(markdown-header-face-5 :foreground green)
|
||||
(markdown-header-face-6 :foreground dark-cyan)
|
||||
|
||||
;; mu4e
|
||||
(mu4e-highlight-face :foreground green)
|
||||
(mu4e-unread-face :foreground blue :weight 'bold)
|
||||
(mu4e-header-key-face :foreground green :weight 'bold)
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground red)
|
||||
((outline-2 &override) :foreground orange)
|
||||
(org-level-1 :foreground blue)
|
||||
(org-level-2 :foreground yellow)
|
||||
(org-level-3 :foreground violet)
|
||||
(org-level-4 :foreground red)
|
||||
(org-level-5 :foreground green)
|
||||
(org-level-6 :foreground cyan)
|
||||
(org-level-7 :foreground faded-blue)
|
||||
(org-level-8 :foreground orange)
|
||||
(org-drawer :inherit 'font-lock-function-name-face)
|
||||
;; (org-column :background )
|
||||
(org-warning :foreground red :weight 'bold :bold t)
|
||||
(org-archived :foreground base7 :weight 'bold)
|
||||
(org-link :foreground faded-aqua :underline t)
|
||||
(org-footnote :foreground cyan :underline t)
|
||||
(org-ellipsis :foreground light4)
|
||||
(org-date :foreground blue :underline t)
|
||||
(org-sexp-date :foreground faded-blue :underline t)
|
||||
(org-tag :bold t :weight 'bold)
|
||||
(org-todo :foreground red :weight 'bold :bold t)
|
||||
(org-done :foreground cyan :weight 'bold :bold t)
|
||||
(org-agenda-done :foreground cyan)
|
||||
(org-headline-done :foreground cyan)
|
||||
(org-table :foreground blue)
|
||||
(org-block :background base1 :extend t)
|
||||
(org-block-begin-line :background base2 :extend t)
|
||||
(org-block-end-line :background base2 :extend t)
|
||||
(org-formula :foreground yellow)
|
||||
(org-document-title :foreground faded-blue)
|
||||
(org-document-info :foreground faded-blue)
|
||||
(org-agenda-structure :inherit 'font-lock-comment-face)
|
||||
(org-agenda-date-today :foreground base7 :weight 'bold :italic t)
|
||||
(org-scheduled :foreground yellow)
|
||||
(org-scheduled-today :foreground blue)
|
||||
(org-scheduled-previously :foreground faded-red)
|
||||
(org-upcoming-deadline :inherit 'font-lock-keyword-face)
|
||||
(org-deadline-announce :foreground faded-red)
|
||||
(org-time-grid :foreground faded-orange)
|
||||
(org-latex-and-related :foreground blue)
|
||||
|
||||
(org-habit-clear-face :background faded-blue)
|
||||
(org-habit-clear-future-face :background blue)
|
||||
(org-habit-ready-face :background faded-green)
|
||||
(org-habit-ready-future-face :background green)
|
||||
(org-habit-alert-face :background faded-yellow)
|
||||
(org-habit-alert-future-face :background yellow)
|
||||
(org-habit-overdue-face :background faded-red)
|
||||
(org-habit-overdue-future-face :background red)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base1 :foreground base6)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-current-element-highlight-face :background dark-blue :foreground bg)
|
||||
|
||||
;; wgrep
|
||||
(wgrep-face :background base1)
|
||||
|
||||
|
||||
|
||||
)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-gruvbox-light-theme.el ends here
|
298
elpa/doom-themes-20210322.1750/doom-gruvbox-theme.el
Normal file
298
elpa/doom-themes-20210322.1750/doom-gruvbox-theme.el
Normal file
|
@ -0,0 +1,298 @@
|
|||
;; doom-gruvbox-theme.el --- inspired by morhetz Gruvbox -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;; Compiler pacifier
|
||||
(defvar modeline-bg)
|
||||
|
||||
;;
|
||||
(defgroup doom-gruvbox-theme nil
|
||||
"Options for doom-gruvbox."
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-gruvbox-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-gruvbox-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-gruvbox-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-gruvbox-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(defcustom doom-gruvbox-dark-variant nil
|
||||
"A choice of \"hard\" or \"soft\" can be used to change the
|
||||
background contrast. All other values default to \"medium\"."
|
||||
:group 'doom-gruvbox-theme
|
||||
:type 'string)
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-gruvbox
|
||||
"Dark theme with pastel 'retro groove' colors."
|
||||
|
||||
;; name gui 256 16
|
||||
((bg
|
||||
(cond ((equal doom-gruvbox-dark-variant "hard") '("#1d2021" "#1e1e1e" nil)) ; bg0_h
|
||||
((equal doom-gruvbox-dark-variant "soft") '("#32302f" "#323232" nil)) ; bg0_s
|
||||
(t '("#282828" "#282828" nil)))) ; bg0
|
||||
(bg-alt
|
||||
(cond ((equal doom-gruvbox-dark-variant "hard") '("#0d1011" "black" nil)) ; (self-defined)
|
||||
((equal doom-gruvbox-dark-variant "soft") '("#282828" "#282828" nil)) ; bg0
|
||||
(t '("#1d2021" "#1e1e1e" nil)))) ; bg_h
|
||||
(bg-alt2 '("#504945" "#504945" "brown" )) ; bg2 (for region, selection etc.)
|
||||
|
||||
(base0 '("#0d1011" "black" "black" )) ; (self-defined)
|
||||
(base1 '("#1d2021" "#1d1d1d" "brightblack")) ; bg0_h
|
||||
(base2 '("#282828" "#282828" "brightblack")) ; bg0
|
||||
(base3 '("#3c3836" "#383838" "brightblack")) ; bg1
|
||||
(base4 '("#665c54" "#5c5c5c" "brightblack")) ; bg3
|
||||
(base5 '("#7c6f64" "#6f6f6f" "brightblack")) ; bg4
|
||||
(base6 '("#928374" "#909090" "brightblack")) ; gray
|
||||
(base7 '("#d5c4a1" "#cccccc" "brightblack")) ; fg2
|
||||
(base8 '("#fbf1c7" "#fbfbfb" "brightwhite")) ; fg0
|
||||
(fg '("#ebdbb2" "#dfdfdf" "brightwhite")) ; fg/fg1
|
||||
(fg-alt '("#d5c4a1" "#cccccc" "brightwhite")) ; fg2
|
||||
|
||||
;; Standardized official colours from gruvbox
|
||||
(grey '("#928374" "#909090" "brightblack")) ; gray
|
||||
(red '("#fb4934" "#e74c3c" "red")) ; bright-red
|
||||
(magenta '("#cc241d" "#cc241d" "magenta")) ; red
|
||||
(violet '("#d3869b" "#d3869b" "brightmagenta")) ; bright-purple
|
||||
(orange '("#fe8019" "#fd971f" "orange")) ; bright-orange
|
||||
(yellow '("#fabd2f" "#fabd2f" "yellow")) ; bright-yellow
|
||||
(dark-yellow '("#d79921" "#fabd2f" "yellow")) ; yellow
|
||||
(teal '("#8ec07c" "#8ec07c" "green")) ; bright-aqua
|
||||
(green '("#b8bb26" "#b8bb26" "green")) ; bright-green
|
||||
(dark-green '("#98971a" "#98971a" "green")) ; green
|
||||
(blue '("#83a598" "#83a598" "brightblue")) ; bright-blue
|
||||
(dark-blue '("#458588" "#458588" "blue")) ; blue
|
||||
(cyan '("#8ec07c" "#8ec07c" "brightcyan")) ; bright-aqua
|
||||
(dark-cyan '("#689d6a" "#689d6a" "cyan")) ; aqua
|
||||
|
||||
;; face categories
|
||||
(highlight yellow)
|
||||
(vertical-bar grey)
|
||||
(selection bg-alt2)
|
||||
(builtin orange)
|
||||
(comments (if doom-gruvbox-brighter-comments magenta grey))
|
||||
(doc-comments (if doom-gruvbox-brighter-comments (doom-lighten magenta 0.2) (doom-lighten fg-alt 0.25)))
|
||||
(constants violet)
|
||||
(functions green)
|
||||
(keywords red)
|
||||
(methods green)
|
||||
(operators fg)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables blue)
|
||||
(numbers violet)
|
||||
(region bg-alt2)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
|
||||
(vc-modified (doom-darken cyan 0.15))
|
||||
(vc-added (doom-darken green 0.15))
|
||||
(vc-deleted (doom-darken red 0.15))
|
||||
|
||||
;; custom categories
|
||||
(-modeline-pad
|
||||
(when doom-gruvbox-padded-modeline
|
||||
(if (integerp doom-gruvbox-padded-modeline)
|
||||
doom-gruvbox-padded-modeline
|
||||
4)))
|
||||
|
||||
(org-quote `(,(doom-lighten (car bg) 0.05) "#1f1f1f")))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(
|
||||
;;;;;;;; Editor ;;;;;;;;
|
||||
(cursor :background "white")
|
||||
(hl-line :background base3)
|
||||
((line-number &override) :foreground base5)
|
||||
((line-number-current-line &override) :background base3 :foreground yellow)
|
||||
|
||||
;; Vimish-fold
|
||||
((vimish-fold-overlay &override) :inherit 'font-lock-comment-face :background bg-alt2 :weight 'light)
|
||||
((vimish-fold-mouse-face &override) :foreground "white" :background yellow :weight 'light)
|
||||
((vimish-fold-fringe &override) :foreground magenta :background magenta)
|
||||
|
||||
;;;;;;;; Doom-modeline ;;;;;;;;
|
||||
(mode-line
|
||||
:background bg-alt2 :foreground (doom-lighten fg-alt 0.25)
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color base3)))
|
||||
|
||||
(mode-line-inactive
|
||||
:background bg :foreground base4
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color base2)))
|
||||
|
||||
;; File-name
|
||||
(doom-modeline-project-dir :bold t :foreground cyan)
|
||||
(doom-modeline-buffer-path :inherit 'bold :foreground green)
|
||||
(doom-modeline-buffer-file :inherit 'bold :foreground fg)
|
||||
(doom-modeline-buffer-modified :inherit 'bold :foreground yellow)
|
||||
;; Misc
|
||||
(doom-modeline-error :background bg)
|
||||
(doom-modeline-buffer-major-mode :foreground green :bold t)
|
||||
(doom-modeline-info :bold t :foreground cyan)
|
||||
(doom-modeline-bar :background dark-green)
|
||||
(doom-modeline-panel :background dark-green :foreground fg)
|
||||
|
||||
;; Solaire
|
||||
(solaire-mode-line-face :inherit 'mode-line)
|
||||
(solaire-mode-line-inactive-face :inherit 'mode-line-inactive)
|
||||
|
||||
;;;;;;;; Search ;;;;;;;;
|
||||
;; /find
|
||||
(isearch :foreground base0 :background orange)
|
||||
(evil-search-highlight-persist-highlight-face :background yellow)
|
||||
(lazy-highlight :background yellow :foreground base0 :distant-foreground base0 :bold bold)
|
||||
(evil-ex-substitute-replacement :foreground cyan :strike-through nil :inherit 'evil-ex-substitute-matches)
|
||||
|
||||
;; evil-snipe
|
||||
(evil-snipe-first-match-face :foreground "white" :background yellow)
|
||||
(evil-snipe-matches-face :foreground yellow :bold t :underline t)
|
||||
|
||||
;;;;;;;; Mini-buffers ;;;;;;;;
|
||||
(minibuffer-prompt :foreground cyan)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background bg-alt2)
|
||||
(ivy-subdir :background nil :foreground cyan)
|
||||
(ivy-action :background nil :foreground cyan)
|
||||
(ivy-grep-line-number :background nil :foreground cyan)
|
||||
(ivy-minibuffer-match-face-1 :background nil :foreground yellow)
|
||||
(ivy-minibuffer-match-face-2 :background nil :foreground yellow)
|
||||
(ivy-minibuffer-match-highlight :foreground cyan)
|
||||
(counsel-key-binding :foreground cyan)
|
||||
|
||||
;; swiper
|
||||
(swiper-line-face :background bg-alt2)
|
||||
|
||||
;; ivy-posframe
|
||||
(ivy-posframe :background base3)
|
||||
(ivy-posframe-border :background base1)
|
||||
|
||||
;; neotree
|
||||
(neo-root-dir-face :foreground cyan)
|
||||
(doom-neotree-dir-face :foreground cyan)
|
||||
(neo-dir-link-face :foreground cyan)
|
||||
(doom-neotree-file-face :foreground fg)
|
||||
(doom-neotree-hidden-file-face :foreground (doom-lighten fg-alt 0.25))
|
||||
(doom-neotree-media-file-face :foreground (doom-lighten fg-alt 0.25))
|
||||
(neo-expand-btn-face :foreground magenta)
|
||||
|
||||
;; dired
|
||||
(dired-directory :foreground cyan)
|
||||
(dired-marked :foreground yellow)
|
||||
(dired-symlink :foreground cyan)
|
||||
(dired-header :foreground cyan)
|
||||
|
||||
;;;;;;;; Brackets ;;;;;;;;
|
||||
;; Rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground orange)
|
||||
(rainbow-delimiters-depth-2-face :foreground red)
|
||||
(rainbow-delimiters-depth-3-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-4-face :foreground blue)
|
||||
;; Bracket pairing
|
||||
((show-paren-match &override) :foreground nil :background base5 :bold t)
|
||||
((show-paren-mismatch &override) :foreground nil :background "red")
|
||||
|
||||
;;;;;;;; which-key ;;;;;;;;
|
||||
(which-func :foreground cyan)
|
||||
(which-key-command-description-face :foreground fg)
|
||||
(which-key-group-description-face :foreground (doom-lighten fg-alt 0.25))
|
||||
(which-key-local-map-description-face :foreground cyan)
|
||||
|
||||
;;;;;;;; Company ;;;;;;;;
|
||||
(company-preview-common :foreground cyan)
|
||||
(company-tooltip-common :foreground cyan)
|
||||
(company-tooltip-common-selection :foreground cyan)
|
||||
(company-tooltip-annotation :foreground cyan)
|
||||
(company-tooltip-annotation-selection :foreground cyan)
|
||||
(company-scrollbar-bg :background base3)
|
||||
(company-scrollbar-fg :background cyan)
|
||||
(company-tooltip-selection :background bg-alt2)
|
||||
(company-tooltip-mouse :background bg-alt2 :foreground nil)
|
||||
|
||||
;;;;;;;; Misc ;;;;;;;;
|
||||
(+workspace-tab-selected-face :background dark-green :foreground "white")
|
||||
|
||||
;; Undo tree
|
||||
(undo-tree-visualizer-active-branch-face :foreground cyan)
|
||||
(undo-tree-visualizer-current-face :foreground yellow)
|
||||
|
||||
;; General UI
|
||||
(button :foreground cyan :underline t :bold t)
|
||||
|
||||
;; ediff
|
||||
(ediff-fine-diff-A :background (doom-blend red bg 0.4) :weight 'bold)
|
||||
(ediff-current-diff-A :background (doom-blend red bg 0.2))
|
||||
|
||||
;; flycheck
|
||||
(flycheck-error :underline `(:style wave :color ,red) :background base3)
|
||||
(flycheck-warning :underline `(:style wave :color ,yellow) :background base3)
|
||||
(flycheck-info :underline `(:style wave :color ,blue) :background base3)
|
||||
|
||||
;; helm
|
||||
(helm-swoop-target-line-face :foreground magenta :inverse-video t)
|
||||
|
||||
;; magit
|
||||
(magit-section-heading :foreground cyan :weight 'bold)
|
||||
(magit-branch-current :underline green :inherit 'magit-branch-local)
|
||||
(magit-diff-hunk-heading :background base3 :foreground fg-alt)
|
||||
(magit-diff-hunk-heading-highlight :background bg-alt2 :foreground fg)
|
||||
(magit-diff-context :foreground base3 :foreground fg-alt)
|
||||
|
||||
|
||||
;;;;;;;; Major mode faces ;;;;;;;;
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground keywords)
|
||||
|
||||
;; elisp-mode
|
||||
(highlight-quoted-symbol :foreground dark-cyan)
|
||||
|
||||
;; highlight-symbol
|
||||
(highlight-symbol-face :background (doom-lighten base3 0.03) :distant-foreground fg-alt)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background (doom-lighten base3 0.03) :distant-foreground fg-alt)
|
||||
|
||||
;; LaTeX-mode
|
||||
(font-latex-math-face :foreground dark-cyan)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-header-face :inherit 'bold :foreground green)
|
||||
(markdown-header-delimiter-face :foreground orange)
|
||||
(markdown-blockquote-face :inherit 'italic :foreground grey)
|
||||
(markdown-list-face :foreground grey)
|
||||
(markdown-url-face :foreground violet)
|
||||
(markdown-pre-face :foreground cyan)
|
||||
(markdown-link-face :inherit 'underline :foreground grey)
|
||||
((markdown-code-face &override) :background (doom-lighten base2 0.045))
|
||||
|
||||
;; mu4e-view
|
||||
(mu4e-header-key-face :foreground red)
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground green)
|
||||
((outline-2 &override) :foreground green)
|
||||
((outline-3 &override) :foreground yellow)
|
||||
((outline-4 &override) :foreground yellow)
|
||||
((outline-5 &override) :foreground dark-yellow)
|
||||
((outline-6 &override) :foreground dark-yellow)
|
||||
(org-ellipsis :underline nil :foreground orange)
|
||||
(org-tag :foreground yellow :bold nil)
|
||||
((org-quote &override) :inherit 'italic :foreground base7 :background org-quote)
|
||||
(org-todo :foreground yellow :bold 'inherit)
|
||||
(org-list-dt :foreground yellow)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-html-tag-bracket-face :foreground blue)
|
||||
(web-mode-html-tag-face :foreground cyan)
|
||||
(web-mode-html-attr-name-face :foreground cyan)
|
||||
(web-mode-json-key-face :foreground green)
|
||||
(web-mode-json-context-face :foreground cyan))
|
||||
;; --- extra variables --------------------
|
||||
;; ()
|
||||
)
|
||||
;;; doom-gruvbox-theme.el ends here
|
311
elpa/doom-themes-20210322.1750/doom-henna-theme.el
Normal file
311
elpa/doom-themes-20210322.1750/doom-henna-theme.el
Normal file
|
@ -0,0 +1,311 @@
|
|||
;;; doom-henna-theme.el --- inspired by vscode henna theme -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;; Code:
|
||||
(defgroup doom-henna-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-henna-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-henna-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-henna-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-henna-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-henna-comment-bg doom-henna-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-henna-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-henna-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-henna-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-henna
|
||||
"A dark theme inspired by Atom One Dark"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#21272e" nil nil ))
|
||||
(bg-alt '("#1B1F23" nil nil ))
|
||||
(base0 '("#10151a" "black" "black" ))
|
||||
(base1 '("#181A1F" "#2e2e2e" "brightblack" ))
|
||||
(base2 '("#1B1F23" "#262626" "brightblack" ))
|
||||
(base3 '("#262D35" "#3f3f3f" "brightblack" ))
|
||||
(base4 '("#282C34" "#525252" "brightblack" ))
|
||||
(base5 '("#2c313a" "#6b6b6b" "brightblack" ))
|
||||
(base6 '("#3B4048" "#979797" "brightblack" ))
|
||||
(base7 '("#495162" "#dfdfdf" "white" ))
|
||||
(base8 '("#606F73" "#1e1e1e" "brightblack" ))
|
||||
(fg '("#f8f8f0" "#bfbfbf" "brightwhite" ))
|
||||
(fg-alt '("#6B717D" "#979797" "white" ))
|
||||
(grey '("#737c8c"))
|
||||
(red '("#e74c3c" "#ff6655" "red" ))
|
||||
(green '("#53df83" "#99bb66" "green" ))
|
||||
(teal '("#1abc9c" "#44b9b1" "brightgreen" ))
|
||||
(blue '("#56b5c2" "#51afef" "brightblue" ))
|
||||
(cyan '("#56b6c2" "#46D9FF" "brightcyan" ))
|
||||
|
||||
;; Not used, so remap to other (henna) colors
|
||||
(orange red)
|
||||
(yellow '("#ECBE7B" "#ECBE7B" "yellow" ))
|
||||
(magenta '("#FFB8D1" "#FFB8D1" "magenta" ))
|
||||
(violet '("#C5A3FF" "#C5A3FF" "brightmagenta"))
|
||||
(dark-blue '("#2257A0" "#2257A0" "blue" ))
|
||||
(dark-cyan '("#2e4a54" "#204052" "cyan" ))
|
||||
|
||||
;; custom
|
||||
(green-alt '("#9cd230" ))
|
||||
(green-dark '("#30c965" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight red)
|
||||
(vertical-bar (doom-darken base1 0.1))
|
||||
(selection cyan)
|
||||
(builtin teal)
|
||||
(comments base8)
|
||||
(doc-comments base8)
|
||||
(constants teal)
|
||||
(functions red)
|
||||
(keywords teal)
|
||||
(methods red)
|
||||
(operators red)
|
||||
(type red)
|
||||
(strings green)
|
||||
(variables fg)
|
||||
(numbers teal)
|
||||
(region dark-cyan)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified blue)
|
||||
(vc-added green-alt)
|
||||
(vc-deleted (doom-darken red 0.2))
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-henna-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-henna-padded-modeline
|
||||
(if (integerp doom-henna-padded-modeline) doom-henna-padded-modeline 4)))
|
||||
|
||||
|
||||
(modeline-fg fg)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive `(,(doom-darken (car bg-alt) 0.1) ,@(cdr bg-alt)))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
|
||||
;; Operator Fonts
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
((line-number &override) :foreground base7)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-operator-face
|
||||
:foreground operators)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-henna-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
(solaire-default-face :inherit 'default :background base1)
|
||||
|
||||
;; hl-todo
|
||||
(hl-todo :foreground red :weight 'bold)
|
||||
|
||||
;; iedit
|
||||
(iedit-occurrence :foreground blue :weight 'bold :inverse-video t)
|
||||
(iedit-read-only-occurrence :inherit 'region)
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
|
||||
;; centaur
|
||||
(centaur-tabs-selected :background base3 :foreground fg)
|
||||
(centaur-tabs-unselected :background base2 :foreground grey)
|
||||
(centaur-tabs-selected-modified :background bg :foreground green-alt)
|
||||
(centaur-tabs-unselected-modified :background base1 :foreground magenta)
|
||||
(centaur-tabs-active-bar-face :background green)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected-modified :foreground green)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected-modified :foreground green)
|
||||
|
||||
;; Doom dashboard
|
||||
(doom-dashboard-banner :foreground red)
|
||||
(doom-dashboard-footer-icon :foreground green-alt)
|
||||
(doom-dashboard-loaded :foreground green-alt)
|
||||
|
||||
;; which-key
|
||||
(which-key-key-face :foreground red)
|
||||
(which-key-group-description-face :foreground green)
|
||||
(which-key-command-description-face :foreground teal)
|
||||
(which-key-local-map-description-face :foreground green)
|
||||
|
||||
;; highlight-numbers
|
||||
(highlight-numbers-number :foreground blue)
|
||||
|
||||
;; ivy-mode
|
||||
(ivy-minibuffer-match-highlight :foreground red)
|
||||
(ivy-highlight-face :foreground red)
|
||||
(ivy-minibuffer-match-face-2
|
||||
:inherit 'ivy-minibuffer-match-face-1
|
||||
:foreground red :background base1 :weight 'semi-bold)
|
||||
(ivy-minibuffer-match-face-4
|
||||
:inherit 'ivy-minibuffer-match-face-2
|
||||
:foreground red :weight 'semi-bold)
|
||||
(ivy-current-match :background red :distant-foreground base0 :weight 'normal)
|
||||
|
||||
;; treemacs
|
||||
(treemacs-directory-face :foreground base8)
|
||||
(treemacs-git-modified-face :foreground yellow)
|
||||
(treemacs-git-added-face :foreground green)
|
||||
(treemacs-git-untracked-face :foreground green-alt)
|
||||
(treemacs-file-face :foreground fg)
|
||||
(treemacs-root-face :foreground red :weight 'bold)
|
||||
|
||||
;; magit
|
||||
(magit-blame-headling :foreground magenta :background base3)
|
||||
(magit-cherry-equvalent :foreground red)
|
||||
(magit-log-author :foreground magenta)
|
||||
(magit-section-heading :foreground red :weight 'bold)
|
||||
(magit-tag :foreground (doom-lighten green-alt 0.5))
|
||||
(magit-filename :foreground teal)
|
||||
(magit-diff-hunk-heading :background (doom-darken teal 0.5))
|
||||
(magit-diff-hunk-heading-highlight :background (doom-darken teal 0.2))
|
||||
(magit-branch-current :foreground green-alt)
|
||||
|
||||
;; popup
|
||||
(popup-tip-face :background base8 :foreground fg)
|
||||
(popup-menu-mouse-face :background base8 :foreground fg)
|
||||
(popup-summary-face :background base7 :foreground fg)
|
||||
|
||||
;; rainbow delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground red)
|
||||
(rainbow-delimiters-depth-2-face :foreground green)
|
||||
(rainbow-delimiters-depth-3-face :foreground teal)
|
||||
(rainbow-delimiters-depth-4-face :foreground green)
|
||||
(rainbow-delimiters-depth-5-face :foreground blue)
|
||||
(rainbow-delimiters-depth-6-face :foreground green-alt)
|
||||
(rainbow-delimiters-depth-7-face :foreground cyan)
|
||||
|
||||
;; Dired
|
||||
(diredfl-date-time :foreground teal)
|
||||
(diredfl-number :foreground green)
|
||||
(diredfl-dir-heading :foreground teal :weight 'bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground cyan)
|
||||
(css-property :foreground teal)
|
||||
(css-selector :foreground red)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground grey)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
(markdown-bold-face :foreground green :weight 'bold)
|
||||
(markdown-url-face :foreground fg :underline t)
|
||||
(markdown-link-face :foreground green)
|
||||
(markdown-list-face :foregroung fg)
|
||||
(markdown-header-face-1 :foreground fg)
|
||||
(markdown-header-face-2 :foreground fg)
|
||||
(markdown-header-face-3 :foreground fg)
|
||||
(markdown-header-face-4 :foreground fg)
|
||||
(markdown-header-face-5 :foreground fg)
|
||||
(markdown-header-face-6 :foreground fg)
|
||||
(markdown-header-delimiter-face :foreground fg)
|
||||
(markdown-inline-code-face :foreground teal)
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(org-code :foreground blue)
|
||||
(org-table :foreground fg-alt)
|
||||
|
||||
;; outline
|
||||
(outline-1 :foreground red :weight 'bold :extend t)
|
||||
(outline-2 :foreground teal :weight 'bold :extend t)
|
||||
(outline-3 :foreground green :weight 'bold :extend t)
|
||||
(outline-4 :foreground (doom-lighten red 0.25) :weight 'bold :extend t)
|
||||
(outline-5 :foreground (doom-lighten green 0.25) :weight 'bold :extend t)
|
||||
(outline-6 :foreground (doom-lighten blue 0.5) :weight 'bold :extend t)
|
||||
(outline-7 :foreground (doom-lighten red 0.5) :weight 'bold :extend t)
|
||||
(outline-8 :foreground (doom-lighten blue 0.8) :weight 'bold :extend t)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-html-attr-equal-face :foreground teal)
|
||||
(web-mode-html-tag-face :foreground green-alt)
|
||||
(web-mode-html-tag-bracket-face :foreground teal)
|
||||
(web-mode-keyword-face :foreground teal)
|
||||
(web-mode-block-control-face :foreground red)
|
||||
(web-mode-variable-name-face :foreground (doom-lighten green 0.5))
|
||||
|
||||
;; typescript
|
||||
(typescript-access-modifier-face :foreground green-alt)
|
||||
(typescript-this-face :foreground green-alt)
|
||||
|
||||
;; LSP
|
||||
(lsp-face-highlight-textual :background "black")
|
||||
(lsp-face-highlight-read :background (doom-darken dark-blue 0.3))
|
||||
|
||||
;; js
|
||||
(js2-object-property :foreground fg)
|
||||
(js2-object-property-access :foreground green)
|
||||
(js2-jsdoc-value :foreground red)
|
||||
(js2-jsdoc-tag :foreground teal)
|
||||
(js2-jsdoc-html-tag-delimiter :foreground base8)
|
||||
(js2-jsdoc-html-tag-name :foreground base8)
|
||||
|
||||
;; rjsx
|
||||
(rjsx-attr :foreground blue)
|
||||
)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
|
||||
)
|
||||
|
||||
;;; doom-henna-theme.el ends here
|
238
elpa/doom-themes-20210322.1750/doom-homage-black-theme.el
Normal file
238
elpa/doom-themes-20210322.1750/doom-homage-black-theme.el
Normal file
|
@ -0,0 +1,238 @@
|
|||
;;; doom-homage-black-theme.el --- pitch-black theme version of homage-white -*- no-byte-compile: t; -*-
|
||||
;;;
|
||||
;;; Commentary:
|
||||
;;;
|
||||
;;; Theme is (manually) inverted homage-white theme with a focus of having
|
||||
;;; pitch-black backgrounds. I'm also incorporated a several ideas from jbeans
|
||||
;;; theme (synic/jbeans-emacs).
|
||||
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-homage-black-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-homage-black-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-homage-black-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-homage-black
|
||||
"A light theme inspired by Atom One"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#000000" nil nil ))
|
||||
(bg-alt '("#000000" nil nil ))
|
||||
(base0 '("#1B2229" "black" "black" ))
|
||||
(base1 '("#1c1f24" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#202328" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#23272e" "#262626" "brightblack" ))
|
||||
(base4 '("#3f444a" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#5B6268" "#525252" "brightblack" ))
|
||||
(base6 '("#73797e" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#9ca0a4" "#979797" "brightblack" ))
|
||||
(base8 '("#DFDFDF" "#dfdfdf" "white" ))
|
||||
(fg '("#bbc2cf" "#bfbfbf" "brightwhite" ))
|
||||
(fg-alt '("#5B6268" "#2d2d2d" "white" ))
|
||||
|
||||
(grey base5)
|
||||
(red '("#ff6c6b" "#ff6655" "red" ))
|
||||
(orange '("#b4916d" "#b4916d" "brightred" ))
|
||||
(green '("#98be65" "#99bb66" "green" ))
|
||||
(teal '("#4db5bd" "#44b9b1" "brightgreen" ))
|
||||
(yellow '("#ECBE7B" "#ECBE7B" "yellow" ))
|
||||
(blue '("#0170bf" "#0170bf" "brightblue" ))
|
||||
(dark-blue '("#003c64" "#0170bf" "blue" ))
|
||||
(magenta '("#c678dd" "#c678dd" "brightmagenta"))
|
||||
(violet '("#a9a1e1" "#a9a1e1" "magenta" ))
|
||||
(cyan '("#46D9FF" "#46D9FF" "brightcyan" ))
|
||||
(dark-cyan '("#5699AF" "#5699AF" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base2 0.1))
|
||||
(selection dark-blue)
|
||||
(builtin fg)
|
||||
(comments green)
|
||||
(doc-comments (doom-darken comments 0.15))
|
||||
(constants fg)
|
||||
(functions blue)
|
||||
(keywords fg)
|
||||
(methods fg)
|
||||
(operators fg)
|
||||
(type fg)
|
||||
(strings orange)
|
||||
(variables fg)
|
||||
(numbers orange)
|
||||
(region `(,(doom-darken (car dark-blue) 0.1) ,@(doom-darken (cdr base0) 0.3)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(-modeline-bright t)
|
||||
(-modeline-pad
|
||||
(when doom-homage-black-padded-modeline
|
||||
(if (integerp doom-homage-black-padded-modeline) doom-homage-black-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt (doom-blend violet base4 (if -modeline-bright 0.5 0.2)))
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.05)
|
||||
base1))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.1)
|
||||
base2))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.05) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((centaur-tabs-unselected :background bg-alt :foreground base4)
|
||||
(font-lock-comment-face
|
||||
:foreground comments)
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments
|
||||
:slant 'italic)
|
||||
|
||||
;; Override hl-line colour as bg-alt is too dark
|
||||
((hl-line &override) :background (doom-darken highlight 0.75))
|
||||
|
||||
((line-number &override) :foreground (doom-lighten base4 0.15))
|
||||
((line-number-current-line &override) :foreground base8)
|
||||
|
||||
;; Override secondary selection
|
||||
((secondary-selection &override) :background base0)
|
||||
|
||||
;; Change swiper colours, background and foreground are too close
|
||||
((swiper-match-face-1 &override) :background fg :foreground bg)
|
||||
((swiper-line-face &override) :background dark-blue :foreground fg)
|
||||
((ivy-minibuffer-match-face-1 &override) :foreground (doom-lighten grey 0.70))
|
||||
|
||||
;; Apply bold value for different things
|
||||
(font-lock-builtin-face :inherit 'bold :foreground base8)
|
||||
(font-lock-function-name-face :inherit 'bold :foreground base8)
|
||||
(font-lock-keyword-face :inherit 'bold :foreground base8)
|
||||
(font-lock-type-face :inherit 'bold :foreground base8)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; magit
|
||||
((magit-diff-hunk-heading &override) :foreground fg :background bg-alt :bold bold)
|
||||
((magit-diff-hunk-heading-highlight &override) :foreground base8 :background bg-alt :bold bold)
|
||||
(magit-blame-heading :foreground orange :background bg-alt)
|
||||
(magit-diff-removed :foreground (doom-darken red 0.2) :background (doom-blend red bg 0.1))
|
||||
(magit-diff-removed-highlight :foreground red :background (doom-blend red bg 0.2) :bold bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background base1)
|
||||
(mmm-default-submode-face :background base1)
|
||||
|
||||
;; org-mode: make outline just the same colour as normal text
|
||||
((outline-1 &override) :foreground fg)
|
||||
((outline-2 &override) :foreground fg)
|
||||
((outline-3 &override) :foreground fg)
|
||||
((outline-4 &override) :foreground fg)
|
||||
((outline-5 &override) :foreground fg)
|
||||
((outline-6 &override) :foreground fg)
|
||||
((outline-7 &override) :foreground fg)
|
||||
((outline-8 &override) :foreground fg)
|
||||
;; org-mode: make unfinished cookie and todo keywords to be very bright to
|
||||
;; grab attention
|
||||
((org-todo &override) :foreground red)
|
||||
;; org-mode: make tags and dates to have pretty box around them
|
||||
((org-tag &override) :foreground fg :background base1
|
||||
:box `(:line-width -1 :color ,base5 :style 'released-button))
|
||||
((org-date &override) :foreground fg :background base1
|
||||
:box `(:line-width -1 :color ,base5 :style 'released-button))
|
||||
;; org-mode: Make drawers and special keywords (like scheduled) to be very bleak
|
||||
((org-special-keyword &override) :foreground grey)
|
||||
((org-drawer &override) :foreground grey)
|
||||
;; org-mode: Make ellipsis as bleak as possible and reset any underline and boxing
|
||||
;; properties
|
||||
(org-ellipsis :underline nil :box nil :foreground fg :background bg)
|
||||
;; org-mode: Make blocks have a slightly different background
|
||||
((org-block &override) :background base1)
|
||||
((org-block-begin-line &override) :foreground fg :slant 'italic)
|
||||
((org-quote &override) :background base1)
|
||||
((org-table &override) :foreground fg)
|
||||
|
||||
;; org-agendamode: make "unimportant" things like distant deadlines and
|
||||
;; things scheduled for today to be bleak.
|
||||
(org-upcoming-deadline :foreground base8)
|
||||
(org-upcoming-distant-deadline :foreground fg)
|
||||
(org-scheduled :foreground fg)
|
||||
(org-scheduled-today :foreground fg)
|
||||
(org-scheduled-previously :foreground base8)
|
||||
|
||||
;; helm
|
||||
(helm-candidate-number :background blue :foreground bg)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-current-element-highlight-face :background dark-blue :foreground bg)
|
||||
|
||||
;; wgrep
|
||||
(wgrep-face :background base1)
|
||||
|
||||
;; ediff
|
||||
(ediff-current-diff-A :foreground red :background (doom-lighten red 0.8))
|
||||
(ediff-current-diff-B :foreground green :background (doom-lighten green 0.8))
|
||||
(ediff-current-diff-C :foreground blue :background (doom-lighten blue 0.8))
|
||||
(ediff-current-diff-Ancestor :foreground teal :background (doom-lighten teal 0.8))
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base1 :foreground fg)
|
||||
|
||||
;; posframe
|
||||
(ivy-posframe :background base0)
|
||||
|
||||
;; lsp
|
||||
(lsp-ui-doc-background :background base0)
|
||||
(lsp-face-highlight-read :background (doom-blend red bg 0.3))
|
||||
(lsp-face-highlight-textual :inherit 'lsp-face-highlight-read)
|
||||
(lsp-face-highlight-write :inherit 'lsp-face-highlight-read)
|
||||
|
||||
;; mu4e
|
||||
(mu4e-highlight-face :background bg :inherit 'bold)
|
||||
)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-homage-black-theme.el ends here
|
241
elpa/doom-themes-20210322.1750/doom-homage-white-theme.el
Normal file
241
elpa/doom-themes-20210322.1750/doom-homage-white-theme.el
Normal file
|
@ -0,0 +1,241 @@
|
|||
;;; doom-homage-white-theme.el --- minimal white theme inspired by editors from 2000s -*- no-byte-compile: t; -*-
|
||||
;;;
|
||||
;;; Commentary:
|
||||
;;;
|
||||
;;; Theme is using palette inspired by various editors from 2000s, with a lot of
|
||||
;;; inspiration from eziam theme (thblt/eziam-theme-emacs) and tao themes
|
||||
;;; (11111000000/tao-theme-emacs).
|
||||
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-homage-white-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-homage-white-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-homage-white-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-homage-white
|
||||
"A light theme inspired by Atom One"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#fafafa" nil nil ))
|
||||
(bg-alt '("#f0f0f0" nil nil ))
|
||||
(base0 '("#f0f0f0" "#f0f0f0" "white" ))
|
||||
(base1 '("#e7e7e7" "#e7e7e7" "brightblack" ))
|
||||
(base2 '("#dfdfdf" "#dfdfdf" "brightblack" ))
|
||||
(base3 '("#c6c7c7" "#c6c7c7" "brightblack" ))
|
||||
(base4 '("#9ca0a4" "#9ca0a4" "brightblack" ))
|
||||
(base5 '("#383a42" "#424242" "brightblack" ))
|
||||
(base6 '("#202328" "#2e2e2e" "brightblack" ))
|
||||
(base7 '("#1c1f24" "#1e1e1e" "brightblack" ))
|
||||
(base8 '("#1b2229" "black" "black" ))
|
||||
(fg '("#383a42" "#424242" "black" ))
|
||||
(fg-alt '("#c6c7c7" "#c7c7c7" "brightblack" ))
|
||||
|
||||
(grey base5)
|
||||
(red '("#e45649" "#e45649" "red" ))
|
||||
(orange '("#8a3b3c" "#dd8844" "brightred" ))
|
||||
(green '("#556b2f" "#556b2f" "green" ))
|
||||
(teal '("#4db5bd" "#44b9b1" "brightgreen" ))
|
||||
(yellow '("#986801" "#986801" "yellow" ))
|
||||
(yellow-alt '("#fafadd" "#fafadd" "yellow" ))
|
||||
(blue '("#014980" "#014980" "brightblue" ))
|
||||
(dark-blue '("#030f64" "#030f64" "blue" ))
|
||||
(magenta '("#a626a4" "#a626a4" "magenta" ))
|
||||
(violet '("#b751b6" "#b751b6" "brightmagenta"))
|
||||
(cyan '("#0184bc" "#0184bc" "brightcyan" ))
|
||||
(dark-cyan '("#005478" "#005478" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base2 0.1))
|
||||
(selection base3)
|
||||
(builtin fg)
|
||||
(comments green)
|
||||
(doc-comments (doom-darken comments 0.15))
|
||||
(constants fg)
|
||||
(functions blue)
|
||||
(keywords fg)
|
||||
(methods fg)
|
||||
(operators fg)
|
||||
(type fg)
|
||||
(strings orange)
|
||||
(variables fg)
|
||||
(numbers orange)
|
||||
(region `(,(doom-darken (car bg-alt) 0.1) ,@(doom-darken (cdr base0) 0.3)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(-modeline-bright t)
|
||||
(-modeline-pad
|
||||
(when doom-homage-white-padded-modeline
|
||||
(if (integerp doom-homage-white-padded-modeline) doom-homage-white-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt (doom-blend violet base4 (if -modeline-bright 0.5 0.2)))
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.05)
|
||||
base1))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.1)
|
||||
base2))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.05) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((centaur-tabs-unselected :background bg-alt :foreground base4)
|
||||
(font-lock-comment-face
|
||||
:foreground comments)
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments
|
||||
:slant 'italic)
|
||||
|
||||
((line-number &override) :foreground (doom-lighten base4 0.15))
|
||||
((line-number-current-line &override) :foreground base8)
|
||||
|
||||
;; Override secondary selection
|
||||
((secondary-selection &override) :background base0)
|
||||
|
||||
;; Change swiper colours, background and foreground are too close
|
||||
((swiper-match-face-1 &override) :foreground bg :background fg)
|
||||
((swiper-line-face &override) :background (doom-lighten blue 0.70) :foreground fg)
|
||||
((ivy-minibuffer-match-face-1 &override) :foreground (doom-darken grey 0.70))
|
||||
|
||||
;; Apply bold value for different things
|
||||
(font-lock-builtin-face :inherit 'bold)
|
||||
(font-lock-function-name-face :inherit 'bold)
|
||||
(font-lock-keyword-face :inherit 'bold)
|
||||
(font-lock-type-face :inherit 'bold)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; magit
|
||||
((magit-diff-hunk-heading &override) :foreground base4 :background bg :bold bold)
|
||||
((magit-diff-hunk-heading-highlight &override) :foreground fg :background bg :bold bold)
|
||||
(magit-blame-heading :foreground orange :background bg-alt)
|
||||
(magit-diff-removed :foreground (doom-darken red 0.2) :background (doom-blend red bg 0.1))
|
||||
(magit-diff-removed-highlight :foreground red :background (doom-blend red bg 0.2) :bold bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background base1)
|
||||
(mmm-default-submode-face :background base1)
|
||||
|
||||
;; org-mode: make outline just the same colour as normal text
|
||||
((outline-1 &override) :foreground fg)
|
||||
((outline-2 &override) :foreground fg)
|
||||
((outline-3 &override) :foreground fg)
|
||||
((outline-4 &override) :foreground fg)
|
||||
((outline-5 &override) :foreground fg)
|
||||
((outline-6 &override) :foreground fg)
|
||||
((outline-7 &override) :foreground fg)
|
||||
((outline-8 &override) :foreground fg)
|
||||
;; org-mode: make unfinished cookie and todo keywords to be very bright to
|
||||
;; grab attention
|
||||
((org-todo &override) :foreground red)
|
||||
;; org-mode: make tags and dates to have pretty box around them
|
||||
((org-tag &override) :foreground fg :background yellow-alt
|
||||
:box `(:line-width -1 :color ,base5 :style 'released-button))
|
||||
((org-date &override) :foreground fg :background base1
|
||||
:box `(:line-width -1 :color ,base5 :style 'released-button))
|
||||
;; org-mode: Make drawers and special keywords (like scheduled) to be very bleak
|
||||
((org-special-keyword &override) :foreground grey)
|
||||
((org-drawer &override) :foreground grey)
|
||||
;; org-mode: Make ellipsis as bleak as possible and reset any underline and boxing
|
||||
;; properties
|
||||
(org-ellipsis :underline nil :box nil :foreground fg :background bg)
|
||||
;; org-mode: Make blocks have a slightly different background
|
||||
((org-block &override) :background base1)
|
||||
((org-block-begin-line &override) :foreground fg :slant 'italic)
|
||||
((org-quote &override) :background base1)
|
||||
((org-table &override) :foreground fg)
|
||||
|
||||
;; org-agendamode: make "unimportant" things like distant deadlines and
|
||||
;; things scheduled for today to be bleak.
|
||||
(org-upcoming-deadline :foreground base8)
|
||||
(org-upcoming-distant-deadline :foreground fg)
|
||||
(org-scheduled :foreground fg)
|
||||
(org-scheduled-today :foreground fg)
|
||||
(org-scheduled-previously :foreground base8)
|
||||
|
||||
;; Indent guides character face
|
||||
(highlight-indent-guides-character-face :foreground base2)
|
||||
|
||||
;; helm
|
||||
(helm-candidate-number :background blue :foreground bg)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-current-element-highlight-face :background dark-blue :foreground bg)
|
||||
|
||||
;; wgrep
|
||||
(wgrep-face :background base1)
|
||||
|
||||
;; ediff
|
||||
(ediff-current-diff-A :foreground red :background (doom-lighten red 0.8))
|
||||
(ediff-current-diff-B :foreground green :background (doom-lighten green 0.8))
|
||||
(ediff-current-diff-C :foreground blue :background (doom-lighten blue 0.8))
|
||||
(ediff-current-diff-Ancestor :foreground teal :background (doom-lighten teal 0.8))
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base1 :foreground fg)
|
||||
|
||||
;; posframe
|
||||
(ivy-posframe :background base0)
|
||||
|
||||
;; lsp
|
||||
(lsp-ui-doc-background :background base0)
|
||||
(lsp-face-highlight-read :background (doom-blend red bg 0.3))
|
||||
(lsp-face-highlight-textual :inherit 'lsp-face-highlight-read)
|
||||
(lsp-face-highlight-write :inherit 'lsp-face-highlight-read)
|
||||
|
||||
;; mu4e
|
||||
(mu4e-highlight-face :background bg :inherit 'bold)
|
||||
(mu4e-header-highlight-face :foreground dark-blue :inherit 'bold)
|
||||
(mu4e-unread-face :foreground blue)
|
||||
)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-homage-white-theme.el ends here
|
253
elpa/doom-themes-20210322.1750/doom-horizon-theme.el
Normal file
253
elpa/doom-themes-20210322.1750/doom-horizon-theme.el
Normal file
|
@ -0,0 +1,253 @@
|
|||
;;; doom-horizon-theme.el --- Inspired by VSCode Horizon -*- no-byte-compile: t; -*-
|
||||
|
||||
;;; Commentary:
|
||||
;;; This theme was inspired by the port of Horizon to Emacs
|
||||
;;; see: https://github.com/aodhneine/horizon-theme.el
|
||||
|
||||
(require 'doom-themes)
|
||||
|
||||
;;; Code:
|
||||
(defgroup doom-horizon-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-horizon-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-horizon-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-horizon-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-horizon-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-horizon-comment-bg doom-horizon-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their legibility."
|
||||
:group 'doom-horizon-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-horizon-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-horizon-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-horizon
|
||||
"A port of the port of the Visual Studio Code theme Horizon"
|
||||
|
||||
;; name default 256 16
|
||||
( (bg '("#1c1e26" "#232530" nil ))
|
||||
(bg-alt '("#232530" "#1c1e26" nil ))
|
||||
(base0 '("#16161c" "#16161c" "black" ))
|
||||
(base1 '("#1a1c23" "#1a1c23" "brightblack" ))
|
||||
(base2 '("#1d1f27" "#1c1e26" "brightblack" ))
|
||||
(base3 '("#232530" "#232530" "brightblack" ))
|
||||
(base4 '("#6a6a6a" "#6a6a6a" "brightblack" ))
|
||||
(base5 '("#f9cec3" "#f9cec3" "brightblack" ))
|
||||
(base6 '("#f9cbbe" "#f9cbbe" "brightblack" ))
|
||||
(base7 '("#fadad1" "#fadad1" "brightblack" ))
|
||||
(base8 '("#fdf0ed" "#fdf0ed" "white" ))
|
||||
(fg-alt '("#fdf0ed" "#fdf0ed" "brightwhite" ))
|
||||
(fg '("#c7c9cb" "#c7c9cb" "white" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#e95678" "#e95678" "red" ))
|
||||
(orange '("#f09383" "#f09383" "brightred" ))
|
||||
(green '("#09f7a0" "#09f7a0" "green" ))
|
||||
(teal '("#21bfc2" "#21bfc2" "brightgreen" ))
|
||||
(yellow '("#fab795" "#fab795" "yellow" ))
|
||||
(blue '("#21bfc2" "#21bfc2" "brightblue" ))
|
||||
(dark-blue '("#25b2bc" "#25b2bc" "blue" ))
|
||||
(magenta '("#6c6f93" "#6c6f93" "magenta" ))
|
||||
(violet '("#b877db" "#b877db" "brightmagenta"))
|
||||
(cyan '("#59e3e3" "#59e3e3" "brightcyan" ))
|
||||
(dark-cyan '("#27d797" "#27d797" "cyan" ))
|
||||
|
||||
;; additional highlighting colours for horizon
|
||||
(hor-highlight (doom-lighten base3 0.05))
|
||||
(hor-highlight-selected (doom-lighten base3 0.1))
|
||||
(hor-highlight-bright (doom-lighten base3 0.2))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight red)
|
||||
(vertical-bar base0)
|
||||
(selection violet)
|
||||
(builtin violet)
|
||||
(comments (if doom-horizon-brighter-comments magenta hor-highlight-bright))
|
||||
(doc-comments yellow)
|
||||
(constants orange)
|
||||
(functions teal)
|
||||
(keywords violet)
|
||||
(methods magenta)
|
||||
(operators teal)
|
||||
(type teal)
|
||||
(strings yellow)
|
||||
(variables red)
|
||||
(numbers orange)
|
||||
(region hor-highlight)
|
||||
(error red)
|
||||
(warning dark-cyan)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-horizon-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-horizon-padded-modeline
|
||||
(if (integerp doom-horizon-padded-modeline) doom-horizon-padded-modeline 4)))
|
||||
|
||||
(modeline-fg (doom-darken fg 0.2))
|
||||
(modeline-fg-alt (doom-lighten bg 0.2))
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
base4
|
||||
`(,(car base1), (cdr fg-alt))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
base4
|
||||
`(,(car base1), (cdr fg))))
|
||||
(modeline-bg-inactive base1)
|
||||
(modeline-bg-inactive-l base1))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
|
||||
;; ((line-number &override) :foreground (doom-lighten bg 0.05))
|
||||
((line-number &override) :foreground hor-highlight-selected)
|
||||
((line-number-current-line &override) :foreground hor-highlight-bright)
|
||||
|
||||
(font-lock-comment-face
|
||||
:inherit 'italic
|
||||
:foreground comments
|
||||
:background (if doom-horizon-comment-bg (doom-lighten bg 0.03)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
(mode-line-highlight :background base1 :foreground fg)
|
||||
|
||||
;; modeline
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
(doom-modeline-highlight :foreground (doom-lighten bg 0.3))
|
||||
(doom-modeline-project-dir :foreground red :inherit 'bold )
|
||||
(doom-modeline-buffer-path :foreground red)
|
||||
(doom-modeline-buffer-file :foreground fg)
|
||||
(doom-modeline-buffer-modified :foreground violet)
|
||||
(doom-modeline-panel :background base1)
|
||||
(doom-modeline-urgent :foreground modeline-fg)
|
||||
(doom-modeline-info :foreground cyan)
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; NOTE: there are lots of tweaks here to mimic the VSCode theme
|
||||
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground violet)
|
||||
(css-property :foreground fg)
|
||||
(css-selector :foreground red)
|
||||
|
||||
;; mic-paren
|
||||
(paren-face-match :foreground green :background base0 :weight 'ultra-bold)
|
||||
(paren-face-mismatch :foreground yellow :background base0 :weight 'ultra-bold)
|
||||
(paren-face-no-match :inherit 'paren-face-mismatch :weight 'ultra-bold)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground cyan)
|
||||
(markdown-link-face :foreground orange)
|
||||
(markdown-link-title-face :foreground yellow)
|
||||
(markdown-header-face :foreground red :inherit 'bold)
|
||||
(markdown-header-delimiter-face :foreground red :inherit 'bold)
|
||||
(markdown-language-keyword-face :foreground orange)
|
||||
(markdown-markup-face :foreground fg)
|
||||
(markdown-bold-face :foreground violet)
|
||||
(markdown-table-face :foreground fg :background base1)
|
||||
((markdown-code-face &override) :foreground orange :background base1)
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground blue :background nil)
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base1)
|
||||
((org-block-begin-line &override) :background base1 :foreground comments)
|
||||
(org-hide :foreground hidden)
|
||||
(org-link :inherit 'underline :foreground yellow)
|
||||
(org-agenda-done :foreground cyan)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base0 :foreground fg)
|
||||
|
||||
;; haskell
|
||||
(haskell-type-face :foreground violet)
|
||||
(haskell-constructor-face :foreground yellow)
|
||||
(haskell-operator-face :foreground fg)
|
||||
(haskell-literate-comment-face :foreground hor-highlight-selected)
|
||||
|
||||
;; magit
|
||||
(magit-section-heading :foreground red)
|
||||
(magit-branch-remote :foreground orange)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
;; basics
|
||||
(link :foreground yellow :inherit 'underline)
|
||||
(fringe :background bg)
|
||||
|
||||
;; evil
|
||||
(evil-ex-search :background hor-highlight-selected :foreground fg)
|
||||
(evil-ex-lazy-highlight :background hor-highlight :foreground fg)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background hor-highlight :distant-foreground nil)
|
||||
(ivy-posframe-cursor :background red :foreground base0)
|
||||
(ivy-minibuffer-match-face-2 :foreground red :weight 'bold)
|
||||
|
||||
;; company
|
||||
(company-box-background :background base0 :foreground fg)
|
||||
(company-tooltip-common :foreground red :weight 'bold)
|
||||
(company-tooltip-selection :background hor-highlight :foreground fg)
|
||||
|
||||
;; treemacs
|
||||
(treemacs-root-face :foreground fg :weight 'bold :height 1.2)
|
||||
(doom-themes-treemacs-root-face :foreground fg :weight 'ultra-bold :height 1.2)
|
||||
(doom-themes-treemacs-file-face :foreground fg)
|
||||
(treemacs-directory-face :foreground fg)
|
||||
(treemacs-git-modified-face :foreground green)
|
||||
|
||||
;; js2-mode
|
||||
(js2-object-property :foreground red)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground red)
|
||||
(rjsx-tag-bracket-face :foreground red)
|
||||
(rjsx-attr :foreground cyan :slant 'italic :weight 'medium)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-html-tag-bracket-face :foreground red)
|
||||
(web-mode-html-tag-face :foreground red)
|
||||
(web-mode-html-attr-name-face :foreground orange)
|
||||
))
|
||||
|
||||
|
||||
;;; doom-horizon-theme.el ends here
|
185
elpa/doom-themes-20210322.1750/doom-laserwave-theme.el
Normal file
185
elpa/doom-themes-20210322.1750/doom-laserwave-theme.el
Normal file
|
@ -0,0 +1,185 @@
|
|||
;;; doom-laserwave-theme.el --- inspired by VS Code laserwave -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-laserwave-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-laserwave-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-laserwave-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-laserwave
|
||||
"An clean 80's synthwave / outrun theme inspired by VS Code laserwave."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#27212E" nil nil ))
|
||||
(bg-alt '("#1B1720" nil nil ))
|
||||
(base0 '("#222228" "black" "black" ))
|
||||
(base1 '("#24262D" "#222222" "brightblack" ))
|
||||
(base2 '("#282b33" "#222233" "brightblack" ))
|
||||
(base3 '("#3E3549" "#333344" "brightblack" ))
|
||||
(base4 '("#4E415C" "#444455" "brightblack" ))
|
||||
(base5 '("#544863" "#554466" "brightblack" ))
|
||||
(base6 '("#ED60BA" "#EE66BB" "brightblack" ))
|
||||
(base7 '("#91889B" "#998899" "brightblack" ))
|
||||
(base8 '("#ECEFF4" "#EEEEFF" "white" ))
|
||||
(fg-alt '("#EEEEEE" "#EEEEEE" "brightwhite" ))
|
||||
(fg '("#FFFFFF" "#FFFFFF" "white" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#964C7B" "#964477" "red" ))
|
||||
(orange '("#FFB85B" "#FFBB55" "brightred" ))
|
||||
(green '("#74DFC4" "#77DDCC" "green" ))
|
||||
(teal '("#4D8079" "#448877" "brightgreen" ))
|
||||
(yellow '("#FFE261" "#FFEE66" "yellow" ))
|
||||
(blue '("#40B4C4" "#44BBCC" "brightblue" ))
|
||||
(dark-blue '("#336A79" "#336677" "blue" ))
|
||||
(magenta '("#EB64B9" "#EE66BB" "brightmagenta"))
|
||||
(violet '("#B381C5" "#BB88CC" "magenta" ))
|
||||
(cyan '("#B4DCE7" "#BBDDEE" "brightcyan" ))
|
||||
(dark-cyan '("#6D7E8A" "#667788" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.2))
|
||||
(selection dark-blue)
|
||||
(builtin magenta)
|
||||
(comments base7)
|
||||
(doc-comments (doom-lighten dark-cyan 0.25))
|
||||
(constants violet)
|
||||
(functions magenta)
|
||||
(keywords blue)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type yellow)
|
||||
(strings cyan)
|
||||
(variables fg)
|
||||
(numbers orange)
|
||||
(region `(,(doom-blend (car bg) (car magenta) 0.8) ,@(doom-lighten (cdr base1) 0.35)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-pad
|
||||
(when doom-laserwave-padded-modeline
|
||||
(if (integerp doom-laserwave-padded-modeline) doom-laserwave-padded-modeline 4)))
|
||||
|
||||
(modeline-fg bg-alt)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
base6)
|
||||
(modeline-bg-l
|
||||
`(,(doom-darken (car bg) 0.1) ,@(cdr base0)))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
;; Centaur tabs
|
||||
((centaur-tabs-active-bar-face :background magenta)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected
|
||||
:foreground magenta)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected
|
||||
:foreground magenta)
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments)
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background highlight)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground bg-alt)
|
||||
|
||||
(solaire-mode-line-face
|
||||
:background modeline-bg :foreground modeline-fg
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg)))
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background base6)
|
||||
(doom-modeline-info :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-urgent :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-warning :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-debug :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-buffer-minor-mode :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-project-dir :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-project-parent-dir :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-persp-name :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-modified :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-lsp-success :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :inherit 'mode-line-emphasis)
|
||||
(doom-modeline-evil-visual-state :foreground yellow)
|
||||
(doom-modeline-evil-replace-state :foreground orange)
|
||||
(doom-modeline-evil-operator-state :foreground teal)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-header-delimiter-face :foreground base7)
|
||||
(markdown-metadata-key-face :foreground base7)
|
||||
(markdown-list-face :foreground base7)
|
||||
(markdown-link-face :foreground cyan)
|
||||
(markdown-url-face :inherit 'link :foreground fg :weight 'normal)
|
||||
(markdown-italic-face :inherit 'italic :foreground magenta)
|
||||
(markdown-bold-face :inherit 'bold :foreground magenta)
|
||||
(markdown-markup-face :foreground base7)
|
||||
(markdown-gfm-checkbox-face :foreground cyan)
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground blue)
|
||||
((outline-2 &override) :foreground green)
|
||||
((outline-3 &override) :foreground teal)
|
||||
((outline-4 &override) :foreground (doom-darken blue 0.2))
|
||||
((outline-5 &override) :foreground (doom-darken green 0.2))
|
||||
((outline-6 &override) :foreground (doom-darken teal 0.2))
|
||||
((outline-7 &override) :foreground (doom-darken blue 0.4))
|
||||
((outline-8 &override) :foreground (doom-darken green 0.4))
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base2)
|
||||
((org-block-begin-line &override) :background base2)
|
||||
(org-hide :foreground hidden)
|
||||
|
||||
;; org-pomodoro
|
||||
(org-pomodoro-mode-line :inherit 'mode-line-emphasis :weight 'bold) ; unreadable otherwise
|
||||
(org-pomodoro-mode-line-overtime :inherit 'org-pomodoro-mode-line)
|
||||
(org-pomodoro-mode-line-break :inherit 'org-pomodoro-mode-line)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
(paren-face-match :foreground yellow :background (doom-darken bg 0.2) :weight 'ultra-bold)
|
||||
(ivy-current-match :background base2 :distant-foreground nil)
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
(company-box-background :foreground fg :background bg-alt))
|
||||
|
||||
)
|
||||
|
||||
;;; doom-laserwave-theme.el ends here
|
249
elpa/doom-themes-20210322.1750/doom-manegarm-theme.el
Normal file
249
elpa/doom-themes-20210322.1750/doom-manegarm-theme.el
Normal file
|
@ -0,0 +1,249 @@
|
|||
;;; doom-manegarm-theme.el -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-manegarm-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-manegarm-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-manegarm-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(defcustom doom-manegarm-muted-modeline nil
|
||||
"If non-nil, the modeline will be in a more muted tone.
|
||||
Otherwise it's in a dark green color similar to visual mode
|
||||
selections."
|
||||
:group 'doom-manegarm-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-manegarm-darker-background nil
|
||||
"If non-nil, the background color will be a bit darker.
|
||||
This also affects solaire-mode, where the background colors of
|
||||
real file buffers will now be brighter instead."
|
||||
:group 'doom-manegarm-theme
|
||||
:type 'boolean)
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-manegarm
|
||||
"A dark theme with autumn-inspired colors"
|
||||
|
||||
;; name default 256 16
|
||||
(
|
||||
(-bg '("#1c1408" nil nil ))
|
||||
(-bg-alt '("#181107" nil nil ))
|
||||
(bg (if doom-manegarm-darker-background -bg-alt -bg))
|
||||
(bg-alt (if doom-manegarm-darker-background -bg -bg-alt))
|
||||
(base0 '("#1B2229" "black" "black" ))
|
||||
(base1 '("#1c1f24" "#1c1f24" "brightblack" ))
|
||||
(base2 '("#202328" "#202328" "brightblack" ))
|
||||
(base3 '("#23272e" "#23272e" "brightblack" ))
|
||||
(base4 '("#3f444a" "#3f444a" "brightblack" ))
|
||||
(base5 '("#95836f" "#95836f" "brightblack" ))
|
||||
(base6 '("#73797e" "#73797e" "brightblack" ))
|
||||
(base7 '("#9ca0a4" "#9ca0a4" "brightblack" ))
|
||||
(base8 '("#dfdfdf" "#dfdfdf" "white" ))
|
||||
(fg '("#5b8512" "#5b8512" "brightwhite" ))
|
||||
(fg-alt '("#4f7410" "#4f7410" "white" ))
|
||||
|
||||
(grey '("#707a6a" "#707a6a" "brightblack" ))
|
||||
(red '("#ff4e00" "#ff4e00" "red" ))
|
||||
(orange '("#ff7000" "#ff7000" "brightred" ))
|
||||
(green '("#7cb518" "#7cb518" "green" ))
|
||||
(teal '("#dbc077" "#dbc077" "brightgreen" )) ;; more of a sand/beige color
|
||||
(yellow '("#ffbf00" "#ffbf00" "yellow" ))
|
||||
(blue '("#0075c4" "#0075c4" "brightblue" ))
|
||||
(dark-blue '("#0060a1" "#0060a1" "blue" ))
|
||||
(magenta '("#d72638" "#d72638" "brightmagenta"))
|
||||
(violet '("#76597b" "#76597b" "magenta" ))
|
||||
(cyan '("#898989" "#898989" "brightcyan" ))
|
||||
(dark-cyan '("#4f7410" "#4f7410" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight yellow)
|
||||
(vertical-bar (doom-darken grey 0.4))
|
||||
(selection (doom-darken dark-cyan 0.8))
|
||||
(builtin yellow)
|
||||
(comments grey)
|
||||
(doc-comments grey)
|
||||
(constants orange)
|
||||
(functions orange)
|
||||
(keywords red)
|
||||
(methods red)
|
||||
(operators yellow)
|
||||
(type green)
|
||||
(strings (doom-darken teal 0.1))
|
||||
(variables green)
|
||||
(numbers teal)
|
||||
(region (doom-darken dark-cyan 0.7))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-pad
|
||||
(when doom-manegarm-padded-modeline
|
||||
(if (integerp doom-manegarm-padded-modeline) doom-manegarm-padded-modeline 4)))
|
||||
|
||||
(modeline-fg green)
|
||||
(modeline-fg-alt vertical-bar)
|
||||
|
||||
(modeline-bg
|
||||
`(,(car (if doom-manegarm-muted-modeline (doom-darken teal 0.75) (doom-darken green 0.8)))
|
||||
,@(cdr base0)))
|
||||
(modeline-bg-l modeline-bg)
|
||||
(modeline-bg-inactive `(,(doom-darken (car bg) 0.2) ,@(cdr base0)))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg) 0.2) ,@(cdr base0))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
((line-number &override) :foreground vertical-bar)
|
||||
((line-number-current-line &override) :foreground orange)
|
||||
|
||||
(font-lock-comment-face
|
||||
:inherit 'fixed-pitch-serif
|
||||
:slant 'italic
|
||||
:foreground comments
|
||||
:background nil)
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis :foreground highlight)
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background highlight)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
(doom-modeline-project-dir :bold t :foreground orange)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background region :distant-foreground teal :weight 'normal)
|
||||
(ivy-minibuffer-match-highlight :foreground yellow)
|
||||
(ivy-minibuffer-match-face-1 :foreground green :background nil) ;; seems to be used for weird space between matches
|
||||
(ivy-minibuffer-match-face-2 :inherit 'ivy-minibuffer-match-face-1 :foreground orange)
|
||||
(ivy-minibuffer-match-face-3 :inherit 'ivy-minibuffer-match-face-2 :foreground yellow)
|
||||
(ivy-minibuffer-match-face-4 :inherit 'ivy-minibuffer-match-face-2 :foreground magenta)
|
||||
(ivy-highlight-face :foreground green)
|
||||
|
||||
;; helm
|
||||
(helm-match :inherit 'bold :foreground yellow :background nil)
|
||||
(helm-selection :inherit 'normal :background region)
|
||||
|
||||
;; which-key
|
||||
(which-func :foreground green)
|
||||
(which-key-command-description-face :foreground fg)
|
||||
(which-key-group-description-face :foreground yellow)
|
||||
(which-key-local-map-description-face :foreground yellow)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground green)
|
||||
(rainbow-delimiters-depth-4-face :foreground teal)
|
||||
(rainbow-delimiters-depth-5-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-6-face :foreground blue)
|
||||
(rainbow-delimiters-depth-7-face :foreground fg)
|
||||
(rainbow-delimiters-depth-8-face :foreground violet)
|
||||
(rainbow-delimiters-depth-9-face :foreground red)
|
||||
|
||||
;; magit
|
||||
(magit-branch-current :foreground yellow)
|
||||
(magit-branch-remote :foreground orange)
|
||||
(magit-section-heading :foreground blue :weight 'bold)
|
||||
(magit-section-heading-selection :foreground yellow :weight 'bold)
|
||||
(magit-section-secondary-heading :foreground green)
|
||||
(magit-filename :foreground green)
|
||||
(magit-diff-hunk-heading-highlight :foreground bg :background fg)
|
||||
(magit-branch-local :foreground yellow)
|
||||
(magit-diff-file-heading :weight 'regular)
|
||||
(magit-header-line :background nil :foreground blue :weight 'bold)
|
||||
|
||||
;; company
|
||||
(company-tooltip :background (doom-darken region 0.1))
|
||||
(company-tooltip-search-selection :foreground yellow)
|
||||
(company-tooltip-mouse :inherit 'company-tooltip-search-selection)
|
||||
(company-tooltip-selection :inherit 'company-tooltip-search-selection)
|
||||
(company-tooltip-annotation :foreground (doom-darken blue 0.2))
|
||||
(company-tooltip-annotation-selection :foreground blue)
|
||||
|
||||
;; navigation
|
||||
(nav-flash-face :background fg :foreground yellow)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
(markdown-code-face :background (doom-lighten base3 0.05))
|
||||
|
||||
;; UI
|
||||
(button :foreground teal :bold t :underline t)
|
||||
(custom-button :foreground teal :bold t :underline t :background bg)
|
||||
|
||||
;; evil
|
||||
(evil-ex-search :background fg :foreground bg)
|
||||
(evil-ex-lazy-highlight :background fg :foreground bg)
|
||||
|
||||
;; isearch
|
||||
(isearch :foreground bg :background fg :weight 'bold)
|
||||
|
||||
;; dired / diredfl
|
||||
(dired-directory :foreground green :bold 'bold)
|
||||
(diredfl-dir-heading :foreground yellow :weight 'bold)
|
||||
(diredfl-dir-name :foreground green :bold 'bold)
|
||||
(diredfl-dir-priv :foreground teal)
|
||||
(diredfl-number :foreground red)
|
||||
|
||||
;; lsp
|
||||
(lsp-face-highlight-read :background (doom-darken blue 0.5) :foreground yellow)
|
||||
(lsp-face-highlight-write :inherit 'lsp-face-highlight-read)
|
||||
(lsp-face-highlight-textual :inherit 'lsp-face-highlight-read)
|
||||
|
||||
;; we don't want numbers to be bold
|
||||
((highlight-numbers-number &override) :inherit 'normal :foreground numbers)
|
||||
|
||||
;; org-mode
|
||||
(org-level-1 :foreground orange :bold t)
|
||||
(org-level-2 :foreground blue :bold t)
|
||||
(org-level-3 :foreground magenta :bold t)
|
||||
(org-level-4 :foreground violet :bold t)
|
||||
(org-level-5 :foreground red :bold t)
|
||||
(org-level-6 :foreground yellow :bold t)
|
||||
(org-hide :foreground hidden)
|
||||
(org-todo :foreground strings :bold 'inherit))
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-manegarm-theme.el ends here
|
164
elpa/doom-themes-20210322.1750/doom-material-theme.el
Normal file
164
elpa/doom-themes-20210322.1750/doom-material-theme.el
Normal file
|
@ -0,0 +1,164 @@
|
|||
;;; doom-material-theme.el --- inspired by Material Theme by equinusocio -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-material-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-material-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-material-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-material
|
||||
"A dark theme inspired by Material Theme by equinusocio"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#263238" nil nil))
|
||||
(bg-alt '("#1C262B" nil nil))
|
||||
(base0 '("#171F24" "black" "black"))
|
||||
(base1 '("#1C262B" "#262626" "brightblack"))
|
||||
(base2 '("#222D32" "#303030" "brightblack"))
|
||||
(base3 '("#171F24" "#3a3a3a" "brightblack"))
|
||||
(base4 '("#314048" "#444444" "brightblack"))
|
||||
(base5 '("#37474F" "#585858" "brightblack"))
|
||||
(base6 '("#556369" "#626262" "brightblack"))
|
||||
(base7 '("#737E84" "#767676" "brightblack"))
|
||||
(base8 '("#9BA3A7" "#a8a8a8" "white"))
|
||||
(fg '("#EEFFFF" "#e4e4e4" "brightwhite"))
|
||||
(fg-alt '("#BFC7D5" "#bcbcbc" "white"))
|
||||
|
||||
(grey base5)
|
||||
|
||||
(red '("#ff5370" "#ff0000" "red"))
|
||||
(orange '("#f78c6c" "#ff5f00" "brightred"))
|
||||
(green '("#c3e88d" "#afff00" "green"))
|
||||
(teal '("#44b9b1" "#00d7af" "brightgreen"))
|
||||
(yellow '("#ffcb6b" "#ffd700" "brightyellow"))
|
||||
(blue '("#82aaff" "#5fafff" "brightblue"))
|
||||
(dark-blue '("#7986E7" "#d7ffff" "blue"))
|
||||
(magenta '("#c792ea" "#d787d7" "brightmagenta"))
|
||||
(violet '("#bb80b3" "#d787af" "magenta"))
|
||||
(cyan '("#89DDFF" "#5fd7ff" "brightcyan"))
|
||||
(dark-cyan '("#80cbc4" "#00d7af" "cyan"))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight magenta)
|
||||
(vertical-bar base2)
|
||||
(selection base4)
|
||||
(builtin blue)
|
||||
(comments base6)
|
||||
(doc-comments base6)
|
||||
(constants orange)
|
||||
(functions blue)
|
||||
(keywords cyan)
|
||||
(methods blue)
|
||||
(operators cyan)
|
||||
(type magenta)
|
||||
(strings green)
|
||||
(variables yellow)
|
||||
(numbers orange)
|
||||
(region base3)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified blue)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(modeline-bg base2)
|
||||
(modeline-bg-alt (doom-darken bg 0.01))
|
||||
(modeline-fg base8)
|
||||
(modeline-fg-alt comments)
|
||||
|
||||
(-modeline-pad
|
||||
(when doom-material-padded-modeline
|
||||
(if (integerp doom-material-padded-modeline) doom-material-padded-modeline 4))))
|
||||
|
||||
;; --- base faces ------------------------
|
||||
(((lazy-highlight &override) :background base4 :foreground fg :distant-foreground fg :bold bold)
|
||||
(doom-modeline-buffer-path :foreground green :weight 'bold)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path)
|
||||
|
||||
;; highlight-thing highlight-symbol
|
||||
(highlight-symbol-face :background region :distant-foreground fg-alt)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background region :distant-foreground fg-alt)
|
||||
|
||||
(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)))
|
||||
|
||||
(fringe :background base2)
|
||||
|
||||
;; --- major-mode faces ------------------------
|
||||
;; man-mode
|
||||
(Man-overstrike :inherit 'bold :foreground magenta)
|
||||
(Man-underline :inherit 'underline :foreground blue)
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base2)
|
||||
((org-block-background &override) :background base2)
|
||||
((org-block-begin-line &override) :background base2)
|
||||
|
||||
;; --- plugin faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; dired-k
|
||||
(dired-k-commited :foreground base4)
|
||||
(dired-k-modified :foreground vc-modified)
|
||||
(dired-k-ignored :foreground cyan)
|
||||
(dired-k-added :foreground vc-added)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background base5)
|
||||
|
||||
;; js2-mode
|
||||
(js2-jsdoc-tag :foreground magenta)
|
||||
(js2-object-property :foreground yellow)
|
||||
(js2-object-property-access :foreground cyan)
|
||||
(js2-function-param :foreground violet)
|
||||
(js2-jsdoc-type :foreground base8)
|
||||
(js2-jsdoc-value :foreground cyan)
|
||||
|
||||
;; lsp
|
||||
(lsp-headerline-breadcrumb-symbols-face :foreground base7)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground green)
|
||||
(rainbow-delimiters-depth-4-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-5-face :foreground violet)
|
||||
(rainbow-delimiters-depth-6-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-7-face :foreground blue)
|
||||
(rainbow-delimiters-depth-8-face :foreground teal)
|
||||
(rainbow-delimiters-depth-9-face :foreground dark-cyan)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground red)
|
||||
(rjsx-attr :foreground yellow :slant 'italic :weight 'medium)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background (doom-darken bg-alt 0.2) :foreground fg)))
|
||||
|
||||
(provide 'doom-material-theme)
|
289
elpa/doom-themes-20210322.1750/doom-miramare-theme.el
Normal file
289
elpa/doom-themes-20210322.1750/doom-miramare-theme.el
Normal file
|
@ -0,0 +1,289 @@
|
|||
;; doom-miramare-theme.el --- inspired by Franbach miramare -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;; Compiler pacifier
|
||||
(defvar modeline-bg)
|
||||
|
||||
;;
|
||||
(defgroup doom-miramare-theme nil
|
||||
"Options for doom-miramare."
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-miramare-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-miramare-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-miramare-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-miramare-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(def-doom-theme doom-miramare
|
||||
"A gruvbox variant with comfortable and pleasant colors."
|
||||
|
||||
;; name gui 256 16
|
||||
((bg '("#2a2426" "#2a2426" nil )) ; bg1
|
||||
(bg-alt '("#242021" "#242021" nil )) ; bg1
|
||||
(bg-alt2 '("#504945" "#504945" "brown" )) ; bg2 (for region, selection etc.)
|
||||
|
||||
(base0 '("#0d1011" "black" "black" )) ; (self-defined)
|
||||
(base1 '("#1d2021" "#1d1d1d" "brightblack")) ; bg0_h
|
||||
(base2 '("#282828" "#282828" "brightblack")) ; bg0
|
||||
(base3 '("#3c3836" "#383838" "brightblack")) ; bg1
|
||||
(base4 '("#5b5b5b" "#5c5c5c" "brightblack")) ; bg3
|
||||
(base5 '("#7c6f64" "#6f6f6f" "brightblack")) ; bg4
|
||||
(base6 '("#928374" "#909090" "brightblack")) ; gray
|
||||
(base7 '("#d5c4a1" "#cccccc" "brightblack")) ; fg2
|
||||
(base8 '("#fbf1c7" "#fbfbfb" "brightwhite")) ; fg0
|
||||
(fg '("#e6d6ac" "#e6d6ac" "brightwhite")) ; fg/fg1
|
||||
(fg-alt '("#d8caac" "#d8caac" "brightwhite")) ; fg2
|
||||
|
||||
(grey '("#5b5b5b" "#5b5b5b" "brightblack")) ; gray
|
||||
(red '("#e68183" "#e68183" "red")) ; bright-red
|
||||
(magenta '("#e68183" "#e68183" "magenta")) ; red
|
||||
(violet '("#d3a0bc" "#d3a0bc" "brightmagenta")) ; bright-purple
|
||||
(orange '("#e39b7b" "#e39b7b" "orange")) ; bright-orange
|
||||
(yellow '("#d9bb80" "#d9bb80" "yellow")) ; bright-yellow
|
||||
(teal '("#87af87" "#87af87" "green")) ; bright-aqua
|
||||
(green '("#87af87" "#87af87" "green")) ; bright-green
|
||||
(dark-green '("#678f67" "#678f67" "green")) ; green
|
||||
(blue '("#89beba" "#89beba" "brightblue")) ; bright-blue
|
||||
(dark-blue '("#458588" "#458588" "blue")) ; blue
|
||||
(cyan '("#87c095" "#87c095" "brightcyan")) ; bright-aqua
|
||||
(dark-cyan '("#67a075" "#67a075" "cyan")) ; aqua
|
||||
|
||||
;; face categories
|
||||
(highlight yellow)
|
||||
(vertical-bar grey)
|
||||
(selection bg-alt2)
|
||||
(builtin orange)
|
||||
(comments (if doom-miramare-brighter-comments magenta grey))
|
||||
(doc-comments (if doom-miramare-brighter-comments (doom-lighten magenta 0.2) (doom-lighten fg-alt 0.25)))
|
||||
(constants violet)
|
||||
(functions cyan)
|
||||
(keywords red)
|
||||
(methods cyan)
|
||||
(operators cyan)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables cyan)
|
||||
(numbers violet)
|
||||
(region bg-alt2)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
|
||||
(vc-modified (doom-darken blue 0.15))
|
||||
(vc-added (doom-darken green 0.15))
|
||||
(vc-deleted (doom-darken red 0.15))
|
||||
|
||||
;; custom categories
|
||||
(-modeline-pad
|
||||
(when doom-miramare-padded-modeline
|
||||
(if (integerp doom-miramare-padded-modeline)
|
||||
doom-miramare-padded-modeline
|
||||
4)))
|
||||
|
||||
(org-quote `(,(doom-lighten (car bg) 0.05) "#1f1f1f")))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(
|
||||
;;;;;;;; Editor ;;;;;;;;
|
||||
|
||||
;; Syntax
|
||||
(font-lock-variable-name-face :foreground cyan :italic t)
|
||||
|
||||
;; Basic
|
||||
(cursor :background "white")
|
||||
(hl-line :background bg-alt)
|
||||
((line-number &override) :foreground base5)
|
||||
((line-number-current-line &override) :background bg-alt2 :foreground fg :bold t)
|
||||
|
||||
;; Vimish-fold
|
||||
((vimish-fold-overlay &override) :inherit 'font-lock-comment-face :background bg-alt2 :weight 'light)
|
||||
((vimish-fold-mouse-face &override) :foreground "white" :background yellow :weight 'light)
|
||||
((vimish-fold-fringe &override) :foreground magenta :background magenta)
|
||||
|
||||
;;;;;;;; Doom-modeline ;;;;;;;;
|
||||
(mode-line
|
||||
:background bg-alt2 :foreground (doom-lighten fg-alt 0.25)
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color base3)))
|
||||
|
||||
(mode-line-inactive
|
||||
:background bg :foreground base4
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color base2)))
|
||||
|
||||
;; File-name
|
||||
(doom-modeline-project-dir :bold t :foreground cyan)
|
||||
(doom-modeline-buffer-path :inherit 'bold :foreground green)
|
||||
(doom-modeline-buffer-file :inherit 'bold :foreground fg)
|
||||
(doom-modeline-buffer-modified :inherit 'bold :foreground yellow)
|
||||
;; Misc
|
||||
(doom-modeline-error :background bg)
|
||||
(doom-modeline-buffer-major-mode :foreground green :bold t)
|
||||
(doom-modeline-warning :foreground red :bold t)
|
||||
(doom-modeline-info :bold t :foreground cyan)
|
||||
(doom-modeline-bar :background dark-green)
|
||||
(doom-modeline-panel :background dark-green :foreground fg)
|
||||
|
||||
;;;;;;;; Search ;;;;;;;;
|
||||
;; /find
|
||||
(isearch :foreground base0 :background orange)
|
||||
(evil-search-highlight-persist-highlight-face :background yellow)
|
||||
(lazy-highlight :background yellow :foreground base0 :distant-foreground base0 :bold bold)
|
||||
(evil-ex-substitute-replacement :foreground cyan :inherit 'evil-ex-substitute-matches)
|
||||
|
||||
;; evil-snipe
|
||||
(evil-snipe-first-match-face :foreground "white" :background yellow)
|
||||
(evil-snipe-matches-face :foreground yellow :bold t :underline t)
|
||||
|
||||
;;;;;;;; Mini-buffers ;;;;;;;;
|
||||
(minibuffer-prompt :foreground cyan)
|
||||
(solaire-hl-line-face :background bg-alt2)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background bg-alt2)
|
||||
(ivy-subdir :background nil :foreground cyan)
|
||||
(ivy-action :background nil :foreground cyan)
|
||||
(ivy-grep-line-number :background nil :foreground cyan)
|
||||
(ivy-minibuffer-match-face-1 :background nil :foreground yellow :bold t)
|
||||
(ivy-minibuffer-match-face-2 :background nil :foreground red :bold t)
|
||||
(ivy-minibuffer-match-highlight :foreground cyan)
|
||||
(counsel-key-binding :foreground cyan)
|
||||
|
||||
;; swiper
|
||||
(swiper-line-face :background bg-alt2)
|
||||
|
||||
;; ivy-posframe
|
||||
(ivy-posframe :background bg-alt)
|
||||
(ivy-posframe-border :background base1)
|
||||
|
||||
;; neotree
|
||||
(neo-root-dir-face :foreground cyan)
|
||||
(doom-neotree-dir-face :foreground cyan)
|
||||
(neo-dir-link-face :foreground cyan)
|
||||
(doom-neotree-file-face :foreground fg)
|
||||
(doom-neotree-hidden-file-face :foreground (doom-lighten fg-alt 0.25))
|
||||
(doom-neotree-media-file-face :foreground (doom-lighten fg-alt 0.25))
|
||||
(neo-expand-btn-face :foreground magenta)
|
||||
|
||||
;; dired
|
||||
(dired-directory :foreground cyan)
|
||||
(dired-marked :foreground yellow)
|
||||
(dired-symlink :foreground cyan)
|
||||
(dired-header :foreground cyan)
|
||||
|
||||
;;;;;;;; Brackets ;;;;;;;;
|
||||
;; Rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground red)
|
||||
(rainbow-delimiters-depth-2-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-3-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-4-face :foreground red)
|
||||
(rainbow-delimiters-depth-5-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-6-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-7-face :foreground red)
|
||||
;; Bracket pairing
|
||||
((show-paren-match &override) :foreground nil :background base5 :bold t)
|
||||
((show-paren-mismatch &override) :foreground nil :background "red")
|
||||
|
||||
;;;;;;;; which-key ;;;;;;;;
|
||||
(which-func :foreground cyan)
|
||||
(which-key-command-description-face :foreground fg)
|
||||
(which-key-group-description-face :foreground (doom-lighten fg-alt 0.25))
|
||||
(which-key-local-map-description-face :foreground cyan)
|
||||
|
||||
;;;;;;;; Company ;;;;;;;;
|
||||
(company-preview-common :foreground cyan)
|
||||
(company-tooltip-common :foreground cyan)
|
||||
(company-tooltip-common-selection :foreground cyan)
|
||||
(company-tooltip-annotation :foreground cyan)
|
||||
(company-tooltip-annotation-selection :foreground cyan)
|
||||
(company-scrollbar-bg :background bg-alt)
|
||||
(company-scrollbar-fg :background cyan)
|
||||
(company-tooltip-selection :background bg-alt2)
|
||||
(company-tooltip-mouse :background bg-alt2 :foreground nil)
|
||||
|
||||
;;;;;;;; Misc ;;;;;;;;
|
||||
(+workspace-tab-selected-face :background dark-green :foreground "white")
|
||||
|
||||
;; Undo tree
|
||||
(undo-tree-visualizer-active-branch-face :foreground cyan)
|
||||
(undo-tree-visualizer-current-face :foreground yellow)
|
||||
|
||||
;; General UI
|
||||
(button :foreground cyan :underline t :bold t)
|
||||
|
||||
;; ediff
|
||||
(ediff-fine-diff-A :background (doom-blend red bg 0.4) :weight 'bold)
|
||||
(ediff-current-diff-A :background (doom-blend red bg 0.2))
|
||||
|
||||
;; flycheck
|
||||
(flycheck-error :underline `(:style wave :color ,red) :background base3)
|
||||
(flycheck-warning :underline `(:style wave :color ,yellow) :background base3)
|
||||
(flycheck-info :underline `(:style wave :color ,cyan) :background base3)
|
||||
|
||||
;; helm
|
||||
(helm-swoop-target-line-face :foreground magenta :inverse-video t)
|
||||
|
||||
;; magit
|
||||
(magit-section-heading :foreground yellow :weight 'bold)
|
||||
(magit-branch-current :underline cyan :inherit 'magit-branch-local)
|
||||
(magit-diff-hunk-heading :background base3 :foreground fg-alt)
|
||||
(magit-diff-hunk-heading-highlight :background bg-alt2 :foreground fg)
|
||||
(magit-diff-context :foreground bg-alt :foreground fg-alt)
|
||||
|
||||
|
||||
;;;;;;;; Major mode faces ;;;;;;;;
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground keywords)
|
||||
|
||||
;; elisp-mode
|
||||
(highlight-quoted-symbol :foreground dark-cyan)
|
||||
|
||||
;; highlight-symbol
|
||||
(highlight-symbol-face :background (doom-lighten base3 0.03) :distant-foreground fg-alt)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background (doom-lighten base3 0.03) :distant-foreground fg-alt)
|
||||
|
||||
;; LaTeX-mode
|
||||
(font-latex-math-face :foreground dark-cyan)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-blockquote-face :inherit 'italic :foreground cyan)
|
||||
(markdown-list-face :foreground red)
|
||||
(markdown-url-face :foreground red)
|
||||
(markdown-pre-face :foreground cyan)
|
||||
(markdown-link-face :inherit 'bold :foreground cyan)
|
||||
((markdown-code-face &override) :background (doom-lighten base2 0.045))
|
||||
|
||||
;; mu4e-view
|
||||
(mu4e-header-key-face :foreground red)
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground yellow)
|
||||
((outline-2 &override) :foreground cyan)
|
||||
((outline-3 &override) :foreground cyan)
|
||||
(org-ellipsis :underline nil :foreground orange)
|
||||
(org-tag :foreground yellow :bold nil)
|
||||
((org-quote &override) :inherit 'italic :foreground base7 :background org-quote)
|
||||
(org-todo :foreground yellow :bold 'inherit)
|
||||
(org-list-dt :foreground yellow)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-html-tag-bracket-face :foreground blue)
|
||||
(web-mode-html-tag-face :foreground cyan :weight 'semi-bold)
|
||||
(web-mode-html-attr-name-face :foreground violet)
|
||||
(web-mode-json-key-face :foreground green)
|
||||
(web-mode-json-context-face :foreground cyan)
|
||||
|
||||
;; react jsx
|
||||
(rjsx-tag :foreground cyan :weight 'semi-bold)
|
||||
(rjsx-text :foreground fg)
|
||||
(rjsx-attr :foreground violet))
|
||||
;; --- extra variables --------------------
|
||||
;; ()
|
||||
)
|
||||
;;; doom-miramare-theme.el ends here
|
194
elpa/doom-themes-20210322.1750/doom-molokai-theme.el
Normal file
194
elpa/doom-themes-20210322.1750/doom-molokai-theme.el
Normal file
|
@ -0,0 +1,194 @@
|
|||
;; doom-molokai-theme.el --- inspired by Textmate's Monokai -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-molokai-theme nil
|
||||
"Options for doom-molokai."
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-molokai-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-molokai-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-molokai-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-molokai-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-molokai-comment-bg doom-molokai-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-molokai-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-molokai-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-molokai-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-molokai
|
||||
"A dark, vibrant theme inspired by Textmate's Monokai."
|
||||
|
||||
;; name gui 256 16
|
||||
((bg '("#1c1e1f" nil nil ))
|
||||
(bg-alt '("#222323" nil nil ))
|
||||
(base0 '("#1B2229" "black" "black" ))
|
||||
(base1 '("#151617" "#101010" "brightblack"))
|
||||
(base2 '("#1d1f20" "#191919" "brightblack"))
|
||||
(base3 '("#2d2e2e" "#252525" "brightblack"))
|
||||
(base4 '("#4e4e4e" "#454545" "brightblack"))
|
||||
(base5 '("#555556" "#6b6b6b" "brightblack"))
|
||||
(base6 '("#767679" "#7b7b7b" "brightblack"))
|
||||
(base7 '("#cfc0c5" "#c1c1c1" "brightblack"))
|
||||
(base8 '("#ffffff" "#ffffff" "brightwhite"))
|
||||
(fg '("#d6d6d4" "#dfdfdf" "brightwhite"))
|
||||
(fg-alt '("#556172" "#4d4d4d" "white"))
|
||||
|
||||
(grey '("#525254" "#515154" "brightblack"))
|
||||
(red '("#e74c3c" "#e74c3c" "red"))
|
||||
(orange '("#fd971f" "#fd971f" "brightred"))
|
||||
(green '("#b6e63e" "#b6e63e" "green"))
|
||||
(teal green)
|
||||
(yellow '("#e2c770" "#e2c770" "yellow"))
|
||||
(blue '("#268bd2" "#2686D6" "brightblue"))
|
||||
(dark-blue '("#727280" "#727280" "blue"))
|
||||
(magenta '("#fb2874" "#fb2874" "magenta"))
|
||||
(violet '("#9c91e4" "#9c91e4" "brightmagenta"))
|
||||
(cyan '("#66d9ef" "#66d9ef" "brightcyan"))
|
||||
(dark-cyan '("#8fa1b3" "#8FA1B3" "cyan"))
|
||||
|
||||
;; face categories
|
||||
(highlight orange)
|
||||
(vertical-bar (doom-lighten bg 0.1))
|
||||
(selection base5)
|
||||
(builtin orange)
|
||||
(comments (if doom-molokai-brighter-comments violet base5))
|
||||
(doc-comments (if doom-molokai-brighter-comments (doom-lighten violet 0.1) (doom-lighten base5 0.25)))
|
||||
(constants orange)
|
||||
(functions green)
|
||||
(keywords magenta)
|
||||
(methods cyan)
|
||||
(operators violet)
|
||||
(type cyan)
|
||||
(strings yellow)
|
||||
(variables orange)
|
||||
(numbers violet)
|
||||
(region base4)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified base4)
|
||||
(vc-added (doom-darken green 0.15))
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-molokai-brighter-modeline) ;; no effect for the moment
|
||||
(-modeline-pad
|
||||
(when doom-molokai-padded-modeline
|
||||
(if (integerp doom-molokai-padded-modeline) doom-molokai-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base4)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright base3 base3))
|
||||
(modeline-bg-inactive
|
||||
(if -modeline-bright (doom-darken base2 0.2) (doom-darken base2 0.2)))
|
||||
|
||||
(org-quote `(,(doom-lighten (car bg) 0.05) "#1f1f1f")))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((lazy-highlight :background violet :foreground base0 :distant-foreground base0 :bold bold)
|
||||
(cursor :background magenta)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color modeline-bg-inactive)))
|
||||
|
||||
;; Centaur tabs
|
||||
(centaur-tabs-active-bar-face :background green)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected :foreground green)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected :foreground green)
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background green)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'bold :foreground green)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
(doom-modeline-buffer-modified :inherit 'bold :foreground orange)
|
||||
|
||||
((line-number &override) :foreground base5 :distant-foreground nil)
|
||||
((line-number-current-line &override) :foreground base7 :distant-foreground nil)
|
||||
|
||||
(isearch :foreground base0 :background green)
|
||||
|
||||
;; ediff
|
||||
(ediff-fine-diff-A :background (doom-blend magenta bg 0.3) :weight 'bold)
|
||||
|
||||
;; evil-mode
|
||||
(evil-search-highlight-persist-highlight-face :background violet)
|
||||
|
||||
;; evil-snipe
|
||||
(evil-snipe-first-match-face :foreground base0 :background green)
|
||||
(evil-snipe-matches-face :foreground green :underline t)
|
||||
|
||||
;; flycheck
|
||||
(flycheck-error :underline `(:style wave :color ,red) :background base3)
|
||||
(flycheck-warning :underline `(:style wave :color ,yellow) :background base3)
|
||||
(flycheck-info :underline `(:style wave :color ,green) :background base3)
|
||||
|
||||
;; helm
|
||||
(helm-swoop-target-line-face :foreground magenta :inverse-video t)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background base3)
|
||||
(ivy-minibuffer-match-face-1 :background base1 :foreground base4)
|
||||
|
||||
;; neotree
|
||||
(neo-dir-link-face :foreground cyan)
|
||||
(neo-expand-btn-face :foreground magenta)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground green)
|
||||
(rainbow-delimiters-depth-4-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-5-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-6-face :foreground orange)
|
||||
(rainbow-delimiters-depth-7-face :foreground green)
|
||||
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground keywords)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-blockquote-face :inherit 'italic :foreground dark-blue)
|
||||
(markdown-list-face :foreground magenta)
|
||||
(markdown-pre-face :foreground cyan)
|
||||
(markdown-link-face :inherit 'bold :foreground blue)
|
||||
((markdown-code-face &override) :background (doom-lighten base2 0.045))
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground magenta)
|
||||
((outline-2 &override) :foreground orange)
|
||||
(org-ellipsis :foreground orange)
|
||||
(org-tag :foreground yellow :bold nil)
|
||||
((org-quote &override) :inherit 'italic :foreground base7 :background org-quote)
|
||||
(org-todo :foreground yellow :bold 'inherit)
|
||||
(org-list-dt :foreground yellow))
|
||||
|
||||
|
||||
;; --- extra variables --------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-molokai-theme.el ends here
|
203
elpa/doom-themes-20210322.1750/doom-monokai-classic-theme.el
Normal file
203
elpa/doom-themes-20210322.1750/doom-monokai-classic-theme.el
Normal file
|
@ -0,0 +1,203 @@
|
|||
;; doom-monokai-classic-theme.el --- inspired by Textmate's Monokai -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-monokai-classic-theme nil
|
||||
"Options for doom-molokai."
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-monokai-classic-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-monokai-classic-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-monokai-classic-comment-bg doom-monokai-classic-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-monokai-classic-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-monokai-classic-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-monokai-classic-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-monokai-classic
|
||||
"A dark, vibrant theme inspired by Textmate's Monokai."
|
||||
|
||||
;; name gui 256 16
|
||||
((bg '("#272822" nil nil ))
|
||||
(bg-alt '("#1D1E19" nil nil ))
|
||||
(base0 '("#1B2229" "black" "black" ))
|
||||
(base1 '("#161613" "#101010" "brightblack"))
|
||||
(base2 '("#1D1F20" "#191919" "brightblack"))
|
||||
(base3 '("#2D2E2E" "#252525" "brightblack"))
|
||||
(base4 '("#4E4E4E" "#454545" "brightblack"))
|
||||
(base5 '("#555556" "#6B6B6B" "brightblack"))
|
||||
(base6 '("#767679" "#7B7B7B" "brightblack"))
|
||||
(base7 '("#CFC0C5" "#C1C1C1" "brightblack"))
|
||||
(base8 '("#FFFFFF" "#FFFFFF" "brightwhite"))
|
||||
(fg '("#F8F8F2" "#DFDFDF" "brightwhite"))
|
||||
(fg-alt '("#556172" "#4D4D4D" "white"))
|
||||
|
||||
(grey '("#525254" "#525254" "brightblack"))
|
||||
(red '("#E74C3C" "#E74C3C" "red"))
|
||||
(orange '("#FD971F" "#FD971F" "brightred"))
|
||||
(green '("#A6E22E" "#A6E22E" "green"))
|
||||
(teal green)
|
||||
(yellow '("#E6DB74" "#E6DB74" "yellow"))
|
||||
(blue '("#268bd2" "#268bd2" "brightblue"))
|
||||
(dark-blue '("#727280" "#727280" "blue"))
|
||||
(magenta '("#F92660" "#F92660" "magenta"))
|
||||
(violet '("#9C91E4" "#9C91E4" "brightmagenta"))
|
||||
(cyan '("#66D9EF" "#66D9EF" "brightcyan"))
|
||||
(dark-cyan '("#8FA1B3" "#8FA1B3" "cyan"))
|
||||
|
||||
;; face categories
|
||||
(highlight orange)
|
||||
(vertical-bar (doom-lighten bg 0.1))
|
||||
(selection base5)
|
||||
(builtin orange)
|
||||
(comments (if doom-monokai-classic-brighter-comments violet base5))
|
||||
(doc-comments (if doom-monokai-classic-brighter-comments (doom-lighten violet 0.1) (doom-lighten base5 0.25)))
|
||||
(constants violet)
|
||||
(functions green)
|
||||
(keywords magenta)
|
||||
(methods green)
|
||||
(operators magenta)
|
||||
(type cyan)
|
||||
(strings yellow)
|
||||
(variables fg)
|
||||
(numbers violet)
|
||||
(region base4)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified base4)
|
||||
(vc-added (doom-darken green 0.15))
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-pad
|
||||
(when doom-monokai-classic-padded-modeline
|
||||
(if (integerp doom-monokai-classic-padded-modeline) doom-monokai-classic-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base4)
|
||||
|
||||
(modeline-bg base1)
|
||||
(modeline-bg-inactive (doom-darken base2 0.2))
|
||||
|
||||
(org-quote `(,(doom-lighten (car bg) 0.05) "#1f1f1f")))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((lazy-highlight :background violet :foreground base0 :distant-foreground base0 :bold bold)
|
||||
(cursor :background magenta)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color modeline-bg-inactive)))
|
||||
|
||||
;; Font lock
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:slant 'italic)
|
||||
(font-lock-doc-face
|
||||
:foreground doc-comments
|
||||
:slant 'italic)
|
||||
(font-lock-type-face
|
||||
:foreground type
|
||||
:slant 'italic)
|
||||
|
||||
;; Centaur tabs
|
||||
(centaur-tabs-selected-modified :inherit 'centaur-tabs-selected
|
||||
:background bg
|
||||
:foreground yellow)
|
||||
(centaur-tabs-unselected-modified :inherit 'centaur-tabs-unselected
|
||||
:background bg-alt
|
||||
:foreground yellow)
|
||||
(centaur-tabs-active-bar-face :background yellow)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected :foreground fg)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected :foreground fg)
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background yellow)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'bold :foreground green)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
(doom-modeline-buffer-modified :inherit 'bold :foreground orange)
|
||||
|
||||
((line-number &override) :foreground base5 :distant-foreground nil)
|
||||
((line-number-current-line &override) :foreground base7 :distant-foreground nil)
|
||||
|
||||
(isearch :foreground base0 :background green)
|
||||
|
||||
;; ediff
|
||||
(ediff-fine-diff-A :background (doom-blend magenta bg 0.3) :weight 'bold)
|
||||
|
||||
;; evil-mode
|
||||
(evil-search-highlight-persist-highlight-face :background violet)
|
||||
|
||||
;; evil-snipe
|
||||
(evil-snipe-first-match-face :foreground base0 :background green)
|
||||
(evil-snipe-matches-face :foreground green :underline t)
|
||||
|
||||
;; flycheck
|
||||
(flycheck-error :underline `(:style wave :color ,red) :background base3)
|
||||
(flycheck-warning :underline `(:style wave :color ,yellow) :background base3)
|
||||
(flycheck-info :underline `(:style wave :color ,green) :background base3)
|
||||
|
||||
;; helm
|
||||
(helm-swoop-target-line-face :foreground magenta :inverse-video t)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background base3)
|
||||
(ivy-minibuffer-match-face-1 :background base1 :foreground base4)
|
||||
|
||||
;; neotree
|
||||
(neo-dir-link-face :foreground cyan)
|
||||
(neo-expand-btn-face :foreground magenta)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground green)
|
||||
(rainbow-delimiters-depth-4-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-5-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-6-face :foreground orange)
|
||||
(rainbow-delimiters-depth-7-face :foreground green)
|
||||
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground keywords)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-blockquote-face :inherit 'italic :foreground dark-blue)
|
||||
(markdown-list-face :foreground magenta)
|
||||
(markdown-pre-face :foreground cyan)
|
||||
(markdown-link-face :inherit 'bold :foreground blue)
|
||||
((markdown-code-face &override) :background (doom-lighten base2 0.045))
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground magenta)
|
||||
((outline-2 &override) :foreground orange)
|
||||
(org-ellipsis :foreground orange)
|
||||
(org-tag :foreground yellow :bold nil)
|
||||
((org-quote &override) :inherit 'italic :foreground base7 :background org-quote)
|
||||
(org-todo :foreground yellow :bold 'inherit)
|
||||
(org-list-dt :foreground yellow))
|
||||
|
||||
|
||||
;; --- extra variables --------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-monokai-classic-theme.el ends here
|
146
elpa/doom-themes-20210322.1750/doom-monokai-pro-theme.el
Normal file
146
elpa/doom-themes-20210322.1750/doom-monokai-pro-theme.el
Normal file
|
@ -0,0 +1,146 @@
|
|||
;; doom-monokai-pro-theme.el --- Port of Monokai Pro -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-monokai-pro-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-monokai-pro-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-monokai-pro-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(def-doom-theme doom-monokai-pro
|
||||
"A port of VS Code's Monokai Pro"
|
||||
|
||||
;; name gui 256 16
|
||||
((bg '("#2D2A2E" nil nil ))
|
||||
(bg-alt '("#221F22" nil nil ))
|
||||
(base0 '("#19181A" "black" "black" ))
|
||||
(base1 '("#1B1B1B" "#1B1B1B" ))
|
||||
(base2 '("#212122" "#212122" ))
|
||||
(base3 '("#2B2B2B" "#2B2B2B" "brightblack"))
|
||||
(base4 '("#383539" "#3F4040" "brightblack"))
|
||||
(base5 '("#4C4A4D" "#5C5E5E" "brightblack"))
|
||||
(base6 '("#727072" "#757878" "brightblack"))
|
||||
(base7 '("#c1c0c0" "#969896" "brightblack"))
|
||||
(base8 '("#FCFCFA" "#FCFCFA" "white" ))
|
||||
(fg '("#FCFCFA" "#939293" "white"))
|
||||
(fg-alt '("#939293" "#A3A2A3" "white"))
|
||||
|
||||
(grey '("#727072" "#727072" "brightblack"))
|
||||
(red '("#CC6666" "#CC6666" "red"))
|
||||
(orange '("#FC9867" "#FC9867" "orange"))
|
||||
(green '("#A9DC76" "#A9DC76" "green"))
|
||||
(teal green)
|
||||
(yellow '("#FFD866" "#FFD866" "yellow"))
|
||||
(blue '("#78DCE8" "#78DCE8" "blue"))
|
||||
(dark-blue '("#81A2BE" "#81A2BE" "blue"))
|
||||
(magenta '("#FF6188" "#FF6188" "violet"))
|
||||
(violet '("#AB9DF2" "#AB9DF2" "violet"))
|
||||
(cyan blue)
|
||||
(dark-cyan dark-blue)
|
||||
|
||||
;; face categories
|
||||
(highlight base8)
|
||||
(vertical-bar (doom-lighten bg 0.1))
|
||||
(selection base5)
|
||||
(builtin blue)
|
||||
(comments grey)
|
||||
(doc-comments yellow)
|
||||
(constants violet)
|
||||
(functions green)
|
||||
(keywords magenta)
|
||||
(methods green)
|
||||
(operators magenta)
|
||||
(type blue)
|
||||
(strings yellow)
|
||||
(variables base8)
|
||||
(numbers violet)
|
||||
(region selection)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified fg-alt)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(modeline-bg bg-alt)
|
||||
(modeline-bg-alt `(,(car bg) ,@(cdr base1)))
|
||||
(modeline-fg fg-alt)
|
||||
(modeline-fg-alt comments)
|
||||
(-modeline-pad
|
||||
(when doom-monokai-pro-padded-modeline
|
||||
(if (integerp doom-monokai-pro-padded-modeline)
|
||||
doom-monokai-pro-padded-modeline
|
||||
4))))
|
||||
|
||||
;; --- faces ------------------------------
|
||||
(
|
||||
;; I-search
|
||||
(match :foreground fg :background base3)
|
||||
(isearch :inherit 'match :box `(:line-width 2 :color ,yellow))
|
||||
(lazy-highlight :inherit 'match)
|
||||
(isearch-fail :foreground red)
|
||||
|
||||
;; deadgrep
|
||||
(deadgrep-match-face :inherit 'match :box `(:line-width 2 :color ,yellow))
|
||||
|
||||
;; swiper
|
||||
(swiper-background-match-face-1 :inherit 'match :bold bold)
|
||||
(swiper-background-match-face-2 :inherit 'match)
|
||||
(swiper-background-match-face-3 :inherit 'match :foreground green)
|
||||
(swiper-background-match-face-4 :inherit 'match :bold bold :foreground green)
|
||||
(swiper-match-face-1 :inherit 'isearch :bold bold)
|
||||
(swiper-match-face-2 :inherit 'isearch)
|
||||
(swiper-match-face-3 :inherit 'isearch :foreground green)
|
||||
(swiper-match-face-4 :inherit 'isearch :bold bold :foreground green)
|
||||
(swiper-line-face :inherit 'hl-line)
|
||||
|
||||
;; Centaur tabs
|
||||
(centaur-tabs-selected :foreground yellow :background bg)
|
||||
(centaur-tabs-unselected :foreground fg-alt :background bg-alt)
|
||||
(centaur-tabs-selected-modified :foreground yellow :background bg)
|
||||
(centaur-tabs-unselected-modified :foreground fg-alt :background bg-alt)
|
||||
(centaur-tabs-active-bar-face :background yellow)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected :foreground base8)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected :foreground base8)
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background yellow)
|
||||
(doom-modeline-buffer-path :foreground blue :bold bold)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path)
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground yellow :bold 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 violet)
|
||||
(rainbow-delimiters-depth-6-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-7-face :foreground blue)
|
||||
|
||||
(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)))
|
||||
|
||||
;; treemacs
|
||||
(treemacs-file-face :foreground fg-alt)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base2 :foreground fg-alt))
|
||||
|
||||
;; --- variables --------------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
(provide 'doom-monokai-pro-theme)
|
||||
;;; doom-monokai-pro-theme.el ends here
|
339
elpa/doom-themes-20210322.1750/doom-monokai-spectrum-theme.el
Normal file
339
elpa/doom-themes-20210322.1750/doom-monokai-spectrum-theme.el
Normal file
|
@ -0,0 +1,339 @@
|
|||
;; doom-monokai-spectrum-theme.el --- Spectrum filter of Monokai Pro -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-monokai-spectrum-theme nil
|
||||
"Options for doom-molokai."
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-monokai-spectrum-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-monokai-spectrum-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-monokai-spectrum-comment-bg doom-monokai-spectrum-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-monokai-spectrum-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-monokai-spectrum-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-monokai-spectrum-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-monokai-spectrum
|
||||
"A dark, vibrant theme inspired by Textmate's Monokai."
|
||||
|
||||
;; name gui 256 16
|
||||
((bg '("#222222" nil nil ))
|
||||
(bg-alt '("#191919" nil nil ))
|
||||
(base0 '("#131313" "#121212" "black" ))
|
||||
(base1 '("#191919" "#1c1c1c" "black" ))
|
||||
(base2 '("#2d2c2d" "#262626" "brightblack" ))
|
||||
(base3 '("#363537" "#3a3a3a" "brightblack" ))
|
||||
(base4 '("#525053" "#585858" "brightblack" ))
|
||||
(base5 '("#585858" "#585858" "brightblack" ))
|
||||
(base6 '("#69676c" "#6c6c6c" "brightblack" ))
|
||||
(base7 '("#8b888f" "#8a8a8a" "brightblack" ))
|
||||
(base8 '("#bab6c0" "#bcbcbc" "white" ))
|
||||
(fg '("#f7f1ff" "#ffffff" "brightwhite" ))
|
||||
(fg-alt '("#c6c6c6" "#c6c6c6" "white" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#fc618d" "#ff69bf" "red" ))
|
||||
(orange '("#fd9353" "#ff7f50" "brightred" ))
|
||||
(green '("#7bd88f" "#90ee90" "green" ))
|
||||
(yellow '("#fce566" "#f0e68c" "yellow" ))
|
||||
(violet '("#948ae3" "#9370db" "magenta" ))
|
||||
(cyan '("#5ad4e6" "#40e0d0" "brightcyan" ))
|
||||
(magenta cyan)
|
||||
(blue cyan)
|
||||
(dark-blue cyan)
|
||||
(teal cyan)
|
||||
(dark-cyan cyan)
|
||||
|
||||
;; face categories
|
||||
(highlight yellow)
|
||||
(vertical-bar (doom-lighten bg 0.1))
|
||||
(selection base2)
|
||||
(builtin violet)
|
||||
(comments (if doom-monokai-spectrum-brighter-comments violet base6))
|
||||
(doc-comments (if doom-monokai-spectrum-brighter-comments (doom-lighten violet 0.1) (doom-lighten base6 0.25)))
|
||||
(constants violet)
|
||||
(functions green)
|
||||
(keywords magenta)
|
||||
(methods green)
|
||||
(operators red)
|
||||
(type cyan)
|
||||
(strings yellow)
|
||||
(variables fg)
|
||||
(numbers violet)
|
||||
(region base2)
|
||||
(error red)
|
||||
(warning orange)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-pad
|
||||
(when doom-monokai-spectrum-padded-modeline
|
||||
(if (integerp doom-monokai-spectrum-padded-modeline) doom-monokai-spectrum-padded-modeline 4)))
|
||||
|
||||
|
||||
(org-quote `(,(doom-lighten (car bg) 0.05) "#1f1f1f")))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((cursor :background fg)
|
||||
(default :foreground fg :background bg)
|
||||
|
||||
;; I-search
|
||||
(match :foreground fg :background base3)
|
||||
(isearch :inherit 'match :box `(:line-width 2 :color ,yellow))
|
||||
(lazy-highlight :inherit 'match)
|
||||
(isearch-fail :foreground red)
|
||||
|
||||
;; deadgrep
|
||||
(deadgrep-match-face :inherit 'match :box `(:line-width 2 :color ,yellow))
|
||||
|
||||
;; mode-line
|
||||
(mode-line :background base3 :foreground fg
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color red)))
|
||||
(mode-line-inactive :background bg :foreground fg
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color red)))
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background yellow)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'bold :foreground green)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
(doom-modeline-buffer-modified :inherit 'bold :foreground orange)
|
||||
|
||||
;; Centaur tabs
|
||||
(centaur-tabs-selected-modified :inherit 'centaur-tabs-selected :foreground yellow)
|
||||
(centaur-tabs-unselected-modified :inherit 'centaur-tabs-unselected :foreground yellow)
|
||||
(centaur-tabs-active-bar-face :background yellow)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected :foreground fg)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected :foreground fg)
|
||||
|
||||
;; line-numbers
|
||||
((line-number &override) :foreground base4 :distant-foreground nil)
|
||||
((line-number-current-line &override) :foreground base7 :distant-foreground nil)
|
||||
|
||||
;; current line
|
||||
(hl-line :background base3)
|
||||
|
||||
;; ivy
|
||||
(ivy-action :foreground violet)
|
||||
(ivy-confirm-face :foreground green)
|
||||
(ivy-current-match :foreground bg :background yellow)
|
||||
(ivy-cursor :foreground bg :background fg)
|
||||
(ivy-grep-info :foreground red)
|
||||
(ivy-grep-line-number :foreground red)
|
||||
(ivy-highlight-face :background base3 :foreground fg)
|
||||
(ivy-match-required-face :foreground red)
|
||||
(ivy-minibuffer-match-face-1 :foreground yellow)
|
||||
(ivy-minibuffer-match-face-2 :foreground yellow :bold bold)
|
||||
(ivy-minibuffer-match-face-3 :foreground green)
|
||||
(ivy-minibuffer-match-face-4 :foreground green :bold bold)
|
||||
(ivy-minibuffer-match-highlight :foreground base6 :background base3)
|
||||
(ivy-modified-buffer :foreground fg)
|
||||
(ivy-modified-outside-buffer :foreground fg)
|
||||
(ivy-org :foreground base3 :italic italic)
|
||||
(ivy-prompt-match :foreground bg :background yellow)
|
||||
(ivy-remote :foreground violet)
|
||||
(ivy-separator :foreground base3)
|
||||
(ivy-subdir :foreground green)
|
||||
(ivy-virtual :foreground violet)
|
||||
(ivy-yanked-word :foreground base6 :background base3)
|
||||
|
||||
;; swiper
|
||||
(swiper-background-match-face-1 :inherit 'match :bold bold)
|
||||
(swiper-background-match-face-2 :inherit 'match)
|
||||
(swiper-background-match-face-3 :inherit 'match :foreground green)
|
||||
(swiper-background-match-face-4 :inherit 'match :bold bold :foreground green)
|
||||
(swiper-match-face-1 :inherit 'isearch :bold bold)
|
||||
(swiper-match-face-2 :inherit 'isearch)
|
||||
(swiper-match-face-3 :inherit 'isearch :foreground green)
|
||||
(swiper-match-face-4 :inherit 'isearch :bold bold :foreground green)
|
||||
(swiper-line-face :inherit 'hl-line)
|
||||
|
||||
;;; doom-dashboard
|
||||
(doom-dashboard-menu-title :foreground yellow)
|
||||
|
||||
;; ediff
|
||||
(ediff-fine-diff-A :background (doom-blend red bg 0.3) :bold 'bold)
|
||||
|
||||
;; evil-mode
|
||||
(evil-search-highlight-persist-highlight-face :background violet)
|
||||
|
||||
;; evil-snipe
|
||||
(evil-snipe-first-match-face :foreground base0 :background green)
|
||||
(evil-snipe-matches-face :foreground green :underline t)
|
||||
|
||||
;; flycheck
|
||||
(flycheck-error :underline `(:style wave :color ,red) :background base3)
|
||||
(flycheck-warning :underline `(:style wave :color ,yellow) :background base3)
|
||||
(flycheck-info :underline `(:style wave :color ,green) :background base3)
|
||||
|
||||
;;; git-gutter
|
||||
;; (git-gutter:added :inherit vc-added)
|
||||
;; (git-gutter:deleted :inherit vc-deleted)
|
||||
;; (git-gutter:modfied :inherit vc-modified)
|
||||
;; (git-gutter:separator :foreground cyan)
|
||||
;; (git-gutter:unchanged :foreground yellow)
|
||||
;; (git-gutter-fr:added :inherit git-gutter:added)
|
||||
;; (git-gutter-fr:deleted :inherit git-gutter:deleted)
|
||||
;; (git-gutter-fr:modfied :interit git-gutter:modified)
|
||||
|
||||
;; helm
|
||||
(helm-swoop-target-line-face :foreground red :inverse-video t)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background base3)
|
||||
(ivy-minibuffer-match-face-1 :background base2 :foreground base4)
|
||||
|
||||
;; neotree
|
||||
(neo-dir-link-face :foreground cyan)
|
||||
(neo-expand-btn-face :foreground red)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground red)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground green)
|
||||
(rainbow-delimiters-depth-4-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-5-face :foreground red)
|
||||
(rainbow-delimiters-depth-6-face :foreground orange)
|
||||
(rainbow-delimiters-depth-7-face :foreground green)
|
||||
|
||||
;; show-paren-mode
|
||||
(show-paren-match :bold bold :foreground green)
|
||||
(show-paren-mismatch :bold bold :foreground red)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground keywords)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-blockquote-face :inherit 'italic :foreground dark-blue)
|
||||
(markdown-list-face :foreground red)
|
||||
(markdown-pre-face :foreground cyan)
|
||||
(markdown-link-face :inherit 'bold :foreground blue)
|
||||
((markdown-code-face &override) :background (doom-lighten base2 0.045))
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground yellow)
|
||||
((outline-2 &override) :foreground blue)
|
||||
((outline-3 &override) :foreground green)
|
||||
((outline-4 &override) :foreground fg)
|
||||
((outline-5 &override) :inherit 'outline-4)
|
||||
((outline-6 &override) :inherit 'outline-4)
|
||||
((outline-7 &override) :inherit 'outline-4)
|
||||
((outline-8 &override) :inherit 'outline-4)
|
||||
(org-ellipsis :foreground orange)
|
||||
(org-tag :foreground yellow :bold nil)
|
||||
((org-quote &override) :inherit 'italic :foreground base7 :background org-quote)
|
||||
(org-todo :foreground yellow :bold 'inherit)
|
||||
(org-list-dt :foreground yellow)
|
||||
|
||||
;; php-mode
|
||||
(php-php-tag :foreground orange)
|
||||
(php-function-name :foreground green)
|
||||
(php-function-call :foreground green)
|
||||
(php-string :foreground yellow)
|
||||
(php-keyword :foreground blue)
|
||||
(php-builtin :foreground violet)
|
||||
(php-method-call :foreground green)
|
||||
(php-static-method-call :foreground green)
|
||||
(php-variable-name :foreground fg)
|
||||
(php-property-name :foreground fg)
|
||||
(php-variable-sigil :foreground base8)
|
||||
(php-operator :foreground red)
|
||||
(php-paamayim-nekudotayim :foreground red)
|
||||
(php-type :foreground blue :italic italic)
|
||||
(php-class :foreground red)
|
||||
(php-constant :foreground violet)
|
||||
(php-constant-assign :foreground blue)
|
||||
(php-magical-constant :foreground violet)
|
||||
(php-$this :foreground base8 :italic italic)
|
||||
(php-$this-sigil :foreground base8 :italic italic)
|
||||
(php-errorcontrol-op :foreground red)
|
||||
(php-doc-annotation-tag :foreground blue)
|
||||
(php-doc-variable-sigil :foreground base6)
|
||||
(php-doc-$this :foreground base6)
|
||||
(php-doc-$this-sigil :foreground base6)
|
||||
(php-doc-class-name :foreground base6)
|
||||
|
||||
;; As soon as https://github.com/emacs-php/php-mode/pull/606
|
||||
;; is merged these can be uncommented.
|
||||
;; (php-class-declaration-spec :foreground red)
|
||||
;; (php-class-modifier :foreground red)
|
||||
;; (php-namespace-declaration :foreground red)
|
||||
;; (php-import-declaration :foreground red)
|
||||
;; (php-method-modifier :foreground red :italic italic)
|
||||
;; (php-method-access :foreground red :italic italic)
|
||||
;; (php-method-static :foreground red :italic italic)
|
||||
;; (php-property-access :foreground red :italic italic)
|
||||
;; (php-property-const :foreground red :italic italic)
|
||||
;; (php-property-static :foreground red :italic italic)
|
||||
;; (php-block-delimiter :foreground base7)
|
||||
;; (php-flow-control-statement :foreground red)
|
||||
;; (php-block-statement :foreground red)
|
||||
;; (php-include-statement :foreground green)
|
||||
;; (php-constant-keyword :foreground violet)
|
||||
;; (php-number :foreground violet)
|
||||
;; (php-string-quote :foreground base7)
|
||||
;; (php-type-operator :foreground red)
|
||||
;; (php-print-statement :foreground green)
|
||||
;; (php-return-type-colon :foreground red)
|
||||
;; (php-function-keyword :foreground blue :italic italic)
|
||||
|
||||
;; term-mode
|
||||
(term-color-black :foreground base3)
|
||||
(term-color-blue :foreground blue)
|
||||
(term-color-cyan :foreground violet)
|
||||
(term-color-green :foreground green)
|
||||
(term-color-magenta :foreground red)
|
||||
(term-color-red :foreground red)
|
||||
(term-color-white :foreground fg)
|
||||
(term-color-yellow :foreground yellow)
|
||||
|
||||
;; lsp-mode
|
||||
(lsp-face-highlight-read :background base3)
|
||||
(lsp-face-highlight-textual :background base3)
|
||||
(lsp-face-highlight-write :background base4)
|
||||
|
||||
;; lsp-ui-peek
|
||||
;; HIGHLY recommended: (setq lsp-ui-peek-fontify 'always)
|
||||
(lsp-ui-peek-header :foreground fg :background base5)
|
||||
(lsp-ui-peek-footer :inherit 'lsp-ui-peek-header)
|
||||
(lsp-ui-peek-selection :foreground bg :background yellow)
|
||||
(lsp-ui-peek-list :background base3)
|
||||
(lsp-ui-peek-peek :inherit 'lsp-ui-peek-list)
|
||||
(lsp-ui-peek-highlight :inherit 'isearch)
|
||||
(lsp-ui-peek-filename :foreground base8 :bold bold)
|
||||
|
||||
;;; web-mode
|
||||
;;; html
|
||||
(web-mode-html-tag-face :foreground red)
|
||||
(web-mode-html-tag-bracket-face :foreground base7)
|
||||
(web-mode-html-attr-name-face :foreground cyan :italic italic)
|
||||
(web-mode-html-attr-equal-face :inherit 'web-mode-html-tag-bracket-face)
|
||||
|
||||
;;; css
|
||||
;;; Apparently web-mode has no face for values of css properties.
|
||||
(web-mode-css-selector-face :foreground green)
|
||||
(web-mode-css-property-name-face :foreground base7)
|
||||
|
||||
)
|
||||
;; --- extra variables --------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-monokai-spectrum-theme.el ends here
|
318
elpa/doom-themes-20210322.1750/doom-moonlight-theme.el
Normal file
318
elpa/doom-themes-20210322.1750/doom-moonlight-theme.el
Normal file
|
@ -0,0 +1,318 @@
|
|||
;;; doom-moonlight-theme.el --- inspired by VS code's Moonlight -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-moonlight-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-moonlight-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-moonlight-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-moonlight
|
||||
"A dark theme inspired by VS code's Moonlight"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#212337" "#212337" "black"))
|
||||
(bg-alt '("#191a2a" "#191a2a" "black"))
|
||||
(base0 '("#161a2a" "#161a2a" "black"))
|
||||
(base1 '("#191a2a" "#191a2a" "brightblack"))
|
||||
(base2 '("#1e2030" "#1e2030" "brightblack"))
|
||||
(base3 '("#222436" "#222436" "brightblack"))
|
||||
(base4 '("#2f334d" "#2f334d" "brightblack"))
|
||||
(base5 '("#444a73" "#444a73" "brightblack"))
|
||||
(base6 '("#828bb8" "#828bb8" "brightblack"))
|
||||
(base7 '("#a9b8e8" "#a9b8e8" "brightblack"))
|
||||
(base8 '("#b4c2f0" "#b4c2f0" "white"))
|
||||
(indigo '("#7a88cf" "#7a88cf" "brightblack"))
|
||||
(region '("#383e5c" "#383e5c" "brightblack"))
|
||||
(fg '("#c8d3f5" "#c8d3f5" "brightwhite"))
|
||||
(fg-alt '("#b4c2f0" "#b4c2f0" "white"))
|
||||
|
||||
(grey base5)
|
||||
|
||||
(dark-red '("#ff5370" "#ff5370" "red"))
|
||||
(red '("#ff757f" "#ff757f" "red"))
|
||||
(light-red '("#ff98a4" "#ff98a4" "brightred"))
|
||||
(orange '("#ff995e" "#ff995e" "brightred"))
|
||||
(green '("#c3e88d" "#c3e88d" "green"))
|
||||
(dark-teal '("#4fd6be" "#4fd6be" "green"))
|
||||
(teal '("#77e0c6" "#77e0c6" "brightgreen"))
|
||||
(light-teal '("#7af8ca" "#7af8ca" "brightgreen"))
|
||||
(yellow '("#ffc777" "#ffc777" "brightyellow"))
|
||||
(blue '("#82aaff" "#82aaff" "brightblue"))
|
||||
(dark-blue '("#4976eb" "#4976eb" "brightblue"))
|
||||
(light-blue '("#50c4fa" "#50c4fa" "blue"))
|
||||
(light-magenta '("#baacff" "#baacff" "brightmagenta"))
|
||||
(magenta '("#c099ff" "#c099ff" "brightmagenta"))
|
||||
(violet '("#f989d3" "#f989d3" "magenta"))
|
||||
(light-pink '("#fca7ea" "#fca7ea" "magenta"))
|
||||
(pink '("#f3c1ff" "#f3c1ff" "magenta"))
|
||||
(cyan '("#b4f9f8" "#b4f9f8" "brightcyan"))
|
||||
(dark-cyan '("#86e1fc" "#86e1fc" "cyan"))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar base0)
|
||||
(line-highlight base4)
|
||||
(selection region)
|
||||
(builtin magenta)
|
||||
(comments indigo)
|
||||
(doc-comments (doom-lighten comments 0.25))
|
||||
(constants orange)
|
||||
(functions blue)
|
||||
(keywords magenta)
|
||||
(methods red)
|
||||
(operators dark-cyan)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables light-red)
|
||||
(numbers orange)
|
||||
(region region)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified blue)
|
||||
(vc-added teal)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(modeline-bg (doom-darken base2 0.1))
|
||||
(modeline-bg-alt (doom-darken bg 0.1))
|
||||
(modeline-fg base8)
|
||||
(modeline-fg-alt comments)
|
||||
|
||||
(-modeline-pad
|
||||
(when doom-moonlight-padded-modeline
|
||||
(if (integerp doom-moonlight-padded-modeline) doom-moonlight-padded-modeline 4))))
|
||||
|
||||
;; --- base faces ------------------------
|
||||
(((lazy-highlight &override) :background base4 :foreground fg :distant-foreground fg)
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
(doom-modeline-buffer-file :foreground base7)
|
||||
(doom-modeline-icon-inactive :foreground indigo)
|
||||
(doom-modeline-evil-normal-state :foreground dark-cyan)
|
||||
(doom-modeline-evil-insert-state :foreground blue)
|
||||
(doom-modeline-project-dir :foreground light-teal)
|
||||
(doom-modeline-buffer-path :foreground blue)
|
||||
(doom-modeline-buffer-modified :inherit 'bold :foreground yellow)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path)
|
||||
|
||||
(hl-line :background line-highlight)
|
||||
|
||||
(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)))
|
||||
|
||||
(tooltip :background base0 :foreground fg)
|
||||
|
||||
(fringe :background base2)
|
||||
|
||||
((line-number &override) :foreground base5 :background (doom-darken bg 0.06))
|
||||
((line-number-current-line &override) :foreground fg :background line-highlight)
|
||||
((linum &inherit line-number))
|
||||
|
||||
(font-lock-keyword-face :foreground keywords)
|
||||
(font-lock-comment-face :foreground comments)
|
||||
(font-lock-doc-face :foreground doc-comments)
|
||||
|
||||
;; message
|
||||
(message-header-name :foreground green)
|
||||
(message-header-subject :foreground highlight :weight 'bold)
|
||||
(message-header-to :foreground highlight :weight 'bold)
|
||||
(message-header-cc :inherit 'message-header-to :foreground (doom-darken highlight 0.15))
|
||||
(message-header-other :foreground violet)
|
||||
(message-header-newsgroups :foreground yellow)
|
||||
(message-header-xheader :foreground doc-comments)
|
||||
(message-separator :foreground comments)
|
||||
(message-mml :foreground comments :slant 'italic)
|
||||
(message-cited-text :foreground magenta)
|
||||
|
||||
;; --- major-mode faces ------------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; nix-mode
|
||||
(nix-attribute-face :foreground blue)
|
||||
(nix-builtin-face :foreground dark-teal)
|
||||
|
||||
;; man-mode
|
||||
(Man-overstrike :inherit 'bold :foreground magenta)
|
||||
(Man-underline :inherit 'underline :foreground blue)
|
||||
|
||||
;; lsp-mode
|
||||
(lsp-face-highlight-read :background region)
|
||||
(lsp-face-highlight-textual :background region)
|
||||
(lsp-face-highlight-write :background region)
|
||||
(lsp-face-semhl-type-primative :foreground orange)
|
||||
(lsp-face-semhl-method :foreground magenta)
|
||||
|
||||
;; js2-mode
|
||||
(js2-jsdoc-tag :foreground magenta)
|
||||
(js2-object-property :foreground dark-teal)
|
||||
(js2-object-property-access :foreground fg-alt)
|
||||
(js2-function-param :foreground pink)
|
||||
(js2-jsdoc-type :foreground base8)
|
||||
(js2-jsdoc-value :foreground cyan)
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground light-blue)
|
||||
((outline-2 &override) :foreground dark-cyan)
|
||||
((outline-3 &override) :foreground light-red)
|
||||
((outline-4 &override) :foreground blue)
|
||||
((outline-5 &override) :foreground magenta)
|
||||
((outline-6 &override) :foreground red)
|
||||
((outline-7 &override) :foreground violet)
|
||||
((org-block &override) :background base2)
|
||||
((org-block-background &override) :background base2)
|
||||
((org-block-begin-line &override) :background base2)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground violet)
|
||||
(rjsx-attr :foreground yellow :slant 'italic :weight 'medium)
|
||||
|
||||
;; --- plugin faces -------------------
|
||||
;; all-the-icons
|
||||
(all-the-icons-red :foreground red)
|
||||
(all-the-icons-red-alt :foreground red)
|
||||
(all-the-icons-lred :foreground light-red)
|
||||
(all-the-icons-dred :foreground dark-red)
|
||||
(all-the-icons-green :foreground teal)
|
||||
(all-the-icons-green-alt :foreground teal)
|
||||
(all-the-icons-lgreen :foreground green)
|
||||
(all-the-icons-dgreen :foreground dark-teal)
|
||||
(all-the-icons-yellow :foreground yellow)
|
||||
(all-the-icons-yellow-alt :foreground yellow)
|
||||
(all-the-icons-lyellow :foreground (doom-lighten yellow 0.3))
|
||||
(all-the-icons-dyellow :foreground orange)
|
||||
(all-the-icons-orange :foreground orange)
|
||||
(all-the-icons-orange-alt :foreground orange)
|
||||
(all-the-icons-lorange :foreground orange)
|
||||
(all-the-icons-dorange :foreground orange)
|
||||
(all-the-icons-blue :foreground blue)
|
||||
(all-the-icons-blue-alt :foreground teal)
|
||||
(all-the-icons-lblue :foreground (doom-lighten blue 0.3))
|
||||
(all-the-icons-dblue :foreground (doom-darken blue 0.1))
|
||||
(all-the-icons-maroon :foreground magenta)
|
||||
(all-the-icons-maroon-alt :foreground magenta)
|
||||
(all-the-icons-lmaroon :foreground light-magenta)
|
||||
(all-the-icons-dmaroon :foreground magenta)
|
||||
(all-the-icons-purple :foreground magenta)
|
||||
(all-the-icons-purple-alt :foreground magenta)
|
||||
(all-the-icons-lpurple :foreground light-magenta)
|
||||
(all-the-icons-dpurple :foreground magenta)
|
||||
(all-the-icons-cyan :foreground dark-cyan)
|
||||
(all-the-icons-cyan-alt :foreground dark-cyan)
|
||||
(all-the-icons-lcyan :foreground (doom-lighten dark-cyan 0.3))
|
||||
(all-the-icons-dcyan :foreground dark-cyan)
|
||||
(all-the-icons-pink :foreground pink)
|
||||
(all-the-icons-pink-alt :foreground pink)
|
||||
(all-the-icons-lpink :foreground light-pink)
|
||||
(all-the-icons-dpink :foreground pink)
|
||||
(all-the-icons-silver :foreground (doom-lighten grey 0.2))
|
||||
(all-the-icons-silver-alt :foreground (doom-lighten grey 0.2))
|
||||
(all-the-icons-lsilver :foreground (doom-lighten grey 0.4))
|
||||
(all-the-icons-dsilver :foreground grey)
|
||||
|
||||
;; all-the-icons-dired
|
||||
(all-the-icons-dired-dir-face :foreground indigo)
|
||||
|
||||
;; company
|
||||
(company-tooltip :inherit 'tooltip)
|
||||
(company-tooltip-common :foreground highlight)
|
||||
|
||||
;; company-box
|
||||
(company-box-annotation :foreground base7)
|
||||
|
||||
;; doom-dashboard
|
||||
(doom-dashboard-menu-desc :foreground dark-cyan)
|
||||
(doom-dashboard-menu-tile :foreground dark-teal)
|
||||
|
||||
;; diredfl
|
||||
(diredfl-date-time :foreground blue)
|
||||
(diredfl-file-name :foreground base7)
|
||||
(diredfl-file-suffix :foreground base6)
|
||||
(diredfl-symlink :foreground dark-cyan)
|
||||
|
||||
;; dired+
|
||||
(diredp-number :foreground orange)
|
||||
|
||||
;; dired-k
|
||||
(dired-k-commited :foreground base4)
|
||||
(dired-k-modified :foreground vc-modified)
|
||||
(dired-k-ignored :foreground cyan)
|
||||
(dired-k-added :foreground vc-added)
|
||||
|
||||
;; magit
|
||||
(magit-filename :foreground teal)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-header-face :inherit 'bold :foreground yellow)
|
||||
(markdown-header-delimiter-face :inherit 'markdown-header-face)
|
||||
(markdown-metadata-key-face :foreground magenta :inherit 'italic)
|
||||
(markdown-list-face :foreground red)
|
||||
(markdown-url-face :inherit 'underline :foreground orange)
|
||||
(markdown-gfm-checkbox-face :foreground blue)
|
||||
(markdown-blockquote-face :inherit 'italic :foreground fg)
|
||||
(mmm-default-submode-face :background base1)
|
||||
|
||||
;; nav-flash
|
||||
(nav-flash-face :background region)
|
||||
|
||||
;; ivy-posframe
|
||||
(ivy-posframe :background base0)
|
||||
(ivy-posframe-border :background base0)
|
||||
|
||||
;; popup
|
||||
(popup-face :inherit 'tooltip)
|
||||
(popup-selection-face :inherit 'tooltip)
|
||||
|
||||
;; pos-tip
|
||||
(popup :inherit 'tooltip)
|
||||
(popup-tip-face :inherit 'tooltip)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground light-red)
|
||||
(rainbow-delimiters-depth-4-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-5-face :foreground violet)
|
||||
(rainbow-delimiters-depth-6-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-7-face :foreground blue)
|
||||
(rainbow-delimiters-depth-8-face :foreground teal)
|
||||
(rainbow-delimiters-depth-9-face :foreground dark-cyan)
|
||||
|
||||
;; treemacs
|
||||
(treemacs-directory-face :foreground blue)
|
||||
(treemacs-git-modified-face :foreground blue)
|
||||
|
||||
;; workspaces
|
||||
(+workspace-tab-selected-face :background region :foreground blue)
|
||||
|
||||
;; which-key
|
||||
(which-func :foreground blue)
|
||||
(which-key-command-description-face :foreground fg)
|
||||
(which-key-group-description-face :foreground magenta)
|
||||
(which-key-local-map-description-face :foreground cyan)))
|
||||
|
||||
|
||||
;;; doom-moonlight-theme.el ends here
|
189
elpa/doom-themes-20210322.1750/doom-nord-light-theme.el
Normal file
189
elpa/doom-themes-20210322.1750/doom-nord-light-theme.el
Normal file
|
@ -0,0 +1,189 @@
|
|||
;;; doom-nord-light-theme.el --- inspired by Nord -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-nord-light-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-nord-light-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-nord-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-nord-light-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-nord-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-nord-light-comment-bg doom-nord-light-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-nord-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-nord-light-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-nord-light-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(defcustom doom-nord-light-region-highlight t
|
||||
"Determines the selection highlight style. Can be 'frost, 'snowstorm or t
|
||||
(default)."
|
||||
:group 'doom-nord-light-theme
|
||||
:type 'symbol)
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-nord-light
|
||||
"A light theme inspired by Nord-Light."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#E5E9F0" nil nil))
|
||||
(bg-alt '("#D8DEE9" nil nil))
|
||||
(base0 '("#F0F4FC" "black" "black"))
|
||||
(base1 '("#E3EAF5" "#1e1e1e" "brightblack"))
|
||||
(base2 '("#D8DEE9" "#2e2e2e" "brightblack"))
|
||||
(base3 '("#C2D0E7" "#262626" "brightblack"))
|
||||
(base4 '("#B8C5DB" "#3f3f3f" "brightblack"))
|
||||
(base5 '("#AEBACF" "#525252" "brightblack"))
|
||||
(base6 '("#A1ACC0" "#6b6b6b" "brightblack"))
|
||||
(base7 '("#60728C" "#979797" "brightblack"))
|
||||
(base8 '("#485163" "#dfdfdf" "white"))
|
||||
(fg '("#3B4252" "#2d2d2d" "white"))
|
||||
(fg-alt '("#2E3440" "#bfbfbf" "brightwhite"))
|
||||
|
||||
(grey base4)
|
||||
(red '("#99324B" "#ff6655" "red"))
|
||||
(orange '("#AC4426" "#dd8844" "brightred"))
|
||||
(green '("#4F894C" "#99bb66" "green"))
|
||||
(teal '("#29838D" "#44b9b1" "brightgreen"))
|
||||
(yellow '("#9A7500" "#ECBE7B" "yellow"))
|
||||
(blue '("#3B6EA8" "#51afef" "brightblue"))
|
||||
(dark-blue '("#5272AF" "#2257A0" "blue"))
|
||||
(magenta '("#97365B" "#c678dd" "magenta"))
|
||||
(violet '("#842879" "#a9a1e1" "brightmagenta"))
|
||||
(cyan '("#398EAC" "#46D9FF" "brightcyan"))
|
||||
(dark-cyan '("#2C7088" "#5699AF" "cyan"))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight (doom-blend blue bg 0.8))
|
||||
(vertical-bar (doom-darken bg 0.15))
|
||||
(selection (doom-blend blue bg 0.5))
|
||||
(builtin teal)
|
||||
(comments (if doom-nord-light-brighter-comments dark-cyan (doom-darken base5 0.2)))
|
||||
(doc-comments (doom-darken (if doom-nord-light-brighter-comments dark-cyan base5) 0.25))
|
||||
(constants magenta)
|
||||
(functions teal)
|
||||
(keywords blue)
|
||||
(methods teal)
|
||||
(operators blue)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables violet)
|
||||
(numbers magenta)
|
||||
(region (pcase doom-nord-light-region-highlight
|
||||
((\` frost) (doom-lighten teal 0.5))
|
||||
((\` snowstorm) base0)
|
||||
(_ base4)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-nord-light-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-nord-light-padded-modeline
|
||||
(if (integerp doom-nord-light-padded-modeline) doom-nord-light-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base6)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-blend bg blue 0.7)
|
||||
`(,(doom-darken (car bg) 0.03) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-blend bg blue 0.7)
|
||||
`(,(doom-darken (car bg) 0.02) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.01))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(((region &override)
|
||||
:foreground
|
||||
(when (memq doom-nord-light-region-highlight '(frost snowstorm))
|
||||
bg-alt))
|
||||
|
||||
((lazy-highlight &override) :background (doom-blend teal bg 0.8))
|
||||
((line-number &override) :foreground (doom-lighten 'base5 0.2))
|
||||
((line-number-current-line &override) :foreground base7)
|
||||
((paren-face-match &override) :foreground red :background base3 :weight 'ultra-bold)
|
||||
((paren-face-mismatch &override) :foreground base3 :background red :weight 'ultra-bold)
|
||||
((vimish-fold-overlay &override) :inherit 'font-lock-comment-face :background base3 :weight 'light)
|
||||
((vimish-fold-fringe &override) :foreground teal)
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-nord-light-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(doom-modeline-project-root-dir :foreground base6)
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; elscreen
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(magit-diff-hunk-heading-highlight :foreground bg :background blue :weight 'bold)
|
||||
(magit-diff-hunk-heading :foreground bg :background (doom-blend blue bg 0.3))
|
||||
(ivy-posframe :background (doom-blend blue bg 0.2))
|
||||
(ivy-virtual :foreground (doom-blend blue bg 0.8))
|
||||
(ivy-minibuffer-match-face-1 :background nil :foreground (doom-blend fg bg 0.5) :weight 'light)
|
||||
(internal-border :foreground (doom-blend blue bg 0.2) :background (doom-blend blue bg 0.2))
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
(nav-flash-face :background region :foreground base8 :weight 'bold)
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden))
|
||||
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-nord-light-theme.el ends here
|
198
elpa/doom-themes-20210322.1750/doom-nord-theme.el
Normal file
198
elpa/doom-themes-20210322.1750/doom-nord-theme.el
Normal file
|
@ -0,0 +1,198 @@
|
|||
;;; doom-nord-theme.el --- inspired by Nord -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-nord-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-nord-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-nord-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-nord-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-nord-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-nord-comment-bg doom-nord-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-nord-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-nord-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-nord-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(eval-and-compile
|
||||
(defcustom doom-nord-region-highlight t
|
||||
"Determines the selection highlight style. Can be 'frost, 'snowstorm or t
|
||||
(default)."
|
||||
:group 'doom-nord-theme
|
||||
:type 'symbol))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-nord
|
||||
"A dark theme inspired by Nord."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#2E3440" nil nil ))
|
||||
(bg-alt '("#272C36" nil nil ))
|
||||
(base0 '("#191C25" "black" "black" ))
|
||||
(base1 '("#242832" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#2C333F" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#373E4C" "#262626" "brightblack" ))
|
||||
(base4 '("#434C5E" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#4C566A" "#525252" "brightblack" ))
|
||||
(base6 '("#9099AB" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#D8DEE9" "#979797" "brightblack" ))
|
||||
(base8 '("#F0F4FC" "#dfdfdf" "white" ))
|
||||
(fg '("#ECEFF4" "#ECECEC" "white" ))
|
||||
(fg-alt '("#E5E9F0" "#bfbfbf" "brightwhite" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#BF616A" "#ff6655" "red" )) ;; Nord11
|
||||
(orange '("#D08770" "#dd8844" "brightred" )) ;; Nord12
|
||||
(green '("#A3BE8C" "#99bb66" "green" )) ;; Nord14
|
||||
(teal '("#8FBCBB" "#44b9b1" "brightgreen" )) ;; Nord7
|
||||
(yellow '("#EBCB8B" "#ECBE7B" "yellow" )) ;; Nord13
|
||||
(blue '("#81A1C1" "#51afef" "brightblue" )) ;; Nord9
|
||||
(dark-blue '("#5E81AC" "#2257A0" "blue" )) ;; Nord10
|
||||
(magenta '("#B48EAD" "#c678dd" "magenta" )) ;; Nord15
|
||||
(violet '("#5D80AE" "#a9a1e1" "brightmagenta")) ;; ??
|
||||
(cyan '("#88C0D0" "#46D9FF" "brightcyan" )) ;; Nord8
|
||||
(dark-cyan '("#507681" "#5699AF" "cyan" )) ;; ??
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.2))
|
||||
(selection dark-blue)
|
||||
(builtin blue)
|
||||
(comments (if doom-nord-brighter-comments dark-cyan (doom-lighten base5 0.2)))
|
||||
(doc-comments (doom-lighten (if doom-nord-brighter-comments dark-cyan base5) 0.25))
|
||||
(constants blue)
|
||||
(functions teal)
|
||||
(keywords blue)
|
||||
(methods teal)
|
||||
(operators blue)
|
||||
(type teal)
|
||||
(strings green)
|
||||
(variables base7)
|
||||
(numbers magenta)
|
||||
(region (pcase doom-nord-region-highlight
|
||||
(`frost teal)
|
||||
(`snowstorm base7)
|
||||
(_ base4)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-nord-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-nord-padded-modeline
|
||||
(if (integerp doom-nord-padded-modeline) doom-nord-padded-modeline 4)))
|
||||
|
||||
(region-fg
|
||||
(when (memq doom-nord-region-highlight '(frost snowstorm))
|
||||
base0))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base6)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-blend bg base5 0.2)
|
||||
base1))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-blend bg base5 0.2)
|
||||
`(,(doom-darken (car bg) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(((region &override) :foreground region-fg)
|
||||
|
||||
((line-number &override) :foreground (doom-lighten 'base5 0.2))
|
||||
((line-number-current-line &override) :foreground base7)
|
||||
((paren-face-match &override) :foreground red :background base3 :weight 'ultra-bold)
|
||||
((paren-face-mismatch &override) :foreground base3 :background red :weight 'ultra-bold)
|
||||
((vimish-fold-overlay &override) :inherit 'font-lock-comment-face :background base3 :weight 'light)
|
||||
((vimish-fold-fringe &override) :foreground teal)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-nord-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(doom-modeline-project-root-dir :foreground base6)
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; ediff
|
||||
(ediff-fine-diff-A :background (doom-darken violet 0.4) :weight 'bold)
|
||||
(ediff-current-diff-A :background (doom-darken base0 0.25))
|
||||
|
||||
;; elscreen
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
;; highlight-symbol
|
||||
(highlight-symbol-face :background (doom-lighten base4 0.1) :distant-foreground fg-alt)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background (doom-lighten base4 0.1) :distant-foreground fg-alt)
|
||||
|
||||
;; ivy
|
||||
((ivy-current-match &override) :foreground region-fg :weight 'semi-bold)
|
||||
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden))
|
||||
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-nord-theme.el ends here
|
163
elpa/doom-themes-20210322.1750/doom-nova-theme.el
Normal file
163
elpa/doom-themes-20210322.1750/doom-nova-theme.el
Normal file
|
@ -0,0 +1,163 @@
|
|||
;;; doom-nova-theme.el --- inspired by Trevord Miller's Nova -*- no-byte-compile: t; -*-
|
||||
(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 '(choice 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"))
|
||||
|
||||
(base0 '("#0d0f11" "#0d0f11" "black" ))
|
||||
(base1 '("#1e272c" "#1b1b1b" "black" ))
|
||||
(base2 '("#212122" "#1e1e1e" "black" ))
|
||||
(base3 '("#2f3f48" "#292929" "brightblack"))
|
||||
(base4 '("#3c4c55" "#3f3f3f" "brightblack"))
|
||||
(base5 '("#556873" "#525252" "brightblack"))
|
||||
(base6 '("#6A7D89" "#6b6b6b" "brightblack"))
|
||||
(base7 '("#899BA6" "#878797" "brightblack"))
|
||||
(base8 '("#e6eef3" "#efefef" "brightwhite"))
|
||||
(fg '("#c5d4dd" "#c5c6c6" "white" ))
|
||||
(fg-alt '("#c5c8c6" "#c5c8c6" "white" ))
|
||||
|
||||
(light-grey "#E6EEF3")
|
||||
(grey base7)
|
||||
(dark-grey base3)
|
||||
|
||||
(red "#DF8C8C")
|
||||
(orange "#F2C38F")
|
||||
(yellow "#DADA93")
|
||||
(green "#A8CE93")
|
||||
(blue "#83AFE5")
|
||||
(dark-blue "#759DCE")
|
||||
(teal "#95BEBC")
|
||||
(magenta "#D18EC2")
|
||||
(violet "#9A93E1")
|
||||
(cyan "#7FC1CA")
|
||||
(dark-cyan "#659AA1")
|
||||
|
||||
;; 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)
|
||||
|
||||
;; highlight-thing highlight-symbol
|
||||
(highlight-symbol-face :background (doom-lighten current-line 0.1) :distant-foreground fg-alt)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background (doom-lighten current-line 0.1) :distant-foreground fg-alt)
|
||||
|
||||
;; 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-headline-done :foreground base7))
|
||||
|
||||
;; --- variables --------------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
(provide 'doom-nova-theme)
|
||||
;;; doom-nova-theme.el ends here
|
174
elpa/doom-themes-20210322.1750/doom-oceanic-next-theme.el
Normal file
174
elpa/doom-themes-20210322.1750/doom-oceanic-next-theme.el
Normal file
|
@ -0,0 +1,174 @@
|
|||
;;; doom-oceanic-next-theme.el --- inspired by Oceanic Next -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-oceanic-next-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-oceanic-next-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-oceanic-next-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-oceanic-next-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-oceanic-next-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-oceanic-next-comment-bg doom-oceanic-next-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-oceanic-next-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-oceanic-next-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-oceanic-next-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-oceanic-next
|
||||
"A dark theme inspired by Oceanic Next "
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#1B2B34" nil nil ))
|
||||
(bg-alt '("#14232D" nil nil ))
|
||||
(base0 '("#1B2B34" "black" "black" ))
|
||||
(base1 '("#343D46" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#4F5B66" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#65737E" "#262626" "brightblack" ))
|
||||
(base4 '("#A7ADBA" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#C0C5CE" "#525252" "brightblack" ))
|
||||
(base6 '("#CDD3DE" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#D8DEE9" "#979797" "white" ))
|
||||
(base8 base7)
|
||||
(fg-alt base6)
|
||||
(fg base8)
|
||||
|
||||
(grey base4)
|
||||
(red '("#EC5f67" "#EC5f67" "red" ))
|
||||
(orange '("#F99157" "#F99157" "brightred" ))
|
||||
(green '("#99C794" "#99bb66" "green" ))
|
||||
(teal '("#5FB3B3" "#44b9b1" "brightgreen" ))
|
||||
(yellow '("#FAC863" "#ECBE7B" "yellow" ))
|
||||
(blue '("#6699CC" "#51afef" "brightblue" ))
|
||||
(dark-blue blue)
|
||||
(magenta '("#E27E8D" "#c678dd" "magenta" ))
|
||||
(violet '("#C594C5" "#a9a1e1" "brightmagenta"))
|
||||
(cyan teal)
|
||||
(dark-cyan cyan)
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight yellow)
|
||||
(vertical-bar (doom-darken base1 0.5))
|
||||
(selection base2)
|
||||
(builtin red)
|
||||
(comments (if doom-oceanic-next-brighter-comments dark-cyan base3))
|
||||
(doc-comments (doom-lighten (if doom-oceanic-next-brighter-comments dark-cyan base3) 0.25))
|
||||
(constants orange)
|
||||
(functions blue)
|
||||
(keywords violet)
|
||||
(methods blue)
|
||||
(operators teal)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables orange)
|
||||
(numbers orange)
|
||||
(region base2)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-oceanic-next-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-oceanic-next-padded-modeline
|
||||
(if (integerp doom-oceanic-next-padded-modeline) doom-oceanic-next-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive `(,(doom-darken (car bg-alt) 0.1) ,@(cdr bg-alt)))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-oceanic-next-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
|
||||
;; ivy-mode
|
||||
(ivy-current-match :background base2 :distant-foreground base0 :weight 'bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground blue)
|
||||
((markdown-code-face &override) :background (doom-lighten bg 0.05))
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background bg-alt)
|
||||
((org-block-begin-line &override) :background bg-alt)
|
||||
((org-block-end-line &override) :background bg-alt)
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden))
|
||||
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-oceanic-next-theme.el ends here
|
226
elpa/doom-themes-20210322.1750/doom-old-hope-theme.el
Normal file
226
elpa/doom-themes-20210322.1750/doom-old-hope-theme.el
Normal file
|
@ -0,0 +1,226 @@
|
|||
;;; doom-one-theme.el --- inspired by An Old Hope -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-old-hope-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-old-hope-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-one-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-old-hope-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-old-hope-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-old-hope-comment-bg doom-old-hope-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-old-hope-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-old-hope-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-old-hope-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-old-hope
|
||||
"A dark theme inspired by An Old Hope"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#1c1d20" "#1c1d20" nil))
|
||||
(bg-alt '("#151619" "#151619" nil))
|
||||
(base0 '("#1B2229" "black" "black"))
|
||||
(base1 '("#1c1f24" "#1e1e1e" "brightblack"))
|
||||
(base2 '("#202328" "#2e2e2e" "brightblack"))
|
||||
(base3 '("#23272e" "#262626" "brightblack"))
|
||||
(base4 '("#3f444a" "#3f3f3f" "brightblack"))
|
||||
(base5 '("#5B6268" "#525252" "brightblack"))
|
||||
(base6 '("#686b78" "#686b78" "brightblack"))
|
||||
(base7 '("#9ca0a4" "#979797" "brightblack"))
|
||||
(base8 '("#DFDFDF" "#dfdfdf" "white"))
|
||||
(fg '("#cbccd1" "#cbccd1" "brightwhite"))
|
||||
(fg-alt '("#5B6268" "#2d2d2d" "white"))
|
||||
|
||||
(grey base4)
|
||||
(red '("#ea3d54" "#ea3d54" "red"))
|
||||
(orange '("#ee7b29" "#ee7b29" "brightred"))
|
||||
(green '("#78bd65" "#78bd65" "green"))
|
||||
(teal '("#78bd65" "#78bd65" "brightgreen"))
|
||||
(yellow '("#fedd38" "#fedd38" "yellow"))
|
||||
(blue '("#4fb3d8" "#4fb3d8" "brightblue"))
|
||||
(dark-blue '("#5689f0" "#5689f0" "blue"))
|
||||
(magenta '("#b978ab" "#b978ab" "brightmagenta"))
|
||||
(violet '("#b978ab" "#b978ab" "brightmagenta"))
|
||||
(cyan '("#4fb3d8" "#4fb3d8" "brightcyan"))
|
||||
(dark-cyan '("#4fb3d8" "#4fb3d8" "cyan"))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight yellow)
|
||||
(vertical-bar (doom-darken base4 0.2))
|
||||
(selection red)
|
||||
(builtin yellow)
|
||||
(comments base5)
|
||||
(doc-comments (doom-lighten blue 0.25))
|
||||
(constants orange)
|
||||
(functions yellow)
|
||||
(keywords red)
|
||||
(methods yellow)
|
||||
(operators green)
|
||||
(type orange)
|
||||
(strings blue)
|
||||
(variables fg)
|
||||
(numbers orange)
|
||||
(region `(,(doom-lighten (car bg-alt) 0.15) ,@(doom-lighten (cdr base1) 0.35)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-old-hope-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-old-hope-padded-modeline
|
||||
(if (integerp doom-old-hope-padded-modeline) doom-old-hope-padded-modeline 4)))
|
||||
|
||||
(modeline-fg fg)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.35) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive `(,(doom-darken (car bg) 0.03) ,@(cdr bg-alt)))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
;; (evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-old-hope-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; LaTeX-mode
|
||||
(font-latex-math-face :foreground green)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden)
|
||||
|
||||
;; js/rjsx/web
|
||||
(js2-function-name :forground yellow)
|
||||
(js2-function-param :foreground blue)
|
||||
(js2-warning :underline `(:style wave :color ,yellow))
|
||||
(js2-error :underline `(:style wave :color ,red))
|
||||
(js2-external-variable :underline `(:style wave :color ,blue))
|
||||
(js2-jsdoc-tag :background nil :foreground red)
|
||||
(js2-jsdoc-type :background nil :foreground orange)
|
||||
(js2-jsdoc-value :background nil :foreground blue)
|
||||
(js2-private-member :background nil :foreground orange)
|
||||
(js2-object-property :foreground fg)
|
||||
(rjsx-tag :foreground fg)
|
||||
(rjsx-attr :foreground orange :slant 'italic :weight 'medium)
|
||||
(rjsx-tag-bracket-face :foreground green)
|
||||
(web-mode-html-tag-face :foreground fg :slant 'italic)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background base3 :foreground orange)
|
||||
(ivy-posframe-cursor :background red :foreground base0)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-list-face :foreground green)
|
||||
(markdown-pre-face :foreground blue)
|
||||
(markdown-blockquote-face :inherit 'italic :foreground blue)
|
||||
(markdown-link-face :inherit 'bold :foreground orange)
|
||||
(markdown-header-face-1 :weight 'bold :foreground blue)
|
||||
(markdown-header-face-2 :weight 'bold :foreground orange)
|
||||
(markdown-header-face-3 :weight 'bold :foreground green)
|
||||
(markdown-header-face-4 :weight 'bold :foreground yellow)
|
||||
(markdown-header-face-5 :weight 'bold :foreground blue)
|
||||
(markdown-header-face-6 :weight 'bold :foreground orange)
|
||||
;; org
|
||||
(org-level-1 :foreground blue)
|
||||
(org-level-2 :foreground orange)
|
||||
(org-level-3 :foreground teal)
|
||||
(org-level-4 :foreground magenta)
|
||||
(org-level-5 :foreground blue)
|
||||
(org-level-6 :foreground orange)
|
||||
(org-level-7 :foreground teal)
|
||||
(org-level-8 :foreground magenta)
|
||||
(org-link :foreground blue :underline t)
|
||||
(org-document-title :foreground orange)
|
||||
(org-document-info-keyword :foreground comments)
|
||||
(org-meta-line :foreground base6)
|
||||
(org-tag :foreground base6 :weight 'normal)
|
||||
(org-block :background (doom-darken bg 0.2 ) :extend t)
|
||||
|
||||
(rainbow-delimiters-depth-1-face :foreground red)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground green)
|
||||
(rainbow-delimiters-depth-4-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-5-face :foreground blue)
|
||||
(rainbow-delimiters-depth-6-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-7-face :foreground green))
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
())
|
||||
|
||||
|
||||
;;; doom-old-hope-theme.el ends here
|
200
elpa/doom-themes-20210322.1750/doom-one-light-theme.el
Normal file
200
elpa/doom-themes-20210322.1750/doom-one-light-theme.el
Normal file
|
@ -0,0 +1,200 @@
|
|||
;;; doom-one-light-theme.el --- inspired by Atom One Light -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-one-light-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-one-light-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-one-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-one-light-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-one-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-one-light-comment-bg doom-one-light-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-one-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-one-light-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-one-light-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-one-light
|
||||
"A light theme inspired by Atom One"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#fafafa" nil nil ))
|
||||
(bg-alt '("#f0f0f0" nil nil ))
|
||||
(base0 '("#f0f0f0" "#f0f0f0" "white" ))
|
||||
(base1 '("#e7e7e7" "#e7e7e7" "brightblack" ))
|
||||
(base2 '("#dfdfdf" "#dfdfdf" "brightblack" ))
|
||||
(base3 '("#c6c7c7" "#c6c7c7" "brightblack" ))
|
||||
(base4 '("#9ca0a4" "#9ca0a4" "brightblack" ))
|
||||
(base5 '("#383a42" "#424242" "brightblack" ))
|
||||
(base6 '("#202328" "#2e2e2e" "brightblack" ))
|
||||
(base7 '("#1c1f24" "#1e1e1e" "brightblack" ))
|
||||
(base8 '("#1b2229" "black" "black" ))
|
||||
(fg '("#383a42" "#424242" "black" ))
|
||||
(fg-alt '("#c6c7c7" "#c7c7c7" "brightblack" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#e45649" "#e45649" "red" ))
|
||||
(orange '("#da8548" "#dd8844" "brightred" ))
|
||||
(green '("#50a14f" "#50a14f" "green" ))
|
||||
(teal '("#4db5bd" "#44b9b1" "brightgreen" ))
|
||||
(yellow '("#986801" "#986801" "yellow" ))
|
||||
(blue '("#4078f2" "#4078f2" "brightblue" ))
|
||||
(dark-blue '("#a0bcf8" "#a0bcf8" "blue" ))
|
||||
(magenta '("#a626a4" "#a626a4" "magenta" ))
|
||||
(violet '("#b751b6" "#b751b6" "brightmagenta"))
|
||||
(cyan '("#0184bc" "#0184bc" "brightcyan" ))
|
||||
(dark-cyan '("#005478" "#005478" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base2 0.1))
|
||||
(selection dark-blue)
|
||||
(builtin magenta)
|
||||
(comments (if doom-one-light-brighter-comments cyan base4))
|
||||
(doc-comments (doom-darken comments 0.15))
|
||||
(constants violet)
|
||||
(functions magenta)
|
||||
(keywords red)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables (doom-darken magenta 0.36))
|
||||
(numbers orange)
|
||||
(region `(,(doom-darken (car bg-alt) 0.1) ,@(doom-darken (cdr base0) 0.3)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(-modeline-bright doom-one-light-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-one-light-padded-modeline
|
||||
(if (integerp doom-one-light-padded-modeline) doom-one-light-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt (doom-blend violet base4 (if -modeline-bright 0.5 0.2)))
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.05)
|
||||
base1))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken base2 0.1)
|
||||
base2))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.05) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((centaur-tabs-unselected :background bg-alt :foreground base4)
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-one-light-comment-bg base0))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments
|
||||
:slant 'italic)
|
||||
|
||||
((line-number &override) :foreground (doom-lighten base4 0.15))
|
||||
((line-number-current-line &override) :foreground base8)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; magit
|
||||
(magit-blame-heading :foreground orange :background bg-alt)
|
||||
(magit-diff-removed :foreground (doom-darken red 0.2) :background (doom-blend red bg 0.1))
|
||||
(magit-diff-removed-highlight :foreground red :background (doom-blend red bg 0.2) :bold bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background base1)
|
||||
(mmm-default-submode-face :background base1)
|
||||
|
||||
;; org-mode
|
||||
((outline-1 &override) :foreground red)
|
||||
((outline-2 &override) :foreground orange)
|
||||
((org-block &override) :background base1)
|
||||
((org-block-begin-line &override) :foreground fg :slant 'italic)
|
||||
(org-ellipsis :underline nil :background bg :foreground red)
|
||||
((org-quote &override) :background base1)
|
||||
|
||||
;; helm
|
||||
(helm-candidate-number :background blue :foreground bg)
|
||||
|
||||
;; selectrum
|
||||
(selectrum-current-candidate :background base1)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-current-element-highlight-face :background dark-blue :foreground bg)
|
||||
|
||||
;; wgrep
|
||||
(wgrep-face :background base1)
|
||||
|
||||
;; ediff
|
||||
(ediff-current-diff-A :foreground red :background (doom-lighten red 0.8))
|
||||
(ediff-current-diff-B :foreground green :background (doom-lighten green 0.8))
|
||||
(ediff-current-diff-C :foreground blue :background (doom-lighten blue 0.8))
|
||||
(ediff-current-diff-Ancestor :foreground teal :background (doom-lighten teal 0.8))
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base1 :foreground fg)
|
||||
|
||||
;; posframe
|
||||
(ivy-posframe :background base0)
|
||||
|
||||
;; lsp
|
||||
(lsp-ui-doc-background :background base0)
|
||||
(lsp-face-highlight-read :background (doom-blend red bg 0.3))
|
||||
(lsp-face-highlight-textual :inherit 'lsp-face-highlight-read)
|
||||
(lsp-face-highlight-write :inherit 'lsp-face-highlight-read)
|
||||
)
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-one-light-theme.el ends here
|
180
elpa/doom-themes-20210322.1750/doom-one-theme.el
Normal file
180
elpa/doom-themes-20210322.1750/doom-one-theme.el
Normal file
|
@ -0,0 +1,180 @@
|
|||
;;; doom-one-theme.el --- inspired by Atom One Dark -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-one-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-one-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-one-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-one-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-one-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-one-comment-bg doom-one-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-one-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-one-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-one-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-one
|
||||
"A dark theme inspired by Atom One Dark"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#282c34" nil nil ))
|
||||
(bg-alt '("#21242b" nil nil ))
|
||||
(base0 '("#1B2229" "black" "black" ))
|
||||
(base1 '("#1c1f24" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#202328" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#23272e" "#262626" "brightblack" ))
|
||||
(base4 '("#3f444a" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#5B6268" "#525252" "brightblack" ))
|
||||
(base6 '("#73797e" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#9ca0a4" "#979797" "brightblack" ))
|
||||
(base8 '("#DFDFDF" "#dfdfdf" "white" ))
|
||||
(fg '("#bbc2cf" "#bfbfbf" "brightwhite" ))
|
||||
(fg-alt '("#5B6268" "#2d2d2d" "white" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#ff6c6b" "#ff6655" "red" ))
|
||||
(orange '("#da8548" "#dd8844" "brightred" ))
|
||||
(green '("#98be65" "#99bb66" "green" ))
|
||||
(teal '("#4db5bd" "#44b9b1" "brightgreen" ))
|
||||
(yellow '("#ECBE7B" "#ECBE7B" "yellow" ))
|
||||
(blue '("#51afef" "#51afef" "brightblue" ))
|
||||
(dark-blue '("#2257A0" "#2257A0" "blue" ))
|
||||
(magenta '("#c678dd" "#c678dd" "brightmagenta"))
|
||||
(violet '("#a9a1e1" "#a9a1e1" "magenta" ))
|
||||
(cyan '("#46D9FF" "#46D9FF" "brightcyan" ))
|
||||
(dark-cyan '("#5699AF" "#5699AF" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.1))
|
||||
(selection dark-blue)
|
||||
(builtin magenta)
|
||||
(comments (if doom-one-brighter-comments dark-cyan base5))
|
||||
(doc-comments (doom-lighten (if doom-one-brighter-comments dark-cyan base5) 0.25))
|
||||
(constants violet)
|
||||
(functions magenta)
|
||||
(keywords blue)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables (doom-lighten magenta 0.4))
|
||||
(numbers orange)
|
||||
(region `(,(doom-lighten (car bg-alt) 0.15) ,@(doom-lighten (cdr base1) 0.35)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-one-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-one-padded-modeline
|
||||
(if (integerp doom-one-padded-modeline) doom-one-padded-modeline 4)))
|
||||
|
||||
(modeline-fg fg)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive `(,(doom-darken (car bg-alt) 0.1) ,@(cdr bg-alt)))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-one-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
|
||||
;; ivy-mode
|
||||
(ivy-current-match :background dark-blue :distant-foreground base0 :weight 'normal)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; LaTeX-mode
|
||||
(font-latex-math-face :foreground green)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden)
|
||||
|
||||
;; lsp-mode
|
||||
(lsp-headerline-breadcrumb-separator-face :foreground green)
|
||||
|
||||
;; rjsx
|
||||
(rjsx-tag :foreground red)
|
||||
(rjsx-attr :foreground orange))
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-one-theme.el ends here
|
153
elpa/doom-themes-20210322.1750/doom-opera-light-theme.el
Normal file
153
elpa/doom-themes-20210322.1750/doom-opera-light-theme.el
Normal file
|
@ -0,0 +1,153 @@
|
|||
;;; doom-opera-light-theme.el --- Opera-Light theme -*- no-byte-compile: t; -*-
|
||||
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-opera-light-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-opera-light-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-opera-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-opera-light-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-opera-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-opera-light-comment-bg doom-opera-light-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-opera-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-opera-light-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-opera-light-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(defcustom doom-opera-light-region-highlight t
|
||||
"Determines the selection highlight style. Can be 'frost, 'snowstorm or t
|
||||
(default)."
|
||||
:group 'doom-opera-light-theme
|
||||
:type 'symbol)
|
||||
|
||||
(def-doom-theme doom-opera-light
|
||||
"A light Opera theme."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#fafafa" nil nil ))
|
||||
(bg-alt '("#eeeeee" nil nil ))
|
||||
(base0 '("#fafafa" "#dfdfdf" nil ))
|
||||
(base1 '("#f5f5f5" "#979797" nil ))
|
||||
(base2 '("#eeeeee" "#6b6b6b" nil ))
|
||||
(base3 '("#e0e0e0" "#525252" nil ))
|
||||
(base4 '("#bdbdbd" "#3f3f3f" nil ))
|
||||
(base5 '("#9e9e9e" "#262626" nil ))
|
||||
(base6 '("#757575" "#2e2e2e" nil ))
|
||||
(base7 '("#616161" "#1e1e1e" nil ))
|
||||
(base8 '("#424242" "black" nil ))
|
||||
(fg '("#2a2a2a" "#2a2a2a" nil ))
|
||||
(fg-alt '("#454545" "#757575" nil ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#99324b" "#ff6655" nil ))
|
||||
(orange '("#ac4426" "#dd8844" nil ))
|
||||
(green '("#4f894c" "#99bb66" nil ))
|
||||
(teal '("#29838d" "#44b9b1" nil ))
|
||||
(yellow '("#9a7500" "#ECBE7B" nil ))
|
||||
(blue '("#3b6ea8" "#51afef" nil ))
|
||||
(dark-blue '("#5272AF" "#2257A0" nil ))
|
||||
(magenta '("#97365b" "#c678dd" nil ))
|
||||
(violet '("#842879" "#a9a1e1" nil ))
|
||||
(cyan '("#398eac" "#46D9FF" nil ))
|
||||
(dark-cyan '("#2c7088" "#5699AF" nil ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.2))
|
||||
(selection dark-blue)
|
||||
(builtin teal)
|
||||
(comments (if doom-opera-light-brighter-comments dark-cyan (doom-lighten base5 0.2)))
|
||||
(doc-comments (doom-lighten (if doom-opera-light-brighter-comments dark-cyan base5) 0.25))
|
||||
(constants magenta)
|
||||
(functions teal)
|
||||
(keywords blue)
|
||||
(methods teal)
|
||||
(operators blue)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables (doom-lighten magenta 0.5))
|
||||
(numbers magenta)
|
||||
(region base4)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-opera-light-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-opera-light-padded-modeline
|
||||
(if (integerp doom-opera-light-padded-modeline) doom-opera-light-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg-alt 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(
|
||||
((lazy-highlight &override) :foreground base1 :weight 'bold)
|
||||
((line-number &override) :foreground fg-alt)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-opera-light-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
;; ivy-posframe
|
||||
(ivy-posframe :background bg-alt)
|
||||
(ivy-posframe-border :background base1)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background base3)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))))
|
||||
|
||||
;;; doom-opera-light-theme.el ends here
|
149
elpa/doom-themes-20210322.1750/doom-opera-theme.el
Normal file
149
elpa/doom-themes-20210322.1750/doom-opera-theme.el
Normal file
|
@ -0,0 +1,149 @@
|
|||
;;; doom-opera-theme.el --- Opera theme -*- no-byte-compile: t; -*-
|
||||
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-opera-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-opera-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-opera-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-opera-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-opera-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-opera-comment-bg doom-opera-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-opera-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-opera-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-opera-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(defcustom doom-opera-region-highlight t
|
||||
"Determines the selection highlight style. Can be 'frost, 'snowstorm or t
|
||||
(default)."
|
||||
:group 'doom-opera-theme
|
||||
:type 'symbol)
|
||||
|
||||
(def-doom-theme doom-opera
|
||||
"A dark Opera theme."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#323334" nil nil ))
|
||||
(bg-alt '("#222224" nil nil ))
|
||||
(base0 '("#000000" "black" "black" ))
|
||||
(base1 '("#1e1e1e" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#2e2e2e" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#262626" "#262626" "brightblack" ))
|
||||
(base4 '("#3f3f3f" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#525252" "#525252" "brightblack" ))
|
||||
(base6 '("#6b6b6b" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#979797" "#979797" "brightblack" ))
|
||||
(base8 '("#dfdfdf" "#dfdfdf" "white" ))
|
||||
(fg '("#eceff4" "#dfdfdf" "white" ))
|
||||
(fg-alt '("#727269" "#bfbfbf" "brightwhite" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#C16069" "#ff6655" "red" ))
|
||||
(orange '("#D2876D" "#dd8844" "brightred" ))
|
||||
(green '("#A2BF8A" "#99bb66" "green" ))
|
||||
(teal '("#8EBCBB" "#44b9b1" "brightgreen" ))
|
||||
(yellow '("#ECCC87" "#ECBE7B" "yellow" ))
|
||||
(blue '("#80A0C2" "#51afef" "brightblue" ))
|
||||
(dark-blue '("#5C748E" "#2257A0" "blue" ))
|
||||
(magenta '("#B58DAE" "#c678dd" "magenta" ))
|
||||
(violet '("#5D80AE" "#a9a1e1" "brightmagenta"))
|
||||
(cyan '("#86C0D1" "#46D9FF" "brightcyan" ))
|
||||
(dark-cyan '("#507681" "#5699AF" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.2))
|
||||
(selection dark-blue)
|
||||
(builtin teal)
|
||||
(comments (if doom-opera-brighter-comments dark-cyan (doom-lighten base5 0.2)))
|
||||
(doc-comments (doom-lighten (if doom-opera-brighter-comments dark-cyan base5) 0.25))
|
||||
(constants magenta)
|
||||
(functions teal)
|
||||
(keywords blue)
|
||||
(methods teal)
|
||||
(operators blue)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables (doom-lighten magenta 0.5))
|
||||
(numbers magenta)
|
||||
(region base4)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-opera-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-opera-padded-modeline
|
||||
(if (integerp doom-opera-padded-modeline) doom-opera-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg-alt 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(
|
||||
((line-number &override) :foreground fg-alt)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-opera-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l))))
|
||||
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
())
|
||||
|
||||
;;; doom-opera-theme.el ends here
|
195
elpa/doom-themes-20210322.1750/doom-outrun-electric-theme.el
Normal file
195
elpa/doom-themes-20210322.1750/doom-outrun-electric-theme.el
Normal file
|
@ -0,0 +1,195 @@
|
|||
;;; doom-outrun-electric-theme.el --- inspired by VS Code Outrun Electric -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-outrun-electric-theme nil
|
||||
"Options for doom-themes."
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-outrun-electric-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-outrun-electric-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-outrun-electric-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-outrun-electric-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-outrun-electric-comment-bg doom-outrun-electric-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-outrun-electric-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-outrun-electric-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-outrun-electric-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-outrun-electric
|
||||
"A vibrant, neon colored theme inspired by VS Code Outrun Electric."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#0c0a20" "#0c0a20" nil ))
|
||||
(bg-alt '("#090819" "#090819" nil ))
|
||||
(base0 '("#131033" "#131033" "black" ))
|
||||
(base1 '("#1f1147" "#161130" "brightblack" ))
|
||||
(base2 '("#110d26" "#110d26" "brightblack" ))
|
||||
(base3 '("#3b4167" "#3b4167" "brightblack" ))
|
||||
(base4 '("#2d2844" "#2d2844" "brightblack" ))
|
||||
(base5 '("#BA45A3" "#BA45A3" "brightblack" ))
|
||||
(base6 '("#6A6EA3" "#6A6EA3" "brightblack" ))
|
||||
(base7 '("#6564D1" "#6564D1" "brightblack" ))
|
||||
(base8 '("#919ad9" "#919ad9" "white" ))
|
||||
(fg-alt '("#7984D1" "#7984D1" "white" ))
|
||||
(fg '("#f2f3f7" "#f2f3f7" "brightwhite" ))
|
||||
|
||||
(grey '("#546A90" "#546A90" "gray" ))
|
||||
(red '("#e61f44" "#e61f44" "red" ))
|
||||
(orange '("#cf433e" "#ff9b50" "brightred" ))
|
||||
(green '("#a7da1e" "#a7da1e" "green" ))
|
||||
(teal '("#A875FF" "#A875FF" "brightgreen" ))
|
||||
(yellow '("#ffd400" "#ffd400" "yellow" ))
|
||||
(blue '("#1ea8fc" "#1ea8fc" "brightblue" ))
|
||||
(dark-blue '("#3F88AD" "#3F88AD" "blue" ))
|
||||
(magenta '("#ff2afc" "#ff2afc" "magenta" ))
|
||||
(violet '("#df85ff" "#df85ff" "brightmagenta"))
|
||||
(cyan '("#42c6ff" "#42c6ff" "brightcyan" ))
|
||||
(dark-cyan '("#204052" "#204052" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.5))
|
||||
(selection dark-blue)
|
||||
(builtin blue)
|
||||
(comments (if doom-outrun-electric-brighter-comments blue grey))
|
||||
(doc-comments teal)
|
||||
(constants violet)
|
||||
(functions cyan)
|
||||
(keywords magenta)
|
||||
(methods cyan)
|
||||
(operators magenta)
|
||||
(type yellow)
|
||||
(strings fg-alt)
|
||||
(variables violet)
|
||||
(numbers yellow)
|
||||
(region base1)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-outrun-electric-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-outrun-electric-padded-modeline
|
||||
(if (integerp doom-outrun-electric-padded-modeline) doom-outrun-electric-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((company-tooltip-selection :background dark-cyan)
|
||||
(company-tooltip-common :foreground magenta :distant-foreground base0 :weight 'bold)
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-outrun-electric-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
(font-lock-keyword-face
|
||||
:weight 'bold
|
||||
:foreground keywords)
|
||||
(font-lock-constant-face
|
||||
:weight 'bold
|
||||
:foreground constants)
|
||||
(font-lock-function-name-face
|
||||
:weight 'bold
|
||||
:foreground functions)
|
||||
|
||||
(vertical-border :foreground base5)
|
||||
|
||||
;; Centaur tabs
|
||||
(centaur-tabs-active-bar-face :background magenta)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected :foreground magenta)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected :foreground magenta)
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background magenta)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
(markdown-url-face :foreground teal :weight 'normal)
|
||||
(markdown-reference-face :foreground base6)
|
||||
((markdown-bold-face &override) :foreground fg)
|
||||
((markdown-italic-face &override) :foreground fg-alt)
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground blue)
|
||||
((outline-2 &override) :foreground green)
|
||||
((outline-3 &override) :foreground teal)
|
||||
((outline-4 &override) :foreground (doom-darken blue 0.2))
|
||||
((outline-5 &override) :foreground (doom-darken green 0.2))
|
||||
((outline-6 &override) :foreground (doom-darken teal 0.2))
|
||||
((outline-7 &override) :foreground (doom-darken blue 0.4))
|
||||
((outline-8 &override) :foreground (doom-darken green 0.4))
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base0)
|
||||
((org-block-begin-line &override) :background base0)
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden))
|
||||
;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-outrun-electric-theme.el ends here
|
153
elpa/doom-themes-20210322.1750/doom-palenight-theme.el
Normal file
153
elpa/doom-themes-20210322.1750/doom-palenight-theme.el
Normal file
|
@ -0,0 +1,153 @@
|
|||
;;; doom-palenight-theme.el --- inspired by Material-PaleNight -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-palenight-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-palenight-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-palenight-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-palenight
|
||||
"A dark theme inspired by Material-Palenight"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#292D3E" nil nil))
|
||||
(bg-alt '("#242837" nil nil))
|
||||
(base0 '("#1c1f2b" "black" "black"))
|
||||
(base1 '("#1e212e" "#262626" "brightblack"))
|
||||
(base2 '("#232635" "#303030" "brightblack"))
|
||||
(base3 '("#3C435E" "#3a3a3a" "brightblack"))
|
||||
(base4 '("#4E5579" "#444444" "brightblack"))
|
||||
(base5 '("#676E95" "#585858" "brightblack"))
|
||||
(base6 '("#697098" "#626262" "brightblack"))
|
||||
(base7 '("#717CB4" "#767676" "brightblack"))
|
||||
(base8 '("#A6Accd" "#a8a8a8" "white"))
|
||||
(fg '("#EEFFFF" "#e4e4e4" "brightwhite"))
|
||||
(fg-alt '("#BFC7D5" "#bcbcbc" "white"))
|
||||
|
||||
(grey base5)
|
||||
|
||||
(red '("#ff5370" "#ff0000" "red"))
|
||||
(orange '("#f78c6c" "#ff5f00" "brightred"))
|
||||
(green '("#c3e88d" "#afff00" "green"))
|
||||
(teal '("#44b9b1" "#00d7af" "brightgreen"))
|
||||
(yellow '("#ffcb6b" "#ffd700" "brightyellow"))
|
||||
(blue '("#82aaff" "#5fafff" "brightblue"))
|
||||
(dark-blue '("#7986E7" "#d7ffff" "blue"))
|
||||
(magenta '("#c792ea" "#d787d7" "brightmagenta"))
|
||||
(violet '("#bb80b3" "#d787af" "magenta"))
|
||||
(cyan '("#89DDFF" "#5fd7ff" "brightcyan"))
|
||||
(dark-cyan '("#80cbc4" "#00d7af" "cyan"))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight magenta)
|
||||
(vertical-bar base2)
|
||||
(selection base4)
|
||||
(builtin blue)
|
||||
(comments base5)
|
||||
(doc-comments (doom-lighten base5 0.25))
|
||||
(constants orange)
|
||||
(functions blue)
|
||||
(keywords cyan)
|
||||
(methods blue)
|
||||
(operators cyan)
|
||||
(type magenta)
|
||||
(strings green)
|
||||
(variables yellow)
|
||||
(numbers orange)
|
||||
(region base3)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified blue)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(modeline-bg base2)
|
||||
(modeline-bg-alt (doom-darken bg 0.01))
|
||||
(modeline-fg base8)
|
||||
(modeline-fg-alt comments)
|
||||
|
||||
(-modeline-pad
|
||||
(when doom-palenight-padded-modeline
|
||||
(if (integerp doom-palenight-padded-modeline) doom-palenight-padded-modeline 4))))
|
||||
|
||||
;; --- base faces ------------------------
|
||||
(((lazy-highlight &override) :background base4 :foreground fg :distant-foreground fg :bold bold)
|
||||
(doom-modeline-buffer-path :foreground green :weight 'bold)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path)
|
||||
|
||||
(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)))
|
||||
|
||||
(fringe :background base2)
|
||||
|
||||
;; --- major-mode faces ------------------------
|
||||
;; man-mode
|
||||
(Man-overstrike :inherit 'bold :foreground magenta)
|
||||
(Man-underline :inherit 'underline :foreground blue)
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base2)
|
||||
((org-block-background &override) :background base2)
|
||||
((org-block-begin-line &override) :background base2)
|
||||
|
||||
;; --- plugin faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; dired-k
|
||||
(dired-k-commited :foreground base4)
|
||||
(dired-k-modified :foreground vc-modified)
|
||||
(dired-k-ignored :foreground cyan)
|
||||
(dired-k-added :foreground vc-added)
|
||||
|
||||
|
||||
;; js2-mode
|
||||
(js2-jsdoc-tag :foreground magenta)
|
||||
(js2-object-property :foreground yellow)
|
||||
(js2-object-property-access :foreground cyan)
|
||||
(js2-function-param :foreground violet)
|
||||
(js2-jsdoc-type :foreground base8)
|
||||
(js2-jsdoc-value :foreground cyan)
|
||||
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground magenta)
|
||||
(rainbow-delimiters-depth-2-face :foreground orange)
|
||||
(rainbow-delimiters-depth-3-face :foreground green)
|
||||
(rainbow-delimiters-depth-4-face :foreground cyan)
|
||||
(rainbow-delimiters-depth-5-face :foreground violet)
|
||||
(rainbow-delimiters-depth-6-face :foreground yellow)
|
||||
(rainbow-delimiters-depth-7-face :foreground blue)
|
||||
(rainbow-delimiters-depth-8-face :foreground teal)
|
||||
(rainbow-delimiters-depth-9-face :foreground dark-cyan)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground red)
|
||||
(rjsx-attr :foreground yellow :slant 'italic :weight 'medium)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background (doom-darken bg-alt 0.2) :foreground fg)))
|
||||
|
||||
(provide 'doom-palenight-theme)
|
190
elpa/doom-themes-20210322.1750/doom-peacock-theme.el
Normal file
190
elpa/doom-themes-20210322.1750/doom-peacock-theme.el
Normal file
|
@ -0,0 +1,190 @@
|
|||
;;; doom-peacock-theme.el --- inspired by daylerees Peacock -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-peacock-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-peacock-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-peacock-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-peacock-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-peacock-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-peacock-comment-bg doom-peacock-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-peacock-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-peacock-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-peacock-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-peacock
|
||||
"Peacock theme from daylerees themes "
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#2b2a27" nil nil ))
|
||||
(bg-alt '("#1F1E1D" nil nil ))
|
||||
(base0 '("#2b2a27" "black" "black" ))
|
||||
(base1 '("#1c1f24" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#202328" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#23272e" "#262626" "brightblack" ))
|
||||
(base4 '("#3f444a" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#5B6268" "#525252" "brightblack" ))
|
||||
(base6 '("#73797e" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#9ca0a4" "#979797" "brightblack" ))
|
||||
(base8 '("#DFDFDF" "#dfdfdf" "white" ))
|
||||
(fg '("#ede0ce" "#bfbfbf" "brightwhite" ))
|
||||
(fg-alt '("#5B6268" "#2d2d2d" "white" ))
|
||||
|
||||
(grey base4)
|
||||
(white '("#f8f8f0" "base4" "base4" ))
|
||||
(red '("#ff5d38" "#ff6655" "red" )) ;; peacock todo 16
|
||||
(orange '("#cb4b16" "#dd8844" "brightred" ))
|
||||
(green '("#98be65" "#99bb66" "green" ))
|
||||
(teal '("#26a6a6" "#44b9b1" "brightgreen" )) ;; peacock
|
||||
(yellow '("#bcd42a" "#ECBE7B" "yellow" )) ;; peacock, todo 16
|
||||
(blue '("#51afef" "#51afef" "brightblue" ))
|
||||
(dark-blue '("#2257A0" "#2257A0" "blue" ))
|
||||
(magenta '("#c678dd" "#c678dd" "magenta" ))
|
||||
(violet '("#a9a1e1" "#a9a1e1" "brightmagenta"))
|
||||
(cyan '("#46D9FF" "#46D9FF" "brightcyan" ))
|
||||
(dark-cyan '("#5699AF" "#5699AF" "cyan" ))
|
||||
(coral-popup '("#a60033" "#f6bfbc" "coral-popup" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight red)
|
||||
(vertical-bar (doom-lighten bg 0.1))
|
||||
(selection coral-popup)
|
||||
(builtin red)
|
||||
(comments (if doom-peacock-brighter-comments dark-cyan base5)) ;; TODO
|
||||
(doc-comments (doom-lighten (if doom-peacock-brighter-comments dark-cyan base5) 0.25)) ;; TODO
|
||||
(constants red) ;; done
|
||||
(functions yellow) ;; done
|
||||
(keywords teal) ;; done
|
||||
(methods yellow) ;; not sure how to test this.
|
||||
(operators red) ;; not showing up on `=` etc.
|
||||
(type white) ;;
|
||||
(strings yellow)
|
||||
(variables white) ;; done
|
||||
(numbers red) ;; done
|
||||
|
||||
(region `(,(doom-lighten (car bg-alt) 0.15) ,@(doom-lighten (cdr base0) 0.35)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(-modeline-bright doom-peacock-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-peacock-padded-modeline
|
||||
(if (integerp doom-peacock-padded-modeline) doom-peacock-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt (doom-blend violet base4 (if -modeline-bright 0.5 0.2)))
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken bg 0.475)
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-peacock-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground base7)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
|
||||
;; company
|
||||
(company-tooltip :inherit 'tooltip)
|
||||
(company-tooltip-common :foreground highlight)
|
||||
(company-tooltip-search :background highlight :foreground bg :distant-foreground fg)
|
||||
(company-tooltip-selection :background selection)
|
||||
(company-tooltip-mouse :background magenta :foreground bg :distant-foreground fg)
|
||||
(company-tooltip-annotation :foreground violet)
|
||||
(company-scrollbar-bg :inherit 'tooltip)
|
||||
(company-scrollbar-fg :background highlight)
|
||||
(company-preview :foreground highlight)
|
||||
(company-preview-common :background base3 :foreground magenta)
|
||||
(company-preview-search :inherit 'company-tooltip-search)
|
||||
(company-template-field :inherit 'match)
|
||||
|
||||
;; popup
|
||||
(popup-face :inherit 'tooltip)
|
||||
(popup-selection-face :inherit 'tooltip)
|
||||
|
||||
;; pos-tip
|
||||
(popup :inherit 'tooltip)
|
||||
(popup-tip-face :inherit 'tooltip)
|
||||
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground teal)
|
||||
(rjsx-attr :foreground red)
|
||||
)
|
||||
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-peacock-theme.el ends here
|
173
elpa/doom-themes-20210322.1750/doom-plain-dark-theme.el
Normal file
173
elpa/doom-themes-20210322.1750/doom-plain-dark-theme.el
Normal file
|
@ -0,0 +1,173 @@
|
|||
;;; doom-plain-dark-theme.el --- inspired by gko's plain theme for VSCode
|
||||
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-plain-dark-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-plain-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-plain-dark-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-plain-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-plain-dark-theme
|
||||
:type '(or integer boolean))
|
||||
|
||||
(def-doom-theme doom-plain-dark
|
||||
"Theme inspired by gko's plain dark."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#222222" nil nil ))
|
||||
(bg-alt (doom-lighten bg 0.15))
|
||||
(base0 '("#838083" nil nil ))
|
||||
(base1 '("#0e0c0a" nil nil ))
|
||||
(base2 '("#bbbbbb" nil nil ))
|
||||
(base3 '("#444444" nil nil ))
|
||||
(base4 '("#202020" nil nil ))
|
||||
(base5 '("#545053" nil nil ))
|
||||
(base6 '("#050505" nil nil ))
|
||||
(base7 '("#ffdddd" nil nil ))
|
||||
(base8 '("#050505" nil nil ))
|
||||
(fg '("#d7d5d1" nil nil ))
|
||||
(fg-alt '("#e7e5e3" nil nil ))
|
||||
|
||||
(grey fg)
|
||||
(red fg)
|
||||
(blue fg)
|
||||
(dark-blue fg)
|
||||
(orange fg)
|
||||
(green fg)
|
||||
(teal fg)
|
||||
(yellow fg)
|
||||
(magenta fg)
|
||||
(violet fg)
|
||||
(cyan fg)
|
||||
(dark-cyan fg)
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight base2)
|
||||
(vertical-bar (doom-lighten fg 0.3))
|
||||
(selection base1)
|
||||
(builtin base0)
|
||||
(comments base5)
|
||||
(doc-comments base5)
|
||||
(constants base0)
|
||||
(functions fg)
|
||||
(keywords fg)
|
||||
(methods fg)
|
||||
(operators fg)
|
||||
(type fg)
|
||||
(strings base0)
|
||||
(variables base0)
|
||||
(numbers base0)
|
||||
(region base1)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-plain-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-plain-padded-modeline
|
||||
(if (integerp doom-plain-padded-modeline) doom-plain-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg-alt 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(
|
||||
((line-number &override) :foreground base3)
|
||||
((line-number-current-line &override) :foreground base2)
|
||||
|
||||
(hl-line
|
||||
:background base8)
|
||||
|
||||
(org-block-begin-line
|
||||
:foreground base2
|
||||
:background base3)
|
||||
|
||||
(org-block-end-line
|
||||
:foreground base2
|
||||
:background base3)
|
||||
|
||||
(org-level-1
|
||||
:slant 'italic
|
||||
:foreground fg-alt
|
||||
:background nil)
|
||||
|
||||
(org-level-2
|
||||
:slant 'italic
|
||||
:foreground base2
|
||||
:background nil)
|
||||
|
||||
(org-level-3
|
||||
:slant 'italic
|
||||
:foreground base2
|
||||
:background nil)
|
||||
|
||||
(org-level-3
|
||||
:slant 'italic
|
||||
:foreground base2
|
||||
:background nil)
|
||||
|
||||
|
||||
;; Font lock
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:slant 'italic)
|
||||
(font-lock-type-face
|
||||
:foreground type
|
||||
:slant 'italic)
|
||||
(font-lock-function-name-face
|
||||
:foreground functions
|
||||
:slant 'italic)
|
||||
(font-lock-doc-face
|
||||
:foreground doc-comments
|
||||
:slant 'italic)
|
||||
(font-lock-constant-face
|
||||
:foreground constants
|
||||
:slant 'italic)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
;; LSP
|
||||
(lsp-headerline-breadcrumb-symbols-face :foreground keywords :weight 'bold)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))))
|
||||
|
||||
;;; doom-plain-dark-theme.el ends here
|
173
elpa/doom-themes-20210322.1750/doom-plain-theme.el
Normal file
173
elpa/doom-themes-20210322.1750/doom-plain-theme.el
Normal file
|
@ -0,0 +1,173 @@
|
|||
;;; doom-plain-theme.el --- inspired by gko's plain theme for VSCode
|
||||
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-plain-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-plain-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-plain-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-plain-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-plain-theme
|
||||
:type '(or integer boolean))
|
||||
|
||||
(def-doom-theme doom-plain
|
||||
"Theme inspired by gko's plain."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#ffffff" nil nil ))
|
||||
(bg-alt '("#f3f3f3" nil nil ))
|
||||
(base0 '("#969896" nil nil ))
|
||||
(base1 '("#f1f3f5" nil nil ))
|
||||
(base2 '("#444444" nil nil ))
|
||||
(base3 '("#cccccc" nil nil ))
|
||||
(base4 '("#e7e7e7" nil nil ))
|
||||
(base5 '("#c5c8c6" nil nil ))
|
||||
(base6 '("#fafafa" nil nil ))
|
||||
(base7 '("#dfdfdf" nil nil ))
|
||||
(base8 '("#fafafa" nil nil ))
|
||||
(fg '("#282a2e" nil nil ))
|
||||
(fg-alt (doom-lighten fg 0.15))
|
||||
|
||||
(grey fg)
|
||||
(red fg)
|
||||
(blue fg)
|
||||
(dark-blue fg)
|
||||
(orange fg)
|
||||
(green fg)
|
||||
(teal fg)
|
||||
(yellow fg)
|
||||
(magenta fg)
|
||||
(violet fg)
|
||||
(cyan fg)
|
||||
(dark-cyan fg)
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight base2)
|
||||
(vertical-bar (doom-lighten fg 0.3))
|
||||
(selection base1)
|
||||
(builtin base0)
|
||||
(comments base5)
|
||||
(doc-comments base5)
|
||||
(constants base0)
|
||||
(functions fg)
|
||||
(keywords fg)
|
||||
(methods fg)
|
||||
(operators fg)
|
||||
(type fg)
|
||||
(strings base0)
|
||||
(variables base0)
|
||||
(numbers base0)
|
||||
(region base4)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-plain-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-plain-padded-modeline
|
||||
(if (integerp doom-plain-padded-modeline) doom-plain-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg-alt 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(
|
||||
((line-number &override) :foreground base3)
|
||||
((line-number-current-line &override) :foreground base2)
|
||||
|
||||
(hl-line
|
||||
:background base8)
|
||||
|
||||
(org-block-begin-line
|
||||
:foreground base2
|
||||
:background base3)
|
||||
|
||||
(org-block-end-line
|
||||
:foreground base2
|
||||
:background base3)
|
||||
|
||||
(org-level-1
|
||||
:slant 'italic
|
||||
:foreground fg-alt
|
||||
:background nil)
|
||||
|
||||
(org-level-2
|
||||
:slant 'italic
|
||||
:foreground base2
|
||||
:background nil)
|
||||
|
||||
(org-level-3
|
||||
:slant 'italic
|
||||
:foreground base2
|
||||
:background nil)
|
||||
|
||||
(org-level-3
|
||||
:slant 'italic
|
||||
:foreground base2
|
||||
:background nil)
|
||||
|
||||
|
||||
;; Font lock
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:slant 'italic)
|
||||
(font-lock-type-face
|
||||
:foreground type
|
||||
:slant 'italic)
|
||||
(font-lock-function-name-face
|
||||
:foreground functions
|
||||
:slant 'italic)
|
||||
(font-lock-doc-face
|
||||
:foreground doc-comments
|
||||
:slant 'italic)
|
||||
(font-lock-constant-face
|
||||
:foreground constants
|
||||
:slant 'italic)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
;; LSP
|
||||
(lsp-headerline-breadcrumb-symbols-face :foreground keywords :weight 'bold)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))))
|
||||
|
||||
;;; doom-plain-theme.el ends here
|
214
elpa/doom-themes-20210322.1750/doom-rouge-theme.el
Normal file
214
elpa/doom-themes-20210322.1750/doom-rouge-theme.el
Normal file
|
@ -0,0 +1,214 @@
|
|||
;;; doom-rouge-theme.el --- ported from Rouge Theme -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-rouge-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-rouge-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-rouge-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-rouge-brighter-tabs t
|
||||
"If non-nil, tabs will a more vivid background color."
|
||||
:group 'doom-rouge-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-rouge-comment-bg doom-rouge-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-rouge-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-rouge-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-rouge-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-rouge
|
||||
"A dark theme ported from VS Code's Rouge."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#172030" nil nil )) ;; modified
|
||||
(bg-alt '("#172030" nil nil ))
|
||||
(base0 '("#070A0E" "black" "black" ))
|
||||
(base1 '("#0E131D" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#151D2B" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#1F2A3F" "#262626" "brightblack" ))
|
||||
(base4 '("#5D636E" "#3f3f3f" "brightblack" ))
|
||||
(base5 '("#64727d" "#64727d" "brightblack" ))
|
||||
(base6 '("#B16E75" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#E8E9EB" "#979797" "brightblack" ))
|
||||
(base8 '("#F0F4FC" "#dfdfdf" "white" ))
|
||||
(fg '("#FAFFF6" "#bbb" "white" ))
|
||||
(fg-alt '("#A7ACB9" "#bfbfbf" "brightwhite" ))
|
||||
|
||||
(grey base5)
|
||||
(red '("#c6797e" "#c6797e" "red" ))
|
||||
(light-red '("#DB6E8F" "#DB6E8F" "red" ))
|
||||
(orange '("#eabe9a" "#eabe9a" "brightred" ))
|
||||
(green '("#A3B09A" "#A3B9A4" "green" ))
|
||||
(teal '("#7ea9a9" "#7ea9a9" "brightgreen" ))
|
||||
(yellow '("#F7E3AF" "#F7E3AF" "yellow" ))
|
||||
(blue '("#6e94b9" "#6e94b9" "brightblue" ))
|
||||
(dark-blue '("#1E6378" "#1E6378" "blue" ))
|
||||
(magenta '("#b18bb1" "#b18bb1" "magenta" ))
|
||||
(salmon '("#F9B5AC" "#F9B5AC" "orange" ))
|
||||
(violet '("#5D80AE" "#5D80AE" "brightmagenta"))
|
||||
(cyan '("#88C0D0" "#88C0D0" "brightcyan" ))
|
||||
(dark-cyan '("#507681" "#507681" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight base6)
|
||||
(vertical-bar (doom-darken base1 0.2))
|
||||
(selection base4)
|
||||
(builtin light-red)
|
||||
(comments grey)
|
||||
(doc-comments green)
|
||||
(constants red)
|
||||
(functions salmon)
|
||||
(keywords magenta)
|
||||
(methods light-red)
|
||||
(operators magenta)
|
||||
(type red)
|
||||
(strings green)
|
||||
(variables red)
|
||||
(numbers orange)
|
||||
(region base4)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-pad
|
||||
(when doom-rouge-padded-modeline
|
||||
(if (integerp doom-rouge-padded-modeline) doom-rouge-padded-modeline 4)))
|
||||
|
||||
(tabs-bg (if doom-rouge-brighter-tabs base6 bg))
|
||||
(tabs-fg (if doom-rouge-brighter-tabs base8 fg))
|
||||
(tabs-bar-bg (if doom-rouge-brighter-tabs bg red))
|
||||
(tabs-marker (if doom-rouge-brighter-tabs base8 highlight))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base6)
|
||||
|
||||
(modeline-bg base1)
|
||||
(modeline-bg-l `(,(doom-darken (car bg) 0.1) ,@(cdr base0)))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((lazy-highlight :background base4)
|
||||
|
||||
;; highlight-thing highlight-symbol
|
||||
(highlight-symbol-face :background region :distant-foreground fg-alt)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background region :distant-foreground fg-alt)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background base3)
|
||||
(ivy-minibuffer-match-face-2 :foreground highlight :weight 'extra-bold)
|
||||
|
||||
;; ivy-posframe
|
||||
(ivy-posframe :background bg-alt)
|
||||
(ivy-posframe-border :background highlight)
|
||||
|
||||
((line-number &override) :foreground (doom-lighten 'base5 0.2))
|
||||
((line-number-current-line &override) :foreground base7)
|
||||
((paren-face-match &override) :foreground red :background base3 :weight 'ultra-bold)
|
||||
((paren-face-mismatch &override) :foreground base3 :background red :weight 'ultra-bold)
|
||||
((vimish-fold-overlay &override) :inherit 'font-lock-comment-face :background base3 :weight 'light)
|
||||
((vimish-fold-fringe &override) :foreground teal)
|
||||
|
||||
;; font-lock
|
||||
(font-lock-keyword-face :slant 'italic :foreground keywords)
|
||||
(font-lock-comment-face :foreground comments :slant 'italic)
|
||||
(font-lock-doc-face :foreground doc-comments :slant 'italic)
|
||||
(font-lock-preprocessor-face :foreground magenta :slant 'italic)
|
||||
;; vertical border
|
||||
(vertical-border :foreground base6)
|
||||
|
||||
;; mode-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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground highlight)
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
(solaire-hl-line-face :background base3)
|
||||
|
||||
;; doom-modeline
|
||||
(doom-modeline-project-root-dir :foreground base6)
|
||||
|
||||
;; ediff
|
||||
(ediff-fine-diff-A :background (doom-darken violet 0.4) :weight 'bold)
|
||||
(ediff-current-diff-A :background (doom-darken base0 0.25))
|
||||
|
||||
;; elscreen
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;; magit
|
||||
(magit-diff-hunk-heading :foreground bg :background (doom-blend highlight bg 0.3) :extend t)
|
||||
(magit-diff-hunk-heading-highlight :foreground bg :background highlight :weight 'bold :extend t)
|
||||
(magit-section-heading :foreground highlight)
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden)
|
||||
|
||||
;; centuar-tabs
|
||||
(centaur-tabs-selected :foreground tabs-fg :background tabs-bg)
|
||||
(centaur-tabs-selected-modified :foreground tabs-fg :background tabs-bg)
|
||||
(centaur-tabs-unselected-modified :foreground tabs-fg :background bg)
|
||||
(centaur-tabs-active-bar-face :background tabs-bar-bg)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected :foreground tabs-marker)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected :foreground tabs-marker)
|
||||
|
||||
;; neotree
|
||||
(neo-root-dir-face :foreground red)
|
||||
|
||||
;; treemacs
|
||||
(treemacs-root-face :foreground highlight :weight 'ultra-bold :height 1.2)
|
||||
(doom-themes-treemacs-root-face :foreground highlight :weight 'ultra-bold :height 1.2)
|
||||
(doom-themes-treemacs-file-face :foreground highlight)
|
||||
(treemacs-directory-face :foreground highlight)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background base3 :foreground fg-alt))
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-rouge-theme.el ends here
|
106
elpa/doom-themes-20210322.1750/doom-snazzy-theme.el
Normal file
106
elpa/doom-themes-20210322.1750/doom-snazzy-theme.el
Normal file
|
@ -0,0 +1,106 @@
|
|||
;;; doom-snazzy-theme.el --- inspired by Hyper Snazzy -*- no-byte-compile: t; -*-
|
||||
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
(require 'doom-themes)
|
||||
|
||||
;; Compiler pacifier
|
||||
(defvar modeline-bg)
|
||||
|
||||
;;
|
||||
(defgroup doom-snazzy-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-snazzy
|
||||
"A dark theme inspired by Atom Snazzy Dark"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#282a36" "#282a36" nil )) ;; this is the background for the hl-line, modeline, and minibuffer
|
||||
(bg-alt '("#242631" "#242631" nil )) ;; this is the background for the line you arent currently on
|
||||
(base0 '("#282a36" "#282a36" "black" ))
|
||||
(base1 '("#34353e" "#34353e" "brightblack"))
|
||||
(base2 '("#43454f" "#43454f" "brightblack"))
|
||||
(base3 '("#78787e" "#78787e" "brightblack"))
|
||||
(base4 '("#a5a5a9" "#a5a5a9" "brightblack"))
|
||||
(base5 '("#e2e4e5" "#e2e4e5" "brightblack"))
|
||||
(base6 '("#eff0eb" "#eff0eb" "brightblack"))
|
||||
(base7 '("#f1f1f0" "#f1f1f0" "brightblack"))
|
||||
(base8 '("#ff5c57" "#ff5c57" "white" ))
|
||||
(fg '("#f9f9f9" "#f9f9f9" "white" ))
|
||||
(fg-alt '("#d1d1d1" "#d1d1d1" "brightwhite"))
|
||||
|
||||
(ui0 '("#848688" "#848688" "grey"))
|
||||
(ui1 '("#606580" "#606580" "grey"))
|
||||
(ui2 '("#3a3d4d" "#3a3d4d" "grey"))
|
||||
(ui3 '("#1c1e27" "#1c1e27" "black"))
|
||||
|
||||
(grey ui0)
|
||||
(red '("#ff5c57" "#ff5c57" "red" ))
|
||||
(green '("#5af78e" "#5af78e" "brightred" ))
|
||||
(yellow '("#f3f99d" "#f3f99d" "green" ))
|
||||
(blue '("#57c7ff" "#57c7ff" "brightgreen" ))
|
||||
(dark-blue '("#459fcc" "#459fcc" "yellow" ))
|
||||
(magenta '("#ff6ac1" "#ff6ac1" "brightblue" ))
|
||||
(cyan '("#9aedfe" "#9aedfe" "blue" ))
|
||||
(violet '("#bd93f9" "#bd93f9" "magenta" ))
|
||||
(orange '("#ffb86c" "#ffb86c" "brightmagenta"))
|
||||
(teal '("#aad4d3" "#aad4d3" "brightcyan" ))
|
||||
(dark-cyan '("#82c9d7" "#82c9d7" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue) ;; when searching with (/) ?
|
||||
;; (vertical-bar (doom-darken base1 0.1)) ;; no idea what this is
|
||||
(vertical-bar (doom-darken base1 0.1)) ;; the bar that separates modeline and
|
||||
;; minibuffer?
|
||||
(selection dark-blue) ;; for like company autocomplete and stuff
|
||||
(builtin magenta) ;; saw this in company autocomplete if i moved my mouse
|
||||
;; over it
|
||||
(comments ui1) ;; comments
|
||||
(doc-comments (doom-lighten yellow 0.25)) ;; easy to test with elisp
|
||||
;; documentation or git commit
|
||||
;; first line thing
|
||||
(constants green)
|
||||
(functions blue)
|
||||
(keywords orange)
|
||||
(methods blue) ;; wtf is the difference between this and function?
|
||||
(operators magenta)
|
||||
(type cyan)
|
||||
(strings yellow)
|
||||
;; (variables (doom-lighten magenta 0.4))
|
||||
(variables red)
|
||||
(numbers yellow)
|
||||
(region `(,(doom-lighten (car bg-alt) 0.15) ,@(doom-lighten (cdr base0) 0.35)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified yellow)
|
||||
(vc-added green)
|
||||
(vc-deleted red))
|
||||
|
||||
;; extra faces
|
||||
;; i have no idea what im doing with the modeline
|
||||
((mode-line
|
||||
:background (doom-darken bg-alt 0.15))
|
||||
(mode-line-inactive
|
||||
:background (doom-darken bg-alt 0.1)
|
||||
:foreground base5)
|
||||
(doom-modeline-bar :background highlight)
|
||||
;; line numbers
|
||||
(line-number :foreground ui2)
|
||||
(line-number-current-line :foreground fg)
|
||||
;; rjsx stuff
|
||||
(rjsx-text :foreground fg)
|
||||
;; tooltip
|
||||
(tooltip :background (doom-darken bg-alt 0.2) :foreground fg)
|
||||
|
||||
(ivy-posframe-border :background ui3)
|
||||
|
||||
;; org
|
||||
((org-block &override) :background bg-alt)
|
||||
((org-block-begin-line &override) :background bg-alt)
|
||||
((org-block-end-line &override) :background bg-alt)
|
||||
((outline-3 &override) :foreground dark-blue))) ; this is ff0000 from something above, dunno what
|
||||
|
||||
;;; doom-snazzy-theme.el ends here
|
202
elpa/doom-themes-20210322.1750/doom-solarized-dark-theme.el
Normal file
202
elpa/doom-themes-20210322.1750/doom-solarized-dark-theme.el
Normal file
|
@ -0,0 +1,202 @@
|
|||
;;; doom-solarized-dark-theme.el --- inspired by VS Code Solarized Dark -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-solarized-dark-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-solarized-dark-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-solarized-dark-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-solarized-dark-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-solarized-dark-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-solarized-dark-brighter-text nil
|
||||
"If non-nil, default text will be brighter."
|
||||
:group 'doom-solarized-dark-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-solarized-dark-comment-bg doom-solarized-dark-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-solarized-dark-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-solarized-dark-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-solarized-dark-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-solarized-dark
|
||||
"A dark theme inspired by VS Code Solarized Dark"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#002b36" "#002b36" nil ))
|
||||
(bg-alt '("#00212B" "#00212B" nil ))
|
||||
(base0 '("#073642" "#073642" "black" ))
|
||||
(base1 '("#03282F" "#03282F" "brightblack" ))
|
||||
(base2 '("#00212C" "#00212C" "brightblack" ))
|
||||
(base3 '("#13383C" "#13383C" "brightblack" ))
|
||||
(base4 '("#56697A" "#56697A" "brightblack" ))
|
||||
(base5 '("#405A61" "#405A61" "brightblack" ))
|
||||
(base6 '("#96A7A9" "#96A7A9" "brightblack" ))
|
||||
(base7 '("#788484" "#788484" "brightblack" ))
|
||||
(base8 '("#626C6C" "#626C6C" "white" ))
|
||||
(fg-alt '("#657b83" "#657b83" "white" ))
|
||||
(fg (if doom-solarized-dark-brighter-text
|
||||
'("#BBBBBB" "#BBBBBB" "brightwhite")
|
||||
'("#839496" "#839496" "brightwhite")))
|
||||
|
||||
(grey base4)
|
||||
(red '("#dc322f" "#ff6655" "red" ))
|
||||
(orange '("#cb4b16" "#dd8844" "brightred" ))
|
||||
(green '("#859900" "#99bb66" "green" ))
|
||||
(teal '("#35a69c" "#33aa99" "brightgreen" ))
|
||||
(yellow '("#b58900" "#ECBE7B" "yellow" ))
|
||||
(blue '("#268bd2" "#51afef" "brightblue" ))
|
||||
(dark-blue '("#3F88AD" "#2257A0" "blue" ))
|
||||
(magenta '("#d33682" "#c678dd" "magenta" ))
|
||||
(violet '("#6c71c4" "#a9a1e1" "brightmagenta"))
|
||||
(cyan '("#2aa198" "#46D9FF" "brightcyan" ))
|
||||
(dark-cyan '("#204052" "#5699AF" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.5))
|
||||
(selection dark-blue)
|
||||
(builtin blue)
|
||||
(comments (if doom-solarized-dark-brighter-comments blue base5))
|
||||
(doc-comments teal)
|
||||
(constants magenta)
|
||||
(functions blue)
|
||||
(keywords green)
|
||||
(methods cyan)
|
||||
(operators orange)
|
||||
(type yellow)
|
||||
(strings cyan)
|
||||
(variables violet)
|
||||
(numbers magenta)
|
||||
(region base0)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified yellow)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-solarized-dark-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-solarized-dark-padded-modeline
|
||||
(if (integerp doom-solarized-dark-padded-modeline) doom-solarized-dark-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
base3
|
||||
`(,(doom-darken (car bg) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((company-tooltip-selection :background dark-cyan)
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(helm-selection :inherit 'bold
|
||||
:background selection
|
||||
:distant-foreground bg
|
||||
:extend t)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-solarized-dark-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
(font-lock-keyword-face
|
||||
:weight 'bold
|
||||
:foreground keywords)
|
||||
(font-lock-constant-face
|
||||
:weight 'bold
|
||||
:foreground constants)
|
||||
|
||||
;; Centaur tabs
|
||||
(centaur-tabs-active-bar-face :background blue)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected
|
||||
:foreground blue)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected
|
||||
:foreground blue)
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background blue)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
(markdown-url-face :foreground teal :weight 'normal)
|
||||
(markdown-reference-face :foreground base6)
|
||||
((markdown-bold-face &override) :foreground fg)
|
||||
((markdown-italic-face &override) :foreground fg-alt)
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground blue)
|
||||
((outline-2 &override) :foreground green)
|
||||
((outline-3 &override) :foreground teal)
|
||||
((outline-4 &override) :foreground (doom-darken blue 0.2))
|
||||
((outline-5 &override) :foreground (doom-darken green 0.2))
|
||||
((outline-6 &override) :foreground (doom-darken teal 0.2))
|
||||
((outline-7 &override) :foreground (doom-darken blue 0.4))
|
||||
((outline-8 &override) :foreground (doom-darken green 0.4))
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base0)
|
||||
((org-block-begin-line &override) :foreground comments :background base0)
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden))
|
||||
;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-solarized-dark-theme.el ends here
|
217
elpa/doom-themes-20210322.1750/doom-solarized-light-theme.el
Normal file
217
elpa/doom-themes-20210322.1750/doom-solarized-light-theme.el
Normal file
|
@ -0,0 +1,217 @@
|
|||
;;; doom-solarized-light-theme.el --- inspired by Atom One Dark -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-solarized-light-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-solarized-light-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-solarized-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-solarized-light-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-solarized-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-solarized-light-comment-bg doom-solarized-light-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-solarized-light-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-solarized-light-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-solarized-light-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-solarized-light
|
||||
"A light theme inspired by Solarized light"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#FDF6E3" "#FDF6E3" nil ))
|
||||
(bg-alt '("#FFFBEA" "#FFFBEA" nil ))
|
||||
(base0 '("#FFFBF0" "#FFFBF0" "white" ))
|
||||
(base1 '("#FCF8ED" "#FCF8ED" "brightblack" ))
|
||||
(base2 '("#FCF7E8" "#FCF7E8" "brightblack" ))
|
||||
(base3 '("#F2E6CE" "#F2E6CE" "brightblack" ))
|
||||
(base4 '("#E1DBCD" "#E1DBCD" "brightblack" ))
|
||||
(base5 '("#D6D6D6" "#D6D6D6" "brightblack" ))
|
||||
(base6 '("#96A7A9" "#96A7A9" "brightblack" ))
|
||||
(base7 '("#788484" "#788484" "brightblack" ))
|
||||
(base8 '("#626C6C" "#626C6C" "black" ))
|
||||
(fg '("#556b72" "#556b72" "black" ))
|
||||
(fg-alt '("#7B8787" "#7B8787" "brightwhite" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#dc322f" "#dc322f" "red" ))
|
||||
(orange '("#cb4b16" "#cb4b16" "brightred" ))
|
||||
(green '("#859900" "#859900" "green" ))
|
||||
(teal '("#35a69c" "#35a69c" "brightgreen" ))
|
||||
(yellow '("#b58900" "#b58900" "yellow" ))
|
||||
(blue '("#268bd2" "#268bd2" "brightblue" ))
|
||||
(dark-blue '("#3F88AD" "#3F88AD" "blue" ))
|
||||
(magenta '("#d33682" "#d33682" "magenta" ))
|
||||
(violet '("#6c71c4" "#6c71c4" "brightmagenta"))
|
||||
(cyan '("#2aa198" "#2aa198" "brightcyan" ))
|
||||
(dark-cyan '("#204052" "#204052" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar base4)
|
||||
(selection dark-blue)
|
||||
(builtin magenta)
|
||||
(comments (if doom-solarized-light-brighter-comments
|
||||
(doom-lighten teal 0.25)
|
||||
base6))
|
||||
(doc-comments teal)
|
||||
(constants violet)
|
||||
(functions magenta)
|
||||
(keywords green)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type yellow)
|
||||
(strings cyan)
|
||||
(variables blue)
|
||||
(numbers violet)
|
||||
(region `(,(doom-darken (car bg-alt) 0.1) ,@(doom-darken (cdr base0) 0.1)))
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-solarized-light-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-solarized-light-padded-modeline
|
||||
(if (integerp doom-solarized-light-padded-modeline) doom-solarized-light-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base6)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-lighten bg 0.7)
|
||||
(doom-lighten base3 0.2)))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-lighten bg 0.7)
|
||||
(doom-darken bg 0.05)))
|
||||
(modeline-bg-inactive (doom-darken bg 0.02))
|
||||
(modeline-bg-inactive-l (doom-darken bg 0.025)))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(hl-line :background base3)
|
||||
|
||||
((line-number &override) :foreground base6)
|
||||
((line-number-current-line &override) :foreground fg :background region :weight 'bold)
|
||||
|
||||
(org-block :background (doom-blend yellow bg 0.04) :extend t)
|
||||
(org-block-background :background (doom-blend yellow bg 0.04))
|
||||
(org-block-begin-line :background (doom-blend yellow bg 0.08) :extend t)
|
||||
(org-block-end-line :background (doom-blend yellow bg 0.08) :extend t)
|
||||
(lsp-ui-sideline-code-action :foreground blue)
|
||||
|
||||
(font-lock-comment-face
|
||||
:slant 'italic
|
||||
:foreground comments
|
||||
:background (if doom-solarized-light-comment-bg (doom-blend teal base0 0.07)))
|
||||
((font-lock-doc-face &override) :foreground doc-comments)
|
||||
((font-lock-type-face &override) :slant 'italic)
|
||||
((font-lock-builtin-face &override) :slant 'italic)
|
||||
((font-lock-function-name-face &override) :foreground type)
|
||||
|
||||
(font-lock-keyword-face
|
||||
:weight 'bold
|
||||
:foreground keywords)
|
||||
|
||||
(font-lock-constant-face
|
||||
:weight 'bold
|
||||
:foreground constants)
|
||||
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;; ivy-mode
|
||||
(ivy-current-match :background (doom-lighten yellow 0.65) :distant-foreground fg)
|
||||
(ivy-minibuffer-match-face-1 :foreground blue :background base3 :weight 'bold)
|
||||
(ivy-minibuffer-match-face-2 :foreground magenta :background base3 :weight 'bold)
|
||||
(ivy-minibuffer-match-face-3 :foreground green :background base3 :weight 'bold)
|
||||
(ivy-minibuffer-match-face-4 :foreground yellow :background base3 :weight 'bold)
|
||||
(ivy-minibuffer-match-highlight :foreground violet :weight 'bold)
|
||||
(swiper-match-face-1 :inherit 'ivy-minibuffer-match-face-1)
|
||||
(swiper-match-face-2 :inherit 'ivy-minibuffer-match-face-2)
|
||||
(swiper-match-face-3 :inherit 'ivy-minibuffer-match-face-3)
|
||||
(swiper-match-face-4 :inherit 'ivy-minibuffer-match-face-4)
|
||||
|
||||
;; posframe
|
||||
(ivy-posframe :background modeline-bg-l)
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden)
|
||||
|
||||
;; helm
|
||||
(helm-selection :foreground base0 :weight 'bold :background blue)
|
||||
|
||||
;; company
|
||||
(company-tooltip-selection :background blue
|
||||
:foreground base3)
|
||||
|
||||
;; widget
|
||||
(widget-field :foreground fg :background base3)
|
||||
(widget-single-line-field :foreground fg :background base3)
|
||||
|
||||
;; latex
|
||||
(font-latex-sedate-face :foreground base6)
|
||||
|
||||
;; notmuch
|
||||
(notmuch-message-summary-face :foreground teal)
|
||||
(notmuch-wash-cited-text :foreground base6)
|
||||
|
||||
)
|
||||
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-solarized-light-theme.el ends here
|
182
elpa/doom-themes-20210322.1750/doom-sourcerer-theme.el
Normal file
182
elpa/doom-themes-20210322.1750/doom-sourcerer-theme.el
Normal file
|
@ -0,0 +1,182 @@
|
|||
;; doom-sourcerer-theme.el --- a more Sourcerer version of doom-one -*- no-byte-compile: t; -*-
|
||||
;;; Commentary:
|
||||
(require 'doom-themes)
|
||||
;;; Code:
|
||||
;;
|
||||
(defgroup doom-sourcerer-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-sourcerer-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-sourcerer-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-sourcerer-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-sourcerer-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-sourcerer-comment-bg doom-sourcerer-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background.
|
||||
Enhancing their legibility."
|
||||
:group 'doom-sourcerer-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-sourcerer-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-sourcerer-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-sourcerer
|
||||
"A dark theme based off of xero's Sourcerer VIM colorscheme"
|
||||
|
||||
((bg '("#222222"))
|
||||
(bg-alt '("#171717"))
|
||||
(base0 '("#1d2127"))
|
||||
(base1 '("#1d2127"))
|
||||
(base2 '("#272727"))
|
||||
(base3 '("#32353f"))
|
||||
(base4 '("#494952"))
|
||||
(base5 '("#62686E"))
|
||||
(base6 '("#757B80"))
|
||||
(base7 '("#9ca0a4"))
|
||||
(base8 '("#faf4c6"))
|
||||
(fg '("#c2c2b0"))
|
||||
(fg-alt '("#5D656B"))
|
||||
|
||||
(grey '("#686858"))
|
||||
(red '("#aa4450"))
|
||||
(orange '("#ff9800"))
|
||||
(green '("#87875f"))
|
||||
(green-br '("#719611"))
|
||||
(teal '("#578F8F" "#44b9b1" ))
|
||||
(yellow '("#cc8800" ))
|
||||
(blue '("#87AFD7" ))
|
||||
(dark-blue '("#6688aa" ))
|
||||
(magenta '("#8787AF" ))
|
||||
(violet '("#8181a6" ))
|
||||
(cyan '("#87ceeb" ))
|
||||
(dark-cyan '("#528b8b" ))
|
||||
;; face categories
|
||||
(highlight cyan)
|
||||
(vertical-bar base0)
|
||||
(selection base5)
|
||||
(builtin blue)
|
||||
(comments (if doom-sourcerer-brighter-comments dark-cyan grey))
|
||||
(doc-comments (if doom-sourcerer-brighter-comments (doom-lighten dark-cyan 0.15) (doom-darken grey 0.1)))
|
||||
(constants teal)
|
||||
(functions base8)
|
||||
(keywords blue)
|
||||
(methods magenta)
|
||||
(operators green-br)
|
||||
(type violet)
|
||||
(strings green)
|
||||
(variables base8)
|
||||
(numbers yellow)
|
||||
(region base3)
|
||||
(error red)
|
||||
(warning orange)
|
||||
(success green)
|
||||
(vc-modified yellow)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(hidden-alt `(,(car bg-alt) "black" "black"))
|
||||
(-modeline-pad
|
||||
(when doom-sourcerer-padded-modeline
|
||||
(if (integerp doom-sourcerer-padded-modeline) doom-sourcerer-padded-modeline 4)))
|
||||
|
||||
(modeline-fg "#bbc2cf")
|
||||
(modeline-fg-alt (doom-blend blue grey (if doom-sourcerer-brighter-modeline 0.4 0.08)))
|
||||
|
||||
(modeline-bg
|
||||
(if doom-sourcerer-brighter-modeline
|
||||
`("#383f58" ,@(cdr base1))
|
||||
`(,(car base3) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if doom-sourcerer-brighter-modeline
|
||||
modeline-bg
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base1))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.20))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.2) ,@(cdr base0))))
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
(cursor :background blue)
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-sourcerer-comment-bg (doom-darken bg-alt 0.095)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
(mode-line-buffer-id :foreground green-br :bold bold)
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground blue :bold bold)
|
||||
|
||||
(doom-modeline-bar :background (if doom-sourcerer-brighter-modeline modeline-bg highlight))
|
||||
(doom-modeline-buffer-path :foreground (if doom-sourcerer-brighter-modeline base8 blue) :bold bold)
|
||||
|
||||
(mode-line
|
||||
:background base3 :foreground modeline-fg
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,base3)))
|
||||
(mode-line-inactive
|
||||
:background bg-alt :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if doom-sourcerer-brighter-modeline base8 highlight))
|
||||
(fringe :background base2)
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; tooltip and company
|
||||
(tooltip :background bg-alt :foreground fg)
|
||||
(company-tooltip-selection :background base3)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
;; rainbow-delimiters
|
||||
(rainbow-delimiters-depth-1-face :foreground dark-cyan)
|
||||
(rainbow-delimiters-depth-2-face :foreground teal)
|
||||
(rainbow-delimiters-depth-3-face :foreground dark-blue)
|
||||
(rainbow-delimiters-depth-4-face :foreground green)
|
||||
(rainbow-delimiters-depth-5-face :foreground violet)
|
||||
(rainbow-delimiters-depth-6-face :foreground green)
|
||||
(rainbow-delimiters-depth-7-face :foreground orange)
|
||||
;; org-mode
|
||||
((org-block &override) :background bg-alt)
|
||||
((org-block-begin-line &override) :background bg-alt)
|
||||
((org-block-end-line &override) :background bg-alt)
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden-alt)
|
||||
|
||||
;; rjsx-mode
|
||||
(rjsx-tag :foreground blue)
|
||||
(rjsx-tag-bracket-face :foreground base8)
|
||||
(rjsx-attr :foreground magenta :slant 'italic :weight 'medium)
|
||||
)
|
||||
|
||||
|
||||
;; --- extra variables --------------------
|
||||
;; ()
|
||||
|
||||
)
|
||||
|
||||
;;; doom-sourcerer-theme.el ends here
|
182
elpa/doom-themes-20210322.1750/doom-spacegrey-theme.el
Normal file
182
elpa/doom-themes-20210322.1750/doom-spacegrey-theme.el
Normal file
|
@ -0,0 +1,182 @@
|
|||
;;; doom-spacegrey-theme.el --- inspired by Atom Spacegrey Dark -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-spacegrey-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-spacegrey-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-spacegrey-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-spacegrey-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-spacegrey-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-spacegrey-comment-bg doom-spacegrey-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-spacegrey-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-spacegrey-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-spacegrey-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-spacegrey
|
||||
"A dark theme inspired by Atom Spacegrey Dark"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#2b303b" nil nil ))
|
||||
(bg-alt '("#232830" nil nil ))
|
||||
(base0 '("#1B2229" "black" "black" ))
|
||||
(base1 '("#1c1f24" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#202328" "#2e2e2e" "brightblack" ))
|
||||
(base3 '("#2F3237" "#2F3237" "brightblack" ))
|
||||
(base4 '("#4f5b66" "#4f5b66" "brightblack" ))
|
||||
(base5 '("#65737E" "#65737E" "brightblack" ))
|
||||
(base6 '("#73797e" "#6b6b6b" "brightblack" ))
|
||||
(base7 '("#9ca0a4" "#979797" "brightblack" ))
|
||||
(base8 '("#DFDFDF" "#dfdfdf" "white" ))
|
||||
(fg '("#c0c5ce" "#c0c5ce" "brightwhite" ))
|
||||
(fg-alt '("#c0c5ce" "#c0c5ce" "white" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#BF616A" "#BF616A" "red" ))
|
||||
(orange '("#D08770" "#D08770" "brightred" ))
|
||||
(green '("#A3BE8C" "#A3BE8C" "green" ))
|
||||
(blue '("#8FA1B3" "#8FA1B3" "brightblue" ))
|
||||
(violet '("#b48ead" "#b48ead" "brightmagenta"))
|
||||
(teal '("#4db5bd" "#44b9b1" "brightgreen" ))
|
||||
(yellow '("#ECBE7B" "#ECBE7B" "yellow" ))
|
||||
(dark-blue '("#2257A0" "#2257A0" "blue" ))
|
||||
(magenta '("#c678dd" "#c678dd" "magenta" ))
|
||||
(cyan '("#46D9FF" "#46D9FF" "brightcyan" ))
|
||||
(dark-cyan '("#5699AF" "#5699AF" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight orange)
|
||||
(vertical-bar (doom-darken bg 0.25))
|
||||
(selection base4)
|
||||
(builtin orange)
|
||||
(comments (if doom-spacegrey-brighter-comments dark-cyan base5))
|
||||
(doc-comments (doom-lighten (if doom-spacegrey-brighter-comments dark-cyan base5) 0.25))
|
||||
(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 orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg-alt) "black" "black"))
|
||||
(-modeline-bright doom-spacegrey-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-spacegrey-padded-modeline
|
||||
(if (integerp doom-spacegrey-padded-modeline) doom-spacegrey-padded-modeline 4)))
|
||||
|
||||
|
||||
|
||||
;; --- Modeline config -------------------
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt (doom-blend violet base4 (if -modeline-bright 0.5 0.2)))
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken base3 0.05)
|
||||
base1))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken base3 0.1)
|
||||
base1))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.05) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-spacegrey-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground fg)
|
||||
(css-selector :foreground red)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-darken bg 0.1))
|
||||
|
||||
;; org-mode
|
||||
(org-block :background (doom-darken bg-alt 0.04))
|
||||
(org-block-begin-line :foreground base4 :slant 'italic :background (doom-darken bg 0.04))
|
||||
|
||||
((outline-1 &override) :foreground fg :weight 'ultra-bold)
|
||||
((outline-2 &override) :foreground (doom-blend fg blue 0.35))
|
||||
((outline-3 &override) :foreground (doom-blend fg blue 0.7))
|
||||
((outline-4 &override) :foreground blue)
|
||||
((outline-5 &override) :foreground (doom-blend magenta blue 0.2))
|
||||
((outline-6 &override) :foreground (doom-blend magenta blue 0.4))
|
||||
((outline-7 &override) :foreground (doom-blend magenta blue 0.6))
|
||||
((outline-8 &override) :foreground fg)
|
||||
|
||||
(org-ellipsis :underline nil :background bg :foreground red)
|
||||
((org-quote &override) :background base1)
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground bg)
|
||||
(solaire-org-hide-face :foreground hidden)
|
||||
|
||||
(tooltip :background bg-alt :foreground fg))
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-spacegrey-theme.el ends here
|
552
elpa/doom-themes-20210322.1750/doom-themes-autoloads.el
Normal file
552
elpa/doom-themes-20210322.1750/doom-themes-autoloads.el
Normal file
|
@ -0,0 +1,552 @@
|
|||
;;; doom-themes-autoloads.el --- automatically extracted autoloads -*- lexical-binding: t -*-
|
||||
;;
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'load-path (directory-file-name
|
||||
(or (file-name-directory #$) (car load-path))))
|
||||
|
||||
|
||||
;;;### (autoloads nil "doom-Iosvkem-theme" "doom-Iosvkem-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-Iosvkem-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-Iosvkem-theme" '("doom-Iosvkem"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-acario-dark-theme" "doom-acario-dark-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-acario-dark-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-acario-dark-theme" '("doom-acario-dark"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-acario-light-theme" "doom-acario-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-acario-light-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-acario-light-theme" '("doom-acario-light"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-ayu-light-theme" "doom-ayu-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-ayu-light-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-ayu-light-theme" '("doom-ayu-light"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-ayu-mirage-theme" "doom-ayu-mirage-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-ayu-mirage-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-ayu-mirage-theme" '("doom-ayu-mirage"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-challenger-deep-theme" "doom-challenger-deep-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-challenger-deep-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-challenger-deep-theme" '("doom-challenger-deep"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-city-lights-theme" "doom-city-lights-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-city-lights-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-city-lights-theme" '("doom-city-lights"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-dark+-theme" "doom-dark+-theme.el" (0
|
||||
;;;;;; 0 0 0))
|
||||
;;; Generated autoloads from doom-dark+-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-dark+-theme" '("doom-dark+"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-dracula-theme" "doom-dracula-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-dracula-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-dracula-theme" '("doom-dracula"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-ephemeral-theme" "doom-ephemeral-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-ephemeral-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-ephemeral-theme" '("doom-ephemeral"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-fairy-floss-theme" "doom-fairy-floss-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-fairy-floss-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-fairy-floss-theme" '("doom-fairy-floss"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-flatwhite-theme" "doom-flatwhite-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-flatwhite-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-flatwhite-theme" '("doom-f"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-gruvbox-light-theme" "doom-gruvbox-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-gruvbox-light-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-gruvbox-light-theme" '("doom-gruvbox-light"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-gruvbox-theme" "doom-gruvbox-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-gruvbox-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-gruvbox-theme" '("doom-gruvbox"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-henna-theme" "doom-henna-theme.el" (0
|
||||
;;;;;; 0 0 0))
|
||||
;;; Generated autoloads from doom-henna-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-henna-theme" '("doom-henna"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-homage-black-theme" "doom-homage-black-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-homage-black-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-homage-black-theme" '("doom-homage-black"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-homage-white-theme" "doom-homage-white-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-homage-white-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-homage-white-theme" '("doom-homage-white"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-horizon-theme" "doom-horizon-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-horizon-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-horizon-theme" '("doom-horizon"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-laserwave-theme" "doom-laserwave-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-laserwave-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-laserwave-theme" '("doom-laserwave"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-manegarm-theme" "doom-manegarm-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-manegarm-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-manegarm-theme" '("doom-manegarm"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-material-theme" "doom-material-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-material-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-material-theme" '("doom-material"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-miramare-theme" "doom-miramare-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-miramare-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-miramare-theme" '("doom-miramare"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-molokai-theme" "doom-molokai-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-molokai-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-molokai-theme" '("doom-molokai"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-monokai-classic-theme" "doom-monokai-classic-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-monokai-classic-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-monokai-classic-theme" '("doom-monokai-classic"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-monokai-pro-theme" "doom-monokai-pro-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-monokai-pro-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-monokai-pro-theme" '("doom-monokai-pro"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-monokai-spectrum-theme" "doom-monokai-spectrum-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-monokai-spectrum-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-monokai-spectrum-theme" '("doom-monokai-spectrum"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-moonlight-theme" "doom-moonlight-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-moonlight-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-moonlight-theme" '("doom-moonlight"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-nord-light-theme" "doom-nord-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-nord-light-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-nord-light-theme" '("doom-nord-light"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-nord-theme" "doom-nord-theme.el" (0 0
|
||||
;;;;;; 0 0))
|
||||
;;; Generated autoloads from doom-nord-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-nord-theme" '("doom-nord"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-nova-theme" "doom-nova-theme.el" (0 0
|
||||
;;;;;; 0 0))
|
||||
;;; Generated autoloads from doom-nova-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-nova-theme" '("doom-nova"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-oceanic-next-theme" "doom-oceanic-next-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-oceanic-next-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-oceanic-next-theme" '("doom-oceanic-next"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-old-hope-theme" "doom-old-hope-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-old-hope-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-old-hope-theme" '("doom-old-hope"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-one-light-theme" "doom-one-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-one-light-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-one-light-theme" '("doom-one-light"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-one-theme" "doom-one-theme.el" (0 0 0
|
||||
;;;;;; 0))
|
||||
;;; Generated autoloads from doom-one-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-one-theme" '("doom-one"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-opera-light-theme" "doom-opera-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-opera-light-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-opera-light-theme" '("doom-opera-light"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-opera-theme" "doom-opera-theme.el" (0
|
||||
;;;;;; 0 0 0))
|
||||
;;; Generated autoloads from doom-opera-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-opera-theme" '("doom-opera"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-outrun-electric-theme" "doom-outrun-electric-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-outrun-electric-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-outrun-electric-theme" '("doom-outrun-electric"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-palenight-theme" "doom-palenight-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-palenight-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-palenight-theme" '("doom-palenight"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-peacock-theme" "doom-peacock-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-peacock-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-peacock-theme" '("doom-peacock"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-plain-dark-theme" "doom-plain-dark-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-plain-dark-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-plain-dark-theme" '("doom-plain-"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-plain-theme" "doom-plain-theme.el" (0
|
||||
;;;;;; 0 0 0))
|
||||
;;; Generated autoloads from doom-plain-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-plain-theme" '("doom-plain"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-rouge-theme" "doom-rouge-theme.el" (0
|
||||
;;;;;; 0 0 0))
|
||||
;;; Generated autoloads from doom-rouge-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-rouge-theme" '("doom-rouge"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-snazzy-theme" "doom-snazzy-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-snazzy-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-snazzy-theme" '("doom-snazzy"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-solarized-dark-theme" "doom-solarized-dark-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-solarized-dark-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-solarized-dark-theme" '("doom-solarized-dark"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-solarized-light-theme" "doom-solarized-light-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-solarized-light-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-solarized-light-theme" '("doom-solarized-light"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-sourcerer-theme" "doom-sourcerer-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-sourcerer-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-sourcerer-theme" '("doom-sourcerer"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-spacegrey-theme" "doom-spacegrey-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-spacegrey-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-spacegrey-theme" '("doom-spacegrey"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-themes" "doom-themes.el" (0 0 0 0))
|
||||
;;; Generated autoloads from doom-themes.el
|
||||
|
||||
(autoload 'doom-name-to-rgb "doom-themes" "\
|
||||
Retrieves the hexidecimal string repesented the named COLOR (e.g. \"red\")
|
||||
for FRAME (defaults to the current frame).
|
||||
|
||||
\(fn COLOR)" nil nil)
|
||||
|
||||
(autoload 'doom-blend "doom-themes" "\
|
||||
Blend two colors (hexidecimal strings) together by a coefficient ALPHA (a
|
||||
float between 0 and 1)
|
||||
|
||||
\(fn COLOR1 COLOR2 ALPHA)" nil nil)
|
||||
|
||||
(autoload 'doom-darken "doom-themes" "\
|
||||
Darken a COLOR (a hexidecimal string) by a coefficient ALPHA (a float between
|
||||
0 and 1).
|
||||
|
||||
\(fn COLOR ALPHA)" nil nil)
|
||||
|
||||
(autoload 'doom-lighten "doom-themes" "\
|
||||
Brighten a COLOR (a hexidecimal string) by a coefficient ALPHA (a float
|
||||
between 0 and 1).
|
||||
|
||||
\(fn COLOR ALPHA)" nil nil)
|
||||
|
||||
(autoload 'doom-color "doom-themes" "\
|
||||
Retrieve a specific color named NAME (a symbol) from the current theme.
|
||||
|
||||
\(fn NAME &optional TYPE)" nil nil)
|
||||
|
||||
(autoload 'doom-ref "doom-themes" "\
|
||||
TODO
|
||||
|
||||
\(fn FACE PROP &optional CLASS)" nil nil)
|
||||
|
||||
(autoload 'doom-themes-set-faces "doom-themes" "\
|
||||
Customize THEME (a symbol) with FACES.
|
||||
|
||||
If THEME is nil, it applies to all themes you load. FACES is a list of Doom
|
||||
theme face specs. These is a simplified spec. For example:
|
||||
|
||||
(doom-themes-set-faces 'user
|
||||
'(default :background red :foreground blue)
|
||||
'(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
'(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
'(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
'(doom-modeline-buffer-project-root :foreground green :weight 'bold))
|
||||
|
||||
\(fn THEME &rest FACES)" nil nil)
|
||||
|
||||
(function-put 'doom-themes-set-faces 'lisp-indent-function 'defun)
|
||||
|
||||
(when (and (boundp 'custom-theme-load-path) load-file-name) (let* ((base (file-name-directory load-file-name)) (dir (expand-file-name "themes/" base))) (add-to-list 'custom-theme-load-path (or (and (file-directory-p dir) dir) base))))
|
||||
|
||||
(register-definition-prefixes "doom-themes" '("def-doom-theme" "doom-"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-themes-base" "doom-themes-base.el" (0
|
||||
;;;;;; 0 0 0))
|
||||
;;; Generated autoloads from doom-themes-base.el
|
||||
|
||||
(register-definition-prefixes "doom-themes-base" '("doom-themes-base-"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-themes-ext-neotree" "doom-themes-ext-neotree.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-themes-ext-neotree.el
|
||||
|
||||
(autoload 'doom-themes-neotree-config "doom-themes-ext-neotree" "\
|
||||
Install doom-themes' neotree configuration.
|
||||
|
||||
Includes an Atom-esque icon theme and highlighting based on filetype." nil nil)
|
||||
|
||||
(register-definition-prefixes "doom-themes-ext-neotree" '("doom-"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-themes-ext-org" "doom-themes-ext-org.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-themes-ext-org.el
|
||||
|
||||
(autoload 'doom-themes-org-config "doom-themes-ext-org" "\
|
||||
Load `doom-themes-ext-org'." nil nil)
|
||||
|
||||
(register-definition-prefixes "doom-themes-ext-org" '("doom-themes-"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-themes-ext-treemacs" "doom-themes-ext-treemacs.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-themes-ext-treemacs.el
|
||||
|
||||
(autoload 'doom-themes-treemacs-config "doom-themes-ext-treemacs" "\
|
||||
Install doom-themes' treemacs configuration.
|
||||
|
||||
Includes an Atom-esque icon theme and highlighting based on filetype." nil nil)
|
||||
|
||||
(register-definition-prefixes "doom-themes-ext-treemacs" '("doom-themes-"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-themes-ext-visual-bell" "doom-themes-ext-visual-bell.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-themes-ext-visual-bell.el
|
||||
|
||||
(autoload 'doom-themes-visual-bell-fn "doom-themes-ext-visual-bell" "\
|
||||
Blink the mode-line red briefly. Set `ring-bell-function' to this to use it." nil nil)
|
||||
|
||||
(autoload 'doom-themes-visual-bell-config "doom-themes-ext-visual-bell" "\
|
||||
Enable flashing the mode-line on error." nil nil)
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-tomorrow-day-theme" "doom-tomorrow-day-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-tomorrow-day-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-tomorrow-day-theme" '("doom-tomorrow-day"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-tomorrow-night-theme" "doom-tomorrow-night-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-tomorrow-night-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-tomorrow-night-theme" '("doom-tomorrow-night"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-vibrant-theme" "doom-vibrant-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-vibrant-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-vibrant-theme" '("doom-vibrant"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-wilmersdorf-theme" "doom-wilmersdorf-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-wilmersdorf-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-wilmersdorf-theme" '("doom-wilmersdorf"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil "doom-zenburn-theme" "doom-zenburn-theme.el"
|
||||
;;;;;; (0 0 0 0))
|
||||
;;; Generated autoloads from doom-zenburn-theme.el
|
||||
|
||||
(register-definition-prefixes "doom-zenburn-theme" '("doom-zenburn"))
|
||||
|
||||
;;;***
|
||||
|
||||
;;;### (autoloads nil nil ("doom-themes-pkg.el") (0 0 0 0))
|
||||
|
||||
;;;***
|
||||
|
||||
;; Local Variables:
|
||||
;; version-control: never
|
||||
;; no-byte-compile: t
|
||||
;; no-update-autoloads: t
|
||||
;; coding: utf-8
|
||||
;; End:
|
||||
;;; doom-themes-autoloads.el ends here
|
1369
elpa/doom-themes-20210322.1750/doom-themes-base.el
Normal file
1369
elpa/doom-themes-20210322.1750/doom-themes-base.el
Normal file
File diff suppressed because it is too large
Load Diff
BIN
elpa/doom-themes-20210322.1750/doom-themes-base.elc
Normal file
BIN
elpa/doom-themes-20210322.1750/doom-themes-base.elc
Normal file
Binary file not shown.
373
elpa/doom-themes-20210322.1750/doom-themes-ext-neotree.el
Normal file
373
elpa/doom-themes-20210322.1750/doom-themes-ext-neotree.el
Normal file
|
@ -0,0 +1,373 @@
|
|||
;;; doom-themes-ext-neotree.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defgroup doom-themes-neotree nil
|
||||
"Options for doom's neotree theme"
|
||||
:group 'doom-themes)
|
||||
|
||||
|
||||
;;
|
||||
;;; Variables
|
||||
|
||||
(defcustom doom-themes-neotree-project-size 1.4
|
||||
"What :height to display the project icon at the top at."
|
||||
:type 'float
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-folder-size 1.05
|
||||
"What :height to display the folder icons at."
|
||||
:type 'float
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-chevron-size 0.8
|
||||
"What :height to display the chevron icons at."
|
||||
:type 'float
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-line-spacing 2
|
||||
"Line-spacing for neotree buffer."
|
||||
:type 'symbol
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-file-icons 'simple
|
||||
"The style to use for the file icons. Can be nil (disabled), non-nil (for a
|
||||
diverse iconset), or 'simple, which is closest's to Atom's style as it only
|
||||
distinguishes text, source, pdfs, images and binary files."
|
||||
:type '(choice
|
||||
(const :tag "A diverse array of file icons based on file type" t)
|
||||
(const :tag "Minimalistic file icons (like Atom's)" 'simple)
|
||||
(const :tag "Disable file icons" nil))
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-enable-folder-icons t
|
||||
"If non-nil, display folder icons next to each file. Different icons are used
|
||||
depending on whether the folder is a repo, symlink or regular folder."
|
||||
:type 'boolean
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-enable-open-chevron-icons t
|
||||
"If non-nil, display the chevron-down icon next to each expanded folder."
|
||||
:type 'boolean
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-enable-closed-chevron-icons t
|
||||
"If non-nil, display the chevron-right icon next to each collapsed folder."
|
||||
:type 'boolean
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-enable-variable-pitch nil
|
||||
"If non-nil, labels will use the `doom-themes-neotree-dir-face' and
|
||||
`doom-themes-neotree-dir-face' faces, which inherit from the `variable-pitch' face."
|
||||
:type 'boolean
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defcustom doom-themes-neotree-enable-type-colors t
|
||||
"If non-nil, color each file/folder based on the categories determined by
|
||||
`doom-themes-neotree-file-face-re-alist'."
|
||||
:type 'boolean
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
|
||||
(defun doom-themes--neo-is-repo-dir-p (path)
|
||||
(or (file-exists-p (format "%s/.git" path))
|
||||
(all-the-icons-dir-is-submodule path)))
|
||||
|
||||
(defvar doom-themes-neotree-dir-rules
|
||||
(eval-when-compile
|
||||
`(("/\\(?:node_modules\\|vendor\\)$"
|
||||
:face doom-themes-neotree-hidden-file-face)
|
||||
("/\\.[^$/#]+$"
|
||||
:face doom-themes-neotree-hidden-file-face)
|
||||
(file-symlink-p
|
||||
:icon (all-the-icons-octicon "file-symlink-directory"))
|
||||
(doom-themes--neo-is-repo-dir-p
|
||||
:icon (all-the-icons-octicon "file-submodule"))
|
||||
(t :icon (all-the-icons-octicon "file-directory"))))
|
||||
"TODO")
|
||||
|
||||
(defvar doom-themes-neotree-file-rules
|
||||
(eval-when-compile
|
||||
`((file-symlink-p
|
||||
:icon (all-the-icons-octicon "file-symlink-file"))
|
||||
(file-executable-p
|
||||
:face doom-themes-neotree-executable-file-face
|
||||
:icon (all-the-icons-octicon "file-binary"))
|
||||
("\\.\\(?:md\\|org\\|rst\\|log\\)\\|/[A-Z_-]+\\(?:\\.[a-z]+\\)?$"
|
||||
:face doom-themes-neotree-text-file-face
|
||||
:icon (all-the-icons-octicon "file-text"))
|
||||
(,(concat "\\." (regexp-opt '("htm" "html" "phtml" "tpl" "erb" "mustache"
|
||||
"twig" "ejs" "erb" "jsx" "haml" "inky-haml"
|
||||
"inky-slim" "slim" "pug" "jade"))
|
||||
"$")
|
||||
:icon (all-the-icons-octicon "file-code"))
|
||||
(,(concat "\\(?:/\\(?:Gemfile\\|Vagrantfile\\|Makefile\\|Rakefile\\|Cask\\|\\.[^$]+rc\\|\\)\\|"
|
||||
"\\." (regexp-opt '("json" "cson" "yaml" "yml" "xml" "toml"
|
||||
"tpl" "ini" "erb" "mustache" "twig" "ejs"
|
||||
"mk" "haml" "pug" "jade"))
|
||||
"\\)$")
|
||||
:icon (all-the-icons-octicon "file-code"))
|
||||
(,(concat "\\."
|
||||
(regexp-opt '("png" "jpg" "jpeg" "gif" "ico" "tif" "tiff"
|
||||
"svg" "bmp" "psd" "ai" "eps" "indd" ; images
|
||||
"mov" "avi" "mp4" "webm" "mkv" ; video
|
||||
"wav" "mp3" "ogg" "midi")) ; audio
|
||||
"$")
|
||||
:face doom-themes-neotree-data-file-face
|
||||
:icon (all-the-icons-octicon "file-media"))
|
||||
(,(concat "\\.\\(?:[gl]?zip\\|bzip2\\|deb\\|dmg\\|iso\\|7z\\|rpm\\|pkg\\|dat\\|[rjt]ar\\(?:\\.gz\\)?\\)$")
|
||||
:face doom-themes-neotree-data-file-face
|
||||
:icon (all-the-icons-octicon "file-zip"))
|
||||
("\\.pdf$"
|
||||
:face doom-themes-neotree-data-file-face
|
||||
:icon (all-the-icons-octicon "file-pdf"))
|
||||
("\\.\\(?:lock\\|resolved\\|dll\\|so\\|pyc\\|elc\\|class\\|css\\.map\\)$"
|
||||
:face doom-themes-neotree-hidden-file-face
|
||||
:icon (all-the-icons-octicon "file-binary"))
|
||||
("/\\.[^$/#]+$"
|
||||
:face doom-themes-neotree-hidden-file-face)
|
||||
(t :icon (all-the-icons-octicon "file-text"))))
|
||||
"TODO")
|
||||
|
||||
|
||||
;;
|
||||
;;; Faces
|
||||
|
||||
(defface doom-themes-neotree-dir-face '((t (:inherit neo-dir-link-face)))
|
||||
"Face for directory labels."
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defface doom-themes-neotree-file-face '((t (:inherit neo-file-link-face)))
|
||||
"Face for file name labels."
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
;; file type faces
|
||||
(defface doom-themes-neotree-hidden-file-face '((t (:inherit font-lock-comment-face)))
|
||||
"Face for labels of hidden files. See `doom-themes-neotree-file-face-re-alist'."
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defface doom-themes-neotree-text-file-face '((t (:inherit neo-file-link-face)))
|
||||
"Face for labels of text/documentation files (readmes, org files, etc). See
|
||||
`doom-themes-neotree-file-face-re-alist'."
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defface doom-themes-neotree-media-file-face '((t (:inherit neo-file-link-face)))
|
||||
"Face for labels of media files. See `doom-themes-neotree-file-face-re-alist'."
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defface doom-themes-neotree-data-file-face '((t (:inherit neo-file-link-face)))
|
||||
"Face for labels of data files (json, yaml, xml, etc). See
|
||||
`doom-themes-neotree-file-face-re-alist'."
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
(defface doom-themes-neotree-executable-file-face '((t (:inherit neo-file-link-face)))
|
||||
"TODO"
|
||||
:group 'doom-themes-neotree)
|
||||
|
||||
|
||||
;;
|
||||
;;; Helpers
|
||||
|
||||
(defun doom-themes--neotree-no-fringes ()
|
||||
"Remove fringes in neotree.
|
||||
They are reset each time you select the neotree pane and highlighted
|
||||
incorrectly, so remove them."
|
||||
(set-window-fringes neo-global--window 0 0))
|
||||
|
||||
(defun doom-themes--neotree-setup (&rest _)
|
||||
(setq line-spacing doom-themes-neotree-line-spacing
|
||||
tab-width 1)
|
||||
(when (featurep 'hl-line)
|
||||
(set (make-local-variable 'hl-line-sticky-flag) t)
|
||||
(hl-line-mode +1)))
|
||||
|
||||
(defun doom-themes-neotree-spec (node rules)
|
||||
(let (case-fold-search)
|
||||
(cl-loop for spec in rules
|
||||
for pred = (car spec)
|
||||
for plist = (cdr spec)
|
||||
when
|
||||
(cond ((eq pred 't))
|
||||
((symbolp pred) (funcall pred node))
|
||||
((stringp pred) (string-match-p pred node)))
|
||||
return plist)))
|
||||
|
||||
(defun doom--neotree-insert-file-icon (node icon &optional faces)
|
||||
(if node
|
||||
(cond ((eq doom-themes-neotree-file-icons 'simple)
|
||||
(propertize
|
||||
(if icon
|
||||
(apply (car icon) (cdr icon))
|
||||
(all-the-icons-octicon "file-text"))
|
||||
'face `(:inherit ,faces
|
||||
:family ,(all-the-icons-octicon-family)
|
||||
:height 1.3)
|
||||
'display '(raise 0)))
|
||||
(t (all-the-icons-icon-for-file node)))
|
||||
(all-the-icons-fileicon "default")))
|
||||
|
||||
(defun doom--neotree-insert-dir-icon (node type &optional faces)
|
||||
(concat (if type
|
||||
(all-the-icons-octicon
|
||||
(format "chevron-%s" (if (eq type 'open) "down" "right"))
|
||||
:v-adjust 0.1
|
||||
:height doom-themes-neotree-chevron-size
|
||||
:face `(:inherit ,faces
|
||||
:family ,(all-the-icons-octicon-family)
|
||||
:height ,doom-themes-neotree-chevron-size))
|
||||
"\t")
|
||||
"\t"
|
||||
(when doom-themes-neotree-enable-folder-icons
|
||||
(all-the-icons-octicon
|
||||
(cond ((file-symlink-p node) "file-symlink-directory")
|
||||
((file-exists-p (format "%s/.git" node)) "file-submodule")
|
||||
((all-the-icons-dir-is-submodule node) "file-submodule")
|
||||
("file-directory"))
|
||||
:v-adjust 0
|
||||
:height doom-themes-neotree-folder-size
|
||||
:face `(:inherit ,faces
|
||||
:family ,(all-the-icons-octicon-family)
|
||||
:height ,doom-themes-neotree-folder-size)))))
|
||||
|
||||
(defun doom--neotree-insert-icon (type node &optional icon faces)
|
||||
"Custom hybrid unicode theme with leading whitespace."
|
||||
(let ((spc "\t")
|
||||
(vspc (propertize " " 'face 'variable-pitch)))
|
||||
(cond ((eq type 'open)
|
||||
(insert
|
||||
(concat spc
|
||||
(doom--neotree-insert-dir-icon
|
||||
node (if doom-themes-neotree-enable-open-chevron-icons type)
|
||||
faces)
|
||||
vspc)))
|
||||
((eq type 'close)
|
||||
(insert
|
||||
(concat spc
|
||||
(doom--neotree-insert-dir-icon
|
||||
node (if doom-themes-neotree-enable-closed-chevron-icons type)
|
||||
faces)
|
||||
vspc)))
|
||||
((eq type 'leaf)
|
||||
(insert
|
||||
(concat (when (or doom-themes-neotree-enable-open-chevron-icons
|
||||
doom-themes-neotree-enable-closed-chevron-icons)
|
||||
spc)
|
||||
(when doom-themes-neotree-enable-folder-icons spc)
|
||||
(when doom-themes-neotree-file-icons
|
||||
(concat spc (doom--neotree-insert-file-icon node icon faces)))
|
||||
vspc))))))
|
||||
|
||||
|
||||
;;
|
||||
;;; Public library
|
||||
|
||||
(defun doom-themes-neotree-insert-root (node)
|
||||
;; insert icon
|
||||
(when (display-graphic-p)
|
||||
(insert
|
||||
(concat (propertize "\t" 'face 'neo-root-dir-face)
|
||||
(all-the-icons-octicon
|
||||
"repo"
|
||||
:height doom-themes-neotree-project-size
|
||||
:face 'neo-root-dir-face
|
||||
:v-adjust -0.1)
|
||||
(propertize " " 'face 'neo-root-dir-face))))
|
||||
;; insert project name
|
||||
(insert
|
||||
(propertize
|
||||
(concat (or (neo-path--file-short-name node) "-")
|
||||
"\n")
|
||||
'face `(:inherit ,(append (if doom-themes-neotree-enable-variable-pitch '(variable-pitch))
|
||||
'(neo-root-dir-face))))))
|
||||
|
||||
(defun doom-themes-neotree-insert-dir (node depth expanded)
|
||||
(let ((short-name (neo-path--file-short-name node))
|
||||
(faces '(doom-themes-neotree-dir-face))
|
||||
icon-text)
|
||||
;; insert indentation
|
||||
(insert-char ?\s (* (- depth 1) 2))
|
||||
;; vcs integration
|
||||
(let ((vc (if neo-vc-integration (neo-vc-for-node node))))
|
||||
(when (memq 'char neo-vc-integration)
|
||||
(insert-char (car vc))
|
||||
(insert-char ?\s))
|
||||
(unless (and (memq 'face neo-vc-integration)
|
||||
(not (eq (cdr vc) 'neo-vc-up-to-date-face))
|
||||
(setq faces (list (cdr vc))))
|
||||
(cl-destructuring-bind (&key face icon)
|
||||
(doom-themes-neotree-spec node doom-themes-neotree-dir-rules)
|
||||
(if face (push face faces))
|
||||
(if icon (setq icon-text icon)))))
|
||||
;; insert icon
|
||||
(let ((type (if expanded 'open 'close)))
|
||||
(if (display-graphic-p)
|
||||
(doom--neotree-insert-icon type node icon-text faces)
|
||||
(neo-buffer--insert-fold-symbol type node)))
|
||||
;; insert label button
|
||||
(when doom-themes-neotree-enable-variable-pitch
|
||||
(push 'variable-pitch faces))
|
||||
(insert-button short-name
|
||||
'follow-link t
|
||||
'face `(:inherit (,@faces))
|
||||
'neo-full-path node
|
||||
'keymap neotree-dir-button-keymap)
|
||||
;; metadata + newline
|
||||
(neo-buffer--node-list-set nil node)
|
||||
(neo-buffer--newline-and-begin)))
|
||||
|
||||
(defun doom-themes-neotree-insert-file (node depth)
|
||||
(let ((short-name (neo-path--file-short-name node))
|
||||
(vc (if neo-vc-integration (neo-vc-for-node node)))
|
||||
(faces '(doom-themes-neotree-file-face))
|
||||
icon-text)
|
||||
;; insert indentation
|
||||
(insert-char ?\s (* (- depth 1) 2))
|
||||
;; vcs integration
|
||||
(unless (and (memq 'face neo-vc-integration)
|
||||
(not (eq (cdr vc) 'neo-vc-up-to-date-face))
|
||||
(setq faces (list (cdr vc))))
|
||||
(cl-destructuring-bind (&key face icon)
|
||||
(doom-themes-neotree-spec node doom-themes-neotree-file-rules)
|
||||
(if face (push face faces))
|
||||
(if icon (setq icon-text icon))))
|
||||
;; insert icon
|
||||
(if (display-graphic-p)
|
||||
(doom--neotree-insert-icon 'leaf node icon-text faces)
|
||||
(neo-buffer--insert-fold-symbol 'leaf node))
|
||||
;; insert label button
|
||||
(when doom-themes-neotree-enable-variable-pitch
|
||||
(push 'variable-pitch faces))
|
||||
(insert-button short-name
|
||||
'follow-link t
|
||||
'face `(:inherit (,@faces))
|
||||
'neo-full-path node
|
||||
'keymap neotree-file-button-keymap)
|
||||
;; metadata + newline
|
||||
(neo-buffer--node-list-set nil node)
|
||||
(neo-buffer--newline-and-begin)))
|
||||
|
||||
|
||||
;;; Bootstrap
|
||||
|
||||
(with-eval-after-load 'neotree
|
||||
(unless (require 'all-the-icons nil t)
|
||||
(error "all-the-icons isn't installed"))
|
||||
|
||||
;; Incompatible with this theme
|
||||
(setq neo-vc-integration nil)
|
||||
;; Enable buffer-local hl-line and adjust line-spacing
|
||||
(add-hook 'neo-after-create-hook #'doom-themes--neotree-setup)
|
||||
;; Remove fringes in Neotree pane
|
||||
(advice-add #'neo-global--select-window :after #'doom-themes--neotree-no-fringes)
|
||||
;; Patch neotree to use `doom--neotree-insert-icon'
|
||||
(advice-add #'neo-buffer--insert-file-entry :override #'doom-themes-neotree-insert-file)
|
||||
(advice-add #'neo-buffer--insert-dir-entry :override #'doom-themes-neotree-insert-dir)
|
||||
;; Shorter pwd in neotree override
|
||||
(advice-add #'neo-buffer--insert-root-entry :override #'doom-themes-neotree-insert-root))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-themes-neotree-config ()
|
||||
"Install doom-themes' neotree configuration.
|
||||
|
||||
Includes an Atom-esque icon theme and highlighting based on filetype.")
|
||||
|
||||
(provide 'doom-themes-ext-neotree)
|
||||
;;; doom-themes-neotree.el ends here
|
BIN
elpa/doom-themes-20210322.1750/doom-themes-ext-neotree.elc
Normal file
BIN
elpa/doom-themes-20210322.1750/doom-themes-ext-neotree.elc
Normal file
Binary file not shown.
123
elpa/doom-themes-20210322.1750/doom-themes-ext-org.el
Normal file
123
elpa/doom-themes-20210322.1750/doom-themes-ext-org.el
Normal file
|
@ -0,0 +1,123 @@
|
|||
;;; doom-themes-ext-org.el --- fix fontification issues in org-mode -*- lexical-binding: t; -*-
|
||||
;;
|
||||
;; Copyright (C) 2021 Henrik Lissner
|
||||
;;
|
||||
;; Author: Henrik Lissner <http://github/hlissner>
|
||||
;; Maintainer: Henrik Lissner <henrik@lissner.net>
|
||||
;; Created: August 3, 2017
|
||||
;; Homepage: https://github.com/hlissner/doom-themes-ext-org
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; Commentary:
|
||||
;;
|
||||
;; Fixes a few fontification issues in org-mode and adds special fontification
|
||||
;; for @-tags and #hashtags. Simply load this file to use it.
|
||||
;;
|
||||
;; (with-eval-after-load 'org-mode
|
||||
;; (require 'doom-themes-ext-org))
|
||||
;;
|
||||
;; Or call `doom-themes-enable-org-config', which does nothing but load this
|
||||
;; package (because it's autoloaded).
|
||||
;;
|
||||
;; (with-eval-after-load 'org-mode
|
||||
;; (doom-themes-enable-org-config))
|
||||
;;
|
||||
;;; Code:
|
||||
|
||||
(defgroup doom-themes-org nil
|
||||
"Options for doom's org customizations."
|
||||
:group 'doom-themes)
|
||||
|
||||
(define-obsolete-variable-alias
|
||||
'doom-org-special-tags 'doom-themes-org-fontify-special-tags
|
||||
"2021-02-10")
|
||||
(defcustom doom-themes-org-fontify-special-tags t
|
||||
"If non-nil, fontify #hashtags and @attags.
|
||||
Uses `doom-themes-org-at-tag' and `doom-themes-org-hash-tag' faces."
|
||||
:type 'boolean
|
||||
:group 'doom-themes-org)
|
||||
|
||||
(defface doom-themes-org-at-tag '((t :inherit org-formula))
|
||||
"Face used to fontify @-tags in org-mode."
|
||||
:group 'doom-themes-org)
|
||||
|
||||
(defface doom-themes-org-hash-tag '((t :inherit org-tag))
|
||||
"Face used to fontify #hashtags in org-mode."
|
||||
:group 'doom-themes-org)
|
||||
|
||||
|
||||
(defvar org-done-keywords)
|
||||
(defvar org-font-lock-extra-keywords)
|
||||
(defvar org-heading-keyword-regexp-format)
|
||||
(defvar org-todo-regexp)
|
||||
(defvar org-fontify-done-headline)
|
||||
(defvar org-activate-links)
|
||||
(declare-function org-delete-all "ext:org" (elts list))
|
||||
|
||||
;;
|
||||
(defun doom-themes--org-tag-face (n)
|
||||
"Return the face to use for the currently matched tag.
|
||||
N is the match index."
|
||||
(declare (pure t) (side-effect-free t))
|
||||
(pcase (match-string n)
|
||||
("#" 'doom-themes-org-hash-tag)
|
||||
("@" 'doom-themes-org-at-tag)))
|
||||
|
||||
(defun doom-themes-enable-org-fontification ()
|
||||
"Correct (and improve) org-mode's font-lock keywords.
|
||||
|
||||
1. Re-set `org-todo' & `org-headline-done' faces, to make them respect
|
||||
(inherit) underlying faces.
|
||||
2. Make statistic cookies respect (inherit) underlying faces.
|
||||
3. Fontify item bullets (make them stand out)
|
||||
4. Fontify item checkboxes (and when they're marked done), like TODOs that are
|
||||
marked done.
|
||||
5. Fontify dividers/separators (5+ dashes)
|
||||
6. Fontify #hashtags and @at-tags, for personal convenience; see
|
||||
`doom-org-special-tags' to disable this."
|
||||
(let ((org-todo (format org-heading-keyword-regexp-format
|
||||
org-todo-regexp))
|
||||
(org-done (format org-heading-keyword-regexp-format
|
||||
(concat "\\(?:" (mapconcat #'regexp-quote org-done-keywords "\\|") "\\)"))))
|
||||
(setq
|
||||
org-font-lock-extra-keywords
|
||||
(append (org-delete-all
|
||||
(append `(("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]"
|
||||
(0 (org-get-checkbox-statistics-face) t))
|
||||
(,org-todo (2 (org-get-todo-face 2) t)))
|
||||
(when org-fontify-done-headline
|
||||
`((,org-done (2 'org-headline-done t))))
|
||||
(when (memq 'date org-activate-links)
|
||||
'((org-activate-dates (0 'org-date t)))))
|
||||
org-font-lock-extra-keywords)
|
||||
;; respsect underlying faces!
|
||||
`((,org-todo (2 (org-get-todo-face 2) prepend)))
|
||||
(when org-fontify-done-headline
|
||||
`((,org-done (2 'org-headline-done prepend))))
|
||||
(when (memq 'date org-activate-links)
|
||||
'((org-activate-dates (0 'org-date prepend))))
|
||||
;; Make checkbox statistic cookies respect underlying faces
|
||||
'(("\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]"
|
||||
(0 (org-get-checkbox-statistics-face) prepend))
|
||||
;; make plain list bullets stand out
|
||||
("^ *\\([-+]\\|\\(?:[0-9]+\\|[a-zA-Z]\\)[).]\\)[ \t]" 1 'org-list-dt append)
|
||||
;; and separators/dividers
|
||||
("^ *\\(-----+\\)$" 1 'org-meta-line))
|
||||
;; I like how org-mode fontifies checked TODOs and want this to
|
||||
;; extend to checked checkbox items:
|
||||
(when org-fontify-done-headline
|
||||
'(("^[ \t]*\\(?:[-+*]\\|[0-9]+[).]\\)[ \t]+\\(\\(?:\\[@\\(?:start:\\)?[0-9]+\\][ \t]*\\)?\\[\\(?:X\\|\\([0-9]+\\)/\\2\\)\\][^\n]*\n\\)"
|
||||
1 'org-headline-done prepend)))
|
||||
;; custom #hashtags & @at-tags for another level of organization
|
||||
(when doom-themes-org-fontify-special-tags
|
||||
'(("\\s-\\(\\([#@]\\)[^+ \n.,]+\\)" 1 (doom-themes--org-tag-face 2) prepend)))))))
|
||||
|
||||
(add-hook 'org-font-lock-set-keywords-hook #'doom-themes-enable-org-fontification)
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-themes-org-config ()
|
||||
"Load `doom-themes-ext-org'.")
|
||||
|
||||
(provide 'doom-themes-ext-org)
|
||||
;;; doom-themes-ext-org.el ends here
|
BIN
elpa/doom-themes-20210322.1750/doom-themes-ext-org.elc
Normal file
BIN
elpa/doom-themes-20210322.1750/doom-themes-ext-org.elc
Normal file
Binary file not shown.
326
elpa/doom-themes-20210322.1750/doom-themes-ext-treemacs.el
Normal file
326
elpa/doom-themes-20210322.1750/doom-themes-ext-treemacs.el
Normal file
|
@ -0,0 +1,326 @@
|
|||
;;; doom-themes-ext-treemacs.el --- description -*- lexical-binding: t; no-byte-compile: t -*-
|
||||
|
||||
(defgroup doom-themes-treemacs nil
|
||||
"Options for doom's treemacs theme"
|
||||
:group 'doom-themes)
|
||||
|
||||
|
||||
;;
|
||||
;;; Variables
|
||||
|
||||
(defcustom doom-themes-treemacs-enable-variable-pitch t
|
||||
"If non-nil, the labels for files, folders and projects are displayed with the
|
||||
variable-pitch face."
|
||||
:type 'boolean
|
||||
:group 'doom-themes-treemacs)
|
||||
|
||||
(defcustom doom-themes-treemacs-line-spacing 1
|
||||
"Line-spacing for treemacs buffer."
|
||||
:type 'integer
|
||||
:group 'doom-themes-treemacs)
|
||||
|
||||
(defcustom doom-themes-treemacs-theme "doom-atom"
|
||||
"Default treemacs theme."
|
||||
:type '(radio (const :doc "A minimalistic atom-inspired icon theme" "doom-atom")
|
||||
(const :doc "A colorful icon theme leveraging all-the-icons" "doom-colors"))
|
||||
:group 'doom-themes-treemacs)
|
||||
|
||||
(defcustom doom-themes-treemacs-bitmap-indicator-width 3
|
||||
"Default treemacs bitmap indicators width"
|
||||
:type 'integer
|
||||
:group 'doom-themes-treemacs)
|
||||
|
||||
;;
|
||||
;;; Faces
|
||||
(defface doom-themes-treemacs-root-face
|
||||
'((t (:inherit font-lock-string-face)))
|
||||
"Face used for the root icon in doom themes' treemacs theme."
|
||||
:group 'doom-themes-treemacs)
|
||||
|
||||
(defface doom-themes-treemacs-file-face
|
||||
'((t (:inherit font-lock-doc-face :slant normal)))
|
||||
"Face used for the directory and file icons in doom themes' treemacs theme."
|
||||
:group 'doom-themes-treemacs)
|
||||
|
||||
;;
|
||||
;;; Library
|
||||
|
||||
(defun doom-themes-hide-fringes-maybe ()
|
||||
"Remove fringes in current window if `treemacs-fringe-indicator-mode' is nil"
|
||||
(when (display-graphic-p)
|
||||
(if treemacs-fringe-indicator-mode
|
||||
(set-window-fringes nil doom-themes-treemacs-bitmap-indicator-width 0)
|
||||
(set-window-fringes nil 0 0))))
|
||||
|
||||
(defun doom-themes-setup-tab-width (&rest _)
|
||||
"Set `tab-width' to 1, so tab characters don't ruin formatting."
|
||||
(setq tab-width 1))
|
||||
|
||||
(defun doom-themes-define-treemacs-fringe-indicator-bitmap ()
|
||||
"Defines `treemacs--fringe-indicator-bitmap'"
|
||||
(if (fboundp 'define-fringe-bitmap)
|
||||
(define-fringe-bitmap 'treemacs--fringe-indicator-bitmap
|
||||
(make-vector 26 #b111) nil doom-themes-treemacs-bitmap-indicator-width)))
|
||||
|
||||
(defun doom-themes-setup-line-spacing ()
|
||||
"Set `line-spacing' in treemacs buffers."
|
||||
(setq line-spacing doom-themes-treemacs-line-spacing))
|
||||
|
||||
(defun doom-themes-hide-modeline ()
|
||||
(setq mode-line-format nil))
|
||||
|
||||
(defun doom-themes-enable-treemacs-variable-pitch-labels (&rest _)
|
||||
(when doom-themes-treemacs-enable-variable-pitch
|
||||
(dolist (face '(treemacs-root-face
|
||||
treemacs-git-unmodified-face
|
||||
treemacs-git-modified-face
|
||||
treemacs-git-renamed-face
|
||||
treemacs-git-ignored-face
|
||||
treemacs-git-untracked-face
|
||||
treemacs-git-added-face
|
||||
treemacs-git-conflict-face
|
||||
treemacs-directory-face
|
||||
treemacs-directory-collapsed-face
|
||||
treemacs-file-face
|
||||
treemacs-tags-face))
|
||||
(let ((faces (face-attribute face :inherit nil)))
|
||||
(set-face-attribute
|
||||
face nil :inherit
|
||||
`(variable-pitch ,@(delq 'unspecified (if (listp faces) faces (list faces)))))))))
|
||||
|
||||
(defun doom-themes-fix-treemacs-icons-dired-mode ()
|
||||
"Set `tab-width' to 1 in dired-mode if `treemacs-icons-dired-mode' is active."
|
||||
(funcall (if treemacs-icons-dired-mode #'add-hook #'remove-hook)
|
||||
'dired-mode-hook
|
||||
#'doom-themes-setup-tab-width))
|
||||
|
||||
(defun doom-themes--get-treemacs-extensions (ext)
|
||||
"Expand the extension pattern EXT into a list of extensions.
|
||||
|
||||
This is used to generate extensions for `treemacs' from `all-the-icons-icon-alist'."
|
||||
(let* ((subs '((".\\?" . "") ("\\?" . "") ("\\." . "")
|
||||
("\\" . "") ("^" . "") ("$" . "")
|
||||
("'" . "") ("*." . "") ("*" . "")))
|
||||
(e (replace-regexp-in-string
|
||||
(regexp-opt (mapcar 'car subs))
|
||||
(lambda (it) (cdr (assoc-string it subs)))
|
||||
ext t t))
|
||||
(exts (list e)))
|
||||
;; Handle "[]"
|
||||
(when-let* ((s (split-string e "\\[\\|\\]"))
|
||||
(f (car s))
|
||||
(m (cadr s))
|
||||
(l (cadr (cdr s)))
|
||||
(mcs (delete "" (split-string m ""))))
|
||||
(setq exts nil)
|
||||
(dolist (c mcs)
|
||||
(push (concat f c l) exts)))
|
||||
;; Handle '?
|
||||
(dolist (ext exts)
|
||||
(when (string-match-p "?" ext)
|
||||
(when-let ((s (split-string ext "?")))
|
||||
(setq exts nil)
|
||||
(push (string-join s "") exts)
|
||||
(push (concat (if (> (length (car s)) 1)
|
||||
(substring (car s) 0 -1))
|
||||
(cadr s)) exts))))
|
||||
exts))
|
||||
|
||||
|
||||
;;
|
||||
;;; Bootstrap
|
||||
|
||||
(with-eval-after-load 'treemacs
|
||||
(unless (require 'all-the-icons nil t)
|
||||
(error "all-the-icons isn't installed"))
|
||||
|
||||
(add-hook 'treemacs-mode-hook #'doom-themes-setup-tab-width)
|
||||
(add-hook 'treemacs-mode-hook #'doom-themes-setup-line-spacing)
|
||||
(add-hook 'treemacs-mode-hook #'doom-themes-define-treemacs-fringe-indicator-bitmap)
|
||||
|
||||
;; Fix #293: tabs messing up formatting in `treemacs-icons-dired-mode'
|
||||
(add-hook 'treemacs-icons-dired-mode-hook #'doom-themes-fix-treemacs-icons-dired-mode)
|
||||
|
||||
;; The modeline isn't useful in treemacs
|
||||
(add-hook 'treemacs-mode-hook #'doom-themes-hide-modeline)
|
||||
|
||||
;; Disable fringes (and reset them everytime treemacs is selected because it
|
||||
;; may change due to outside factors)
|
||||
(add-hook 'treemacs-mode-hook #'doom-themes-hide-fringes-maybe)
|
||||
(advice-add #'treemacs-select-window :after #'doom-themes-hide-fringes-maybe)
|
||||
|
||||
;; variable-pitch labels for files/folders
|
||||
(doom-themes-enable-treemacs-variable-pitch-labels)
|
||||
(advice-add #'load-theme :after #'doom-themes-enable-treemacs-variable-pitch-labels)
|
||||
|
||||
;; minimalistic atom-inspired icon theme
|
||||
(let ((face-spec 'doom-themes-treemacs-file-face))
|
||||
(treemacs-create-theme "doom-atom"
|
||||
:config
|
||||
(progn
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "repo" :height 1.2 :v-adjust -0.1 :face 'doom-themes-treemacs-root-face))
|
||||
:extensions (root-open))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "repo" :height 1.2 :v-adjust -0.1 :face 'doom-themes-treemacs-root-face))
|
||||
:extensions (root-closed))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t%s\t"
|
||||
(all-the-icons-octicon "chevron-down" :height 0.75 :v-adjust 0.1 :face face-spec)
|
||||
(all-the-icons-octicon "file-directory" :v-adjust 0 :face face-spec))
|
||||
:extensions (dir-open))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t%s\t"
|
||||
(all-the-icons-octicon "chevron-right" :height 0.75 :v-adjust 0.1 :face face-spec)
|
||||
(all-the-icons-octicon "file-directory" :v-adjust 0 :face face-spec))
|
||||
:extensions (dir-closed))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t%s\t"
|
||||
(all-the-icons-octicon "chevron-down" :height 0.75 :v-adjust 0.1 :face face-spec)
|
||||
(all-the-icons-octicon "package" :v-adjust 0 :face face-spec)) :extensions (tag-open))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t%s\t"
|
||||
(all-the-icons-octicon "chevron-right" :height 0.75 :v-adjust 0.1 :face face-spec)
|
||||
(all-the-icons-octicon "package" :v-adjust 0 :face face-spec))
|
||||
:extensions (tag-closed))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t" (all-the-icons-octicon "tag" :height 0.9 :v-adjust 0 :face face-spec))
|
||||
:extensions (tag-leaf))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t" (all-the-icons-octicon "flame" :v-adjust 0 :face face-spec))
|
||||
:extensions (error))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t" (all-the-icons-octicon "stop" :v-adjust 0 :face face-spec))
|
||||
:extensions (warning))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t" (all-the-icons-octicon "info" :height 0.75 :v-adjust 0.1 :face face-spec))
|
||||
:extensions (info))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "file-media" :v-adjust 0 :face face-spec))
|
||||
:extensions ("ai" "aiff" "avi" "bmp" "eps" "flac" "gif" "ico" "indd"
|
||||
"jpeg" "jpg" "midi" "mkv" "mov" "mp3" "mp4" "ogg" "png"
|
||||
"psd" "svg" "tif" "tiff" "wav" "webm" "webp"))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "file-code" :v-adjust 0 :face face-spec))
|
||||
:extensions ("accdb" "accdt" "actionscript" "adoc" "adoc" "ansible"
|
||||
"antlr" "applescript" "asciidoc" "asm" "c" "cask" "cc"
|
||||
"cc" "clj" "cljc" "cljs" "cmake" "coffee" "cpp" "css"
|
||||
"cxx" "cython" "d" "dart" "diet" "diff" "dml"
|
||||
"docker-compose.yml" "dockerfile" "dscript" "edn" "eex"
|
||||
"el" "elm" "ex" "exs" "fennel" "fish" "fortran"
|
||||
"fortran-modern" "fortranfreeform" "fsharp" "gdscript"
|
||||
"go" "gradle" "graphql" "h" "hh" "hpp" "hs" "htm" "html"
|
||||
"hy" "iced" "inc" "ino" "j2" "j2" "java" "jinja" "jinja2"
|
||||
"jl" "js" "jsx" "kt" "kts" "ledger" "less" "lhs" "lisp"
|
||||
"lua" "makefile" "matlab" "merlin" "mips" "ml" "mli"
|
||||
"moonscript" "nim" "nims" "nix" "objectpascal" "ocaml"
|
||||
"pascal" "patch" "pde" "perl" "pgsql" "php" "php4" "php5"
|
||||
"phps" "pl" "plt" "pm" "pm6" "pony" "pp" "pp" "pro"
|
||||
"prolog" "ps1" "purs" "py" "pyc" "r" "racket" "rb" "rd"
|
||||
"rdx" "re" "rei" "rkt" "rktd" "rktl" "rs" "rsx" "sass"
|
||||
"sbt" "scala" "scm" "scpt" "scrbl" "scribble" "scss" "sh"
|
||||
"sql" "styles" "sv" "tex" "tpp" "ts" "tsx" "v"
|
||||
"vagrantfile" "vh" "vhd" "vhdl" "vhms" "vim" "vue" "xsl"
|
||||
"zsh" "zshrc"))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "book" :v-adjust 0 :face face-spec))
|
||||
:extensions ("azw" "azw3" "cb7" "cba" "cbr" "cbt" "cbz" "ceb" "chm"
|
||||
"djvu" "doc" "docx" "exe" "fb2" "inf" "kf8" "kfx" "lit"
|
||||
"lrf" "lrx" "mobi" "opf" "or" "oxps" "pdb" "pdb" "pdb"
|
||||
"pdg" "pkg" "prc" "ps" "rtf" "tr2" "tr3" "txt" "xeb" "xps"
|
||||
"pot" "potx" "potm" "pps" "ppsx" "ppsm" "ppt" "pptx"
|
||||
"pptm" "pa" "ppa" "ppam" "sldm" "sldx" ))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-faicon "cogs" :height 0.85 :v-adjust 0 :face face-spec))
|
||||
:extensions ("Vagrantfile" "babel.config.js" "babelignore" "babelrc"
|
||||
"babelrc.js" "babelrc.json" "bashrc" "bazel" "bazelrc"
|
||||
"bower.json" "bowerrc" "cabal" "cfg" "conf" "config"
|
||||
"cson" "csv" "editorconfig" "envrc" "eslintignore"
|
||||
"eslintrc" "feature" "gemfile" "git" "gitattributes"
|
||||
"gitconfig" "gitignore" "gitmodules" "ideavimrc" "iml"
|
||||
"ini" "inputrc" "json" "ledgerrc" "lock" "nginx"
|
||||
"npm-shrinkwrap.json" "npmignore" "npmrc"
|
||||
"package-lock.json" "package.json" "phpunit" "pkg" "plist"
|
||||
"properties" "terminalrc" "toml" "tridactylrc"
|
||||
"vimperatorrc" "vimrc" "vrapperrc" "xdefaults" "xml"
|
||||
"xresources" "yaml" "yarn-integrity" "yarnclean"
|
||||
"yarnignore" "yarnrc" "yml"))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "file-text" :v-adjust 0 :face face-spec))
|
||||
:extensions ("md" "markdown" "rst" "org" "log" "txt" "contribute"
|
||||
"license" "readme" "changelog"))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "file-binary" :v-adjust 0 :face face-spec))
|
||||
:extensions ("exe" "dll" "obj" "so" "o" "out" "elc" "cmake-cache" "csr"
|
||||
"eslintcache" "crt" "cer" "der" "pfx" "p12" "p7b" "p7r"
|
||||
"DS_STORE" "key" "pem" "src" "crl" "sst" "stl" "ipynb"))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "file-pdf" :v-adjust 0 :face face-spec))
|
||||
:extensions ("pdf"))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "file-zip" :v-adjust 0 :face face-spec))
|
||||
:extensions ("zip" "xz" "7z" "tar" "gz" "rar" "tgz" "jar"))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "file-text" :v-adjust 0 :face face-spec))
|
||||
:extensions (fallback))))
|
||||
|
||||
(treemacs-create-theme "doom-colors"
|
||||
:extends "doom-atom"
|
||||
:config
|
||||
(progn
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "repo" :height 1.2 :v-adjust -0.1 :face 'doom-themes-treemacs-root-face))
|
||||
:extensions (root-open))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "repo" :height 1.2 :v-adjust -0.1 :face 'doom-themes-treemacs-root-face))
|
||||
:extensions (root-closed))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t" (all-the-icons-octicon "flame" :height 0.8 :v-adjust 0 :face 'all-the-icons-red))
|
||||
:extensions (error))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t" (all-the-icons-octicon "stop" :height 0.8 :v-adjust 0 :face 'all-the-icons-yellow))
|
||||
:extensions (warning))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t" (all-the-icons-octicon "info" :height 0.75 :v-adjust 0.1 :face 'all-the-icons-green))
|
||||
:extensions (info))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-alltheicon "git" :height 0.85 :v-adjust 0.0 :face 'all-the-icons-red))
|
||||
:extensions ("gitignore" "git" "gitattributes" "gitconfig" "gitmodules"))
|
||||
(treemacs-create-icon
|
||||
:icon (format "%s\t" (all-the-icons-octicon "book" :height 1.0 :v-adjust 0.0 :face 'all-the-icons-blue))
|
||||
:extensions (license))
|
||||
|
||||
(dolist (item all-the-icons-icon-alist)
|
||||
(let* ((extensions (doom-themes--get-treemacs-extensions (car item)))
|
||||
(func (cadr item))
|
||||
(args (append (list (cadr (cdr item))) '(:v-adjust -0.05 :height 0.85) (cdr (cddr item))))
|
||||
(icon (apply func args)))
|
||||
(let* ((icon-pair (cons (format " %s\t" icon) " "))
|
||||
(gui-icons (treemacs-theme->gui-icons treemacs--current-theme))
|
||||
(tui-icons (treemacs-theme->tui-icons treemacs--current-theme))
|
||||
(gui-icon (car icon-pair))
|
||||
(tui-icon (cdr icon-pair)))
|
||||
(--each extensions
|
||||
(ht-set! gui-icons it gui-icon)
|
||||
(ht-set! tui-icons it tui-icon)))))
|
||||
|
||||
;; File extensions for whom the above did not work (likely because their
|
||||
;; regexp is too complicated to be reversed with
|
||||
;; `doom-themes--get-treemacs-extensions' -- which is too naive)
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-fileicon "R" :v-adjust 0 :face 'all-the-icons-dblue))
|
||||
:extensions ("r"))
|
||||
(treemacs-create-icon
|
||||
:icon (format " %s\t" (all-the-icons-octicon "file-code" :v-adjust 0 :face face-spec))
|
||||
:extensions ("elc")))))
|
||||
|
||||
(treemacs-load-theme doom-themes-treemacs-theme))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-themes-treemacs-config ()
|
||||
"Install doom-themes' treemacs configuration.
|
||||
|
||||
Includes an Atom-esque icon theme and highlighting based on filetype.")
|
||||
|
||||
(provide 'doom-themes-ext-treemacs)
|
||||
;;; doom-themes-treemacs.el ends here
|
|
@ -0,0 +1,29 @@
|
|||
;;; doom-themes-ext-visual-bell.el --- flash mode-line on error -*- lexical-binding: t; -*-
|
||||
|
||||
(require 'face-remap)
|
||||
|
||||
(defface doom-visual-bell '((t (:inherit error)))
|
||||
"Face to use for the mode-line when `doom-themes-visual-bell-config' is used."
|
||||
:group 'doom-themes)
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-themes-visual-bell-fn ()
|
||||
"Blink the mode-line red briefly. Set `ring-bell-function' to this to use it."
|
||||
(let ((doom-themes--bell-cookie (face-remap-add-relative 'mode-line 'doom-visual-bell)))
|
||||
(force-mode-line-update)
|
||||
(run-with-timer 0.15 nil
|
||||
(lambda (cookie buf)
|
||||
(with-current-buffer buf
|
||||
(face-remap-remove-relative cookie)
|
||||
(force-mode-line-update)))
|
||||
doom-themes--bell-cookie
|
||||
(current-buffer))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-themes-visual-bell-config ()
|
||||
"Enable flashing the mode-line on error."
|
||||
(setq ring-bell-function #'doom-themes-visual-bell-fn
|
||||
visible-bell t))
|
||||
|
||||
(provide 'doom-themes-ext-visual-bell)
|
||||
;;; doom-themes-ext-visual-bell.el ends here
|
BIN
elpa/doom-themes-20210322.1750/doom-themes-ext-visual-bell.elc
Normal file
BIN
elpa/doom-themes-20210322.1750/doom-themes-ext-visual-bell.elc
Normal file
Binary file not shown.
13
elpa/doom-themes-20210322.1750/doom-themes-pkg.el
Normal file
13
elpa/doom-themes-20210322.1750/doom-themes-pkg.el
Normal file
|
@ -0,0 +1,13 @@
|
|||
(define-package "doom-themes" "20210322.1750" "an opinionated pack of modern color-themes"
|
||||
'((emacs "25.1")
|
||||
(cl-lib "0.5"))
|
||||
:commit "4199e74db170200995ee8dfbb55ffae004d6e219" :authors
|
||||
'(("Henrik Lissner <http://github/hlissner>"))
|
||||
:maintainer
|
||||
'("Henrik Lissner" . "henrik@lissner.net")
|
||||
:keywords
|
||||
'("dark" "light" "blue" "atom" "one" "theme" "neotree" "icons" "faces" "nova")
|
||||
:url "https://github.com/hlissner/emacs-doom-theme")
|
||||
;; Local Variables:
|
||||
;; no-byte-compile: t
|
||||
;; End:
|
429
elpa/doom-themes-20210322.1750/doom-themes.el
Normal file
429
elpa/doom-themes-20210322.1750/doom-themes.el
Normal file
|
@ -0,0 +1,429 @@
|
|||
;;; doom-themes.el --- an opinionated pack of modern color-themes -*- lexical-binding: t; -*-
|
||||
;;
|
||||
;; Copyright (C) 2016-2020 Henrik Lissner
|
||||
;;
|
||||
;; Author: Henrik Lissner <http://github/hlissner>
|
||||
;; Maintainer: Henrik Lissner <henrik@lissner.net>
|
||||
;; Created: May 22, 2016
|
||||
;; Modified: August 22, 2018
|
||||
;; Version: 2.1.6
|
||||
;; Keywords: dark light blue atom one theme neotree icons faces nova
|
||||
;; Homepage: https://github.com/hlissner/emacs-doom-theme
|
||||
;; Package-Requires: ((emacs "25.1") (cl-lib "0.5"))
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; Commentary:
|
||||
;;
|
||||
;; DOOM Themes is an opinionated UI plugin and pack of themes extracted from my
|
||||
;; [emacs.d], inspired by some of my favorite color themes including:
|
||||
;;
|
||||
;; Flagship themes
|
||||
;; `doom-one'
|
||||
;; `doom-one-light'
|
||||
;; `doom-vibrant'
|
||||
;;
|
||||
;; Additional themes
|
||||
;; [X] `doom-acario-dark' (added by gagbo)
|
||||
;; [X] `doom-acario-light' (added by gagbo)
|
||||
;; [X] `doom-ayu-dark': (added by LoveSponge)
|
||||
;; [X] `doom-ayu-light': (added by LoveSponge)
|
||||
;; [X] `doom-city-lights' (added by fuxialexnder)
|
||||
;; [X] `doom-challenger-deep' (added by fuxialexnder)
|
||||
;; [X] `doom-dark+' (added by ema2159)
|
||||
;; [X] `doom-dracula' (added by fuxialexnder)
|
||||
;; [X] `doom-ephemeral' (added by karetsu)
|
||||
;; [X] `doom-fairy-floss' (added by ema2159)
|
||||
;; [X] `doom-flatwhite' (added by ShaneKilkelly)
|
||||
;; [X] `doom-gruvbox' (added by JongW)
|
||||
;; [X] `doom-gruxbox-light' (added by jsoa)
|
||||
;; [X] `doom-henna' (added by jsoa)
|
||||
;; [X] `doom-homage-white' (added by [mskorzhinskiy])
|
||||
;; [X] `doom-homage-black': (added by [mskorzhinskiy])
|
||||
;; [X] `doom-horizon' (added by karetsu)
|
||||
;; [X] `doom-Iosvkem' (added by neutaaaaan)
|
||||
;; [X] `doom-laserwave' (added by hyakt)
|
||||
;; [X] `doom-material' (added by tam5)
|
||||
;; [X] `doom-manegarm' (added by kenranunderscore)
|
||||
;; [X] `doom-miramare' (added by sagittaros)
|
||||
;; [X] `doom-molokai'
|
||||
;; [X] `doom-monokai-classic' (added by ema2159)
|
||||
;; [X] `doom-monokai-pro' (added by kadenbarlow)
|
||||
;; [X] `doom-moonlight' (added by Brettm12345)
|
||||
;; [X] `doom-nord' (added by fuxialexnder)
|
||||
;; [X] `doom-nord-light' (added by fuxialexnder)
|
||||
;; [X] `doom-nova' (added by bigardone)
|
||||
;; [X] `doom-oceanic-next' (added by juanwolf)
|
||||
;; [X] `doom-old-hope' (added by teesloane)
|
||||
;; [X] `doom-opera' (added by jwintz)
|
||||
;; [X] `doom-opera-light' (added by jwintz)
|
||||
;; [X] `doom-outrun' (added by ema2159)
|
||||
;; [X] `doom-palenight' (added by Brettm12345)
|
||||
;; [X] `doom-peacock' (added by teesloane)
|
||||
;; [x] `doom-plain': (added by [mateossh])
|
||||
;; [x] `doom-plain-dark': (added by [das-s])
|
||||
;; [X] `doom-rouge' (added by JordanFaust)
|
||||
;; [X] `doom-snazzy' (added by ar1a)
|
||||
;; [X] `doom-solarized-dark' (added by ema2159)
|
||||
;; [X] `doom-solarized-light' (added by fuxialexnder)
|
||||
;; [X] `doom-sourcerer' (added by defphil)
|
||||
;; [X] `doom-spacegrey' (added by teesloane)
|
||||
;; [X] `doom-tomorrow-night' (added by emacswatcher)
|
||||
;; [X] `doom-tomorrow-day' (added by emacswatcher)
|
||||
;; [X] `doom-wilmersdorf' (added by ianpan870102)
|
||||
;; [X] `doom-zenburn' (added by jsoa)
|
||||
;; [ ] `doom-mono-dark' / `doom-mono-light'
|
||||
;; [ ] `doom-tron'
|
||||
;;
|
||||
;; ## Install
|
||||
;;
|
||||
;; `M-x package-install RET doom-themes`
|
||||
;;
|
||||
;; A comprehensive configuration example:
|
||||
;;
|
||||
;; (require 'doom-themes)
|
||||
;;
|
||||
;; ;; Global settings (defaults)
|
||||
;; (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
||||
;; doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
||||
;;
|
||||
;; ;; Load the theme (doom-one, doom-molokai, etc); keep in mind that each
|
||||
;; ;; theme may have their own settings.
|
||||
;; (load-theme 'doom-one t)
|
||||
;;
|
||||
;; ;; Enable flashing mode-line on errors
|
||||
;; (doom-themes-visual-bell-config)
|
||||
;;
|
||||
;; ;; Enable custom neotree theme
|
||||
;; (doom-themes-neotree-config) ; all-the-icons fonts must be installed!
|
||||
;;
|
||||
;;; Code:
|
||||
|
||||
(require 'cl-lib)
|
||||
(require 'doom-themes-base)
|
||||
|
||||
(defgroup doom-themes nil
|
||||
"Options for doom-themes."
|
||||
:group 'faces)
|
||||
|
||||
(defcustom doom-themes-padded-modeline nil
|
||||
"Default value for padded-modeline setting for themes that support it."
|
||||
:group 'doom-themes
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(defcustom doom-themes-enable-bold t
|
||||
"If nil, bold will be disabled across all faces."
|
||||
:group 'doom-themes
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-themes-enable-italic t
|
||||
"If nil, italics will be disabled across all faces."
|
||||
:group 'doom-themes
|
||||
:type 'boolean)
|
||||
|
||||
|
||||
;;
|
||||
;;; API
|
||||
|
||||
(defvar doom-themes--colors nil)
|
||||
(defvar doom--min-colors '(257 256 16))
|
||||
(defvar doom--quoted-p nil)
|
||||
(defvar doom-themes--faces nil)
|
||||
|
||||
(defun doom-themes--colors-p (item)
|
||||
(declare (pure t) (side-effect-free t))
|
||||
(when item
|
||||
(cond ((listp item)
|
||||
(let ((car (car item)))
|
||||
(cond ((memq car '(quote doom-color)) nil)
|
||||
|
||||
((memq car '(backquote \`))
|
||||
(let ((doom--quoted-p t))
|
||||
(doom-themes--colors-p (cdr item))))
|
||||
|
||||
((eq car '\,)
|
||||
(let (doom--quoted-p)
|
||||
(doom-themes--colors-p (cdr item))))
|
||||
|
||||
((or (doom-themes--colors-p car)
|
||||
(doom-themes--colors-p (cdr-safe item)))))))
|
||||
|
||||
((and (symbolp item)
|
||||
(not (keywordp item))
|
||||
(not doom--quoted-p)
|
||||
(not (equal (substring (symbol-name item) 0 1) "-"))
|
||||
(assq item doom-themes--colors))))))
|
||||
|
||||
(defun doom-themes--apply-faces (new-faces &optional default-faces)
|
||||
(declare (pure t) (side-effect-free t))
|
||||
(let ((default-faces (or default-faces doom-themes-base-faces))
|
||||
(faces (make-hash-table :test #'eq :size (+ (length default-faces) (length new-faces))))
|
||||
(directives (make-hash-table :test #'eq)))
|
||||
(dolist (spec (append (mapcar #'copy-sequence default-faces) new-faces))
|
||||
(if (listp (car spec))
|
||||
(cl-destructuring-bind (face action &optional arg) (car spec)
|
||||
(unless (assq face new-faces)
|
||||
(puthash face (list action arg (cdr spec))
|
||||
directives)))
|
||||
(puthash (car spec) (cdr spec) faces)))
|
||||
(cl-loop for face being the hash-keys of directives
|
||||
for (action target spec) = (gethash face directives)
|
||||
unless (memq action '(&inherit &extend &override))
|
||||
do (error "Invalid operation (%s) for '%s' face" action face)
|
||||
if (eq (car spec) 'quote)
|
||||
do (error "Can't extend literal face spec (for '%s')" face)
|
||||
;; TODO Add &all/&light/&dark extension support
|
||||
else if (memq (car spec) '(&all &light &dark))
|
||||
do (error "Can't extend face with &all, &light or &dark specs (for '%s')" face)
|
||||
else do
|
||||
(puthash face
|
||||
(let ((old-spec (gethash (or target face) faces))
|
||||
(plist spec))
|
||||
;; remove duplicates
|
||||
(while (keywordp (car plist))
|
||||
(setq old-spec (plist-put old-spec (car plist) (cadr plist))
|
||||
plist (cddr plist)))
|
||||
old-spec)
|
||||
faces))
|
||||
(let (results)
|
||||
(maphash (lambda (face plist)
|
||||
(when (keywordp (car plist))
|
||||
;; TODO Clean up duplicates in &all/&light/&dark blocks
|
||||
(dolist (prop (append (unless doom-themes-enable-bold '(:weight normal :bold nil))
|
||||
(unless doom-themes-enable-italic '(:slant normal :italic nil))))
|
||||
(when (and (plist-member plist prop)
|
||||
(not (eq (plist-get plist prop) 'inherit)))
|
||||
(plist-put plist prop
|
||||
(if (memq prop '(:weight :slant))
|
||||
(quote 'normal))))))
|
||||
(push (cons face plist) results))
|
||||
faces)
|
||||
(nreverse results))))
|
||||
|
||||
(defun doom-themes--colorize (item type)
|
||||
(declare (pure t) (side-effect-free t))
|
||||
(when item
|
||||
(let ((doom--quoted-p doom--quoted-p))
|
||||
(cond ((listp item)
|
||||
(cond ((memq (car item) '(quote doom-color))
|
||||
item)
|
||||
((eq (car item) 'doom-ref)
|
||||
(doom-themes--colorize
|
||||
(apply #'doom-ref (cdr item)) type))
|
||||
((let* ((item (append item nil))
|
||||
(car (car item))
|
||||
(doom--quoted-p
|
||||
(cond ((memq car '(backquote \`)) t)
|
||||
((eq car '\,) nil)
|
||||
(t doom--quoted-p))))
|
||||
(cons car
|
||||
(cl-loop
|
||||
for i in (cdr item)
|
||||
collect (doom-themes--colorize i type)))))))
|
||||
|
||||
((and (symbolp item)
|
||||
(not (keywordp item))
|
||||
(not doom--quoted-p)
|
||||
(not (equal (substring (symbol-name item) 0 1) "-"))
|
||||
(assq item doom-themes--colors))
|
||||
`(doom-color ',item ',type))
|
||||
|
||||
(item)))))
|
||||
|
||||
(defun doom-themes--build-face (face)
|
||||
(declare (pure t) (side-effect-free t))
|
||||
`(list
|
||||
',(car face)
|
||||
,(let ((face-body (cdr face)))
|
||||
(cond ((keywordp (car face-body))
|
||||
(let ((real-attrs face-body)
|
||||
defs)
|
||||
(if (doom-themes--colors-p real-attrs)
|
||||
(dolist (cl doom--min-colors `(list ,@(nreverse defs)))
|
||||
(push `(list '((class color) (min-colors ,cl))
|
||||
(list ,@(doom-themes--colorize real-attrs cl)))
|
||||
defs))
|
||||
`(list (list 't (list ,@real-attrs))))))
|
||||
|
||||
((memq (car-safe (car face-body)) '(quote backquote \`))
|
||||
(car face-body))
|
||||
|
||||
((let (all-attrs defs)
|
||||
(dolist (attrs face-body `(list ,@(nreverse defs)))
|
||||
(cond ((eq (car attrs) '&all)
|
||||
(setq all-attrs (append all-attrs (cdr attrs))))
|
||||
|
||||
((memq (car attrs) '(&dark &light))
|
||||
(let ((bg (if (eq (car attrs) '&dark) 'dark 'light))
|
||||
(real-attrs (append all-attrs (cdr attrs) '())))
|
||||
(cond ((doom-themes--colors-p real-attrs)
|
||||
(dolist (cl doom--min-colors)
|
||||
(push `(list '((class color) (min-colors ,cl) (background ,bg))
|
||||
(list ,@(doom-themes--colorize real-attrs cl)))
|
||||
defs)))
|
||||
|
||||
((push `(list '((background ,bg)) (list ,@real-attrs))
|
||||
defs)))))))))))))
|
||||
|
||||
|
||||
;;
|
||||
;;; Color helper functions
|
||||
|
||||
;; Shamelessly *borrowed* from solarized
|
||||
;;;###autoload
|
||||
(defun doom-name-to-rgb (color)
|
||||
"Retrieves the hexidecimal string repesented the named COLOR (e.g. \"red\")
|
||||
for FRAME (defaults to the current frame)."
|
||||
(cl-loop with div = (float (car (tty-color-standard-values "#ffffff")))
|
||||
for x in (tty-color-standard-values (downcase color))
|
||||
collect (/ x div)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-blend (color1 color2 alpha)
|
||||
"Blend two colors (hexidecimal strings) together by a coefficient ALPHA (a
|
||||
float between 0 and 1)"
|
||||
(when (and color1 color2)
|
||||
(cond ((and color1 color2 (symbolp color1) (symbolp color2))
|
||||
(doom-blend (doom-color color1) (doom-color color2) alpha))
|
||||
|
||||
((or (listp color1) (listp color2))
|
||||
(cl-loop for x in color1
|
||||
when (if (listp color2) (pop color2) color2)
|
||||
collect (doom-blend x it alpha)))
|
||||
|
||||
((and (string-prefix-p "#" color1) (string-prefix-p "#" color2))
|
||||
(apply (lambda (r g b) (format "#%02x%02x%02x" (* r 255) (* g 255) (* b 255)))
|
||||
(cl-loop for it in (doom-name-to-rgb color1)
|
||||
for other in (doom-name-to-rgb color2)
|
||||
collect (+ (* alpha it) (* other (- 1 alpha))))))
|
||||
|
||||
(color1))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-darken (color alpha)
|
||||
"Darken a COLOR (a hexidecimal string) by a coefficient ALPHA (a float between
|
||||
0 and 1)."
|
||||
(cond ((and color (symbolp color))
|
||||
(doom-darken (doom-color color) alpha))
|
||||
|
||||
((listp color)
|
||||
(cl-loop for c in color collect (doom-darken c alpha)))
|
||||
|
||||
((doom-blend color "#000000" (- 1 alpha)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-lighten (color alpha)
|
||||
"Brighten a COLOR (a hexidecimal string) by a coefficient ALPHA (a float
|
||||
between 0 and 1)."
|
||||
(cond ((and color (symbolp color))
|
||||
(doom-lighten (doom-color color) alpha))
|
||||
|
||||
((listp color)
|
||||
(cl-loop for c in color collect (doom-lighten c alpha)))
|
||||
|
||||
((doom-blend color "#FFFFFF" (- 1 alpha)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-color (name &optional type)
|
||||
"Retrieve a specific color named NAME (a symbol) from the current theme."
|
||||
(let ((colors (if (listp name)
|
||||
name
|
||||
(cdr-safe (assq name doom-themes--colors)))))
|
||||
(and colors
|
||||
(cond ((listp colors)
|
||||
(let ((i (or (plist-get '(256 1 16 2 8 3) type) 0)))
|
||||
(if (> i (1- (length colors)))
|
||||
(car (last colors))
|
||||
(nth i colors))))
|
||||
(t colors)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-ref (face prop &optional class)
|
||||
"TODO"
|
||||
(let ((spec (or (cdr (assq face doom-themes--faces))
|
||||
(error "Couldn't find the '%s' face" face))))
|
||||
(when (memq (car spec) '(quote backquote \`))
|
||||
(user-error "Can't fetch the literal spec for '%s'" face))
|
||||
(when class
|
||||
(setq spec (cdr (assq class spec)))
|
||||
(unless spec
|
||||
(error "Couldn't find the '%s' class in the '%s' face"
|
||||
class face)))
|
||||
(unless (plist-member spec prop)
|
||||
(error "Couldn't find the '%s' property in the '%s' face%s"
|
||||
prop face (if class (format "'s '%s' class" class) "")))
|
||||
(plist-get spec prop)))
|
||||
|
||||
|
||||
;;
|
||||
;;; Defining themes
|
||||
|
||||
(defun doom-themes-prepare-facelist (custom-faces)
|
||||
"Return an alist of face definitions for `custom-theme-set-faces'.
|
||||
|
||||
Faces in EXTRA-FACES override the default faces."
|
||||
(declare (pure t) (side-effect-free t))
|
||||
(setq doom-themes--faces (doom-themes--apply-faces custom-faces))
|
||||
(mapcar #'doom-themes--build-face doom-themes--faces))
|
||||
|
||||
(defun doom-themes-prepare-varlist (vars)
|
||||
"Return an alist of variable definitions for `custom-theme-set-variables'.
|
||||
|
||||
Variables in EXTRA-VARS override the default ones."
|
||||
(declare (pure t) (side-effect-free t))
|
||||
(cl-loop for (var val) in (append doom-themes-base-vars vars)
|
||||
collect `(list ',var ,val)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom-themes-set-faces (theme &rest faces)
|
||||
"Customize THEME (a symbol) with FACES.
|
||||
|
||||
If THEME is nil, it applies to all themes you load. FACES is a list of Doom
|
||||
theme face specs. These is a simplified spec. For example:
|
||||
|
||||
(doom-themes-set-faces 'user
|
||||
'(default :background red :foreground blue)
|
||||
'(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
|
||||
'(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
'(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
'(doom-modeline-buffer-project-root :foreground green :weight 'bold))"
|
||||
(declare (indent defun))
|
||||
(apply #'custom-theme-set-faces
|
||||
(or theme 'user)
|
||||
(eval
|
||||
`(let* ((bold ,doom-themes-enable-bold)
|
||||
(italic ,doom-themes-enable-italic)
|
||||
,@(cl-loop for (var . val) in doom-themes--colors
|
||||
collect `(,var ',val)))
|
||||
(list ,@(mapcar #'doom-themes--build-face faces))))))
|
||||
|
||||
(defmacro def-doom-theme (name docstring defs &optional extra-faces extra-vars)
|
||||
"Define a DOOM theme, named NAME (a symbol)."
|
||||
(declare (doc-string 2))
|
||||
(let ((doom-themes--colors defs))
|
||||
`(let* ((bold doom-themes-enable-bold)
|
||||
(italic doom-themes-enable-italic)
|
||||
,@defs)
|
||||
(setq doom-themes--colors
|
||||
(list ,@(cl-loop for (var val) in defs
|
||||
collect `(cons ',var ,val))))
|
||||
(deftheme ,name ,docstring)
|
||||
(custom-theme-set-faces
|
||||
',name ,@(doom-themes-prepare-facelist extra-faces))
|
||||
(custom-theme-set-variables
|
||||
',name ,@(doom-themes-prepare-varlist extra-vars))
|
||||
(unless bold (set-face-bold 'bold nil))
|
||||
(unless italic (set-face-italic 'italic nil))
|
||||
(provide-theme ',name))))
|
||||
|
||||
;;;###autoload
|
||||
(when (and (boundp 'custom-theme-load-path) load-file-name)
|
||||
(let* ((base (file-name-directory load-file-name))
|
||||
(dir (expand-file-name "themes/" base)))
|
||||
(add-to-list 'custom-theme-load-path
|
||||
(or (and (file-directory-p dir) dir)
|
||||
base))))
|
||||
|
||||
(provide 'doom-themes)
|
||||
;;; doom-themes.el ends here
|
BIN
elpa/doom-themes-20210322.1750/doom-themes.elc
Normal file
BIN
elpa/doom-themes-20210322.1750/doom-themes.elc
Normal file
Binary file not shown.
128
elpa/doom-themes-20210322.1750/doom-tomorrow-day-theme.el
Normal file
128
elpa/doom-themes-20210322.1750/doom-tomorrow-day-theme.el
Normal file
|
@ -0,0 +1,128 @@
|
|||
;;; doom-tomorrow-day-theme.el -- port of tomorrow theme -*- no-byte-compile: t; -*-
|
||||
;;; Commentary:
|
||||
;; This file is part of emacs-doom-themes, which provides license
|
||||
;; information.
|
||||
;;; Code:
|
||||
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-tomorrow-day-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-tomorrow-day-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-tomorrow-day-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(def-doom-theme doom-tomorrow-day
|
||||
"A light theme based off of Chris Kempson's Tomorrow Dark."
|
||||
|
||||
;; name gui 256 16
|
||||
((bg '("#ffffff" "white" "white" ))
|
||||
(bg-alt '("#eaeaea" nil nil ))
|
||||
(base0 '("#f2f2f2" "white" "white" ))
|
||||
(base1 '("#e4e4e4" "#e4e4e4" ))
|
||||
(base2 '("#dedede" "#cccccc" ))
|
||||
(base3 '("#d6d4d4" "#cccccc" "silver"))
|
||||
(base4 '("#C0bfbf" "#c0c0c0" "silver"))
|
||||
(base5 '("#a3a1a1" "#adadad" "silver"))
|
||||
(base6 '("#8a8787" "#949494" "silver"))
|
||||
(base7 '("#696769" "#6b6b6b" "silver"))
|
||||
(base8 '("#000000" "#000000" "black" ))
|
||||
(fg '("#4d4d4c" "#3a3a3a" "black"))
|
||||
(fg-alt (doom-darken fg 0.6))
|
||||
|
||||
(grey '("#a5a4a5" "#999999" "silver"))
|
||||
(red '("#c82829" "#cc3333" "red"))
|
||||
(orange '("#f5871f" "#ff9933" "brightred"))
|
||||
(yellow '("#eab700" "#ffcc00" "yellow"))
|
||||
(green '("#718c00" "#669900" "green"))
|
||||
(blue '("#3e999f" "#339999" "brightblue"))
|
||||
(dark-blue '("#4271ae" "#336699" "blue"))
|
||||
(teal blue) ; FIXME replace with real teal
|
||||
(magenta '("#c9b4cf" "#c9b4cf" "magenta"))
|
||||
(violet '("#8959a8" "#996699" "brightmagenta"))
|
||||
(cyan '("#8abeb7" "#8abeb7" "cyan"))
|
||||
(dark-cyan (doom-lighten cyan 0.4))
|
||||
|
||||
;; face categories
|
||||
(highlight dark-blue)
|
||||
(vertical-bar base0)
|
||||
(selection base3)
|
||||
(builtin blue)
|
||||
(comments grey)
|
||||
(doc-comments (doom-darken 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 (car bg) 0.1) ,@(cdr base3)))
|
||||
(modeline-bg-alt `(,(doom-darken (car bg) 0.14) ,@(cdr base1)))
|
||||
(modeline-fg base8)
|
||||
(modeline-fg-alt comments)
|
||||
(-modeline-pad
|
||||
(when doom-tomorrow-day-padded-modeline
|
||||
(if (integerp doom-tomorrow-day-padded-modeline)
|
||||
doom-tomorrow-day-padded-modeline
|
||||
4))))
|
||||
|
||||
;; --- faces ------------------------------
|
||||
((doom-modeline-buffer-path :foreground violet :bold bold)
|
||||
(doom-modeline-buffer-major-mode :inherit 'doom-modeline-buffer-path)
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground blue :bold bold)
|
||||
|
||||
(ivy-current-match :background region :distant-foreground grey :weight 'ultra-bold)
|
||||
(ivy-minibuffer-match-face-1
|
||||
:foreground base5
|
||||
:weight 'light)
|
||||
(ivy-minibuffer-match-face-2 :inherit 'ivy-minibuffer-match-face-1 :foreground violet :weight 'ultra-bold)
|
||||
(ivy-minibuffer-match-face-3 :inherit 'ivy-minibuffer-match-face-2 :foreground blue)
|
||||
(ivy-minibuffer-match-face-4 :inherit 'ivy-minibuffer-match-face-2 :foreground red)
|
||||
|
||||
;; 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)))
|
||||
|
||||
;; org
|
||||
(org-block-begin-line :foreground base7 :background base3 :extend t)
|
||||
|
||||
;; treemacs
|
||||
(treemacs-git-untracked-face :foreground yellow)
|
||||
)
|
||||
|
||||
;; --- variables --------------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
(provide 'doom-tomorrow-day-theme)
|
||||
;;; doom-tomorrow-day-theme.el ends here
|
108
elpa/doom-themes-20210322.1750/doom-tomorrow-night-theme.el
Normal file
108
elpa/doom-themes-20210322.1750/doom-tomorrow-night-theme.el
Normal file
|
@ -0,0 +1,108 @@
|
|||
;;; doom-tomorrow-night-theme.el -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
(defgroup doom-tomorrow-night-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-tomorrow-night-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-tomorrow-night-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
(def-doom-theme doom-tomorrow-night
|
||||
"A theme based off of Chris Kempson's Tomorrow Dark."
|
||||
|
||||
;; name gui 256 16
|
||||
((bg '("#1d1f21" nil nil ))
|
||||
(bg-alt '("#161719" nil nil ))
|
||||
(base0 '("#0d0d0d" "black" "black" ))
|
||||
(base1 '("#1b1b1b" "#1b1b1b" ))
|
||||
(base2 '("#212122" "#1e1e1e" ))
|
||||
(base3 '("#292b2b" "#292929" "brightblack"))
|
||||
(base4 '("#3f4040" "#3f3f3f" "brightblack"))
|
||||
(base5 '("#5c5e5e" "#525252" "brightblack"))
|
||||
(base6 '("#757878" "#6b6b6b" "brightblack"))
|
||||
(base7 '("#969896" "#979797" "brightblack"))
|
||||
(base8 '("#ffffff" "#ffffff" "white" ))
|
||||
(fg '("#c5c8c6" "#c5c5c5" "white"))
|
||||
(fg-alt (doom-darken fg 0.4))
|
||||
|
||||
(grey '("#5a5b5a" "#5a5a5a" "brightblack"))
|
||||
(red '("#cc6666" "#cc6666" "red"))
|
||||
(orange '("#de935f" "#dd9955" "brightred"))
|
||||
(yellow '("#f0c674" "#f0c674" "yellow"))
|
||||
(green '("#b5bd68" "#b5bd68" "green"))
|
||||
(blue '("#81a2be" "#88aabb" "brightblue"))
|
||||
(dark-blue '("#41728e" "#41728e" "blue"))
|
||||
(teal blue) ; FIXME replace with real teal
|
||||
(magenta '("#c9b4cf" "#c9b4cf" "magenta"))
|
||||
(violet '("#b294bb" "#b294bb" "brightmagenta"))
|
||||
(cyan '("#8abeb7" "#8abeb7" "cyan"))
|
||||
(dark-cyan (doom-darken cyan 0.4))
|
||||
|
||||
;; face categories
|
||||
(highlight blue)
|
||||
(vertical-bar base0)
|
||||
(selection `(,(car (doom-lighten bg 0.1)) ,@(cdr base4)))
|
||||
(builtin blue)
|
||||
(comments grey)
|
||||
(doc-comments (doom-lighten grey 0.14))
|
||||
(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 (car bg-alt) 0.3) ,@(cdr base3)))
|
||||
(modeline-bg-alt `(,(car bg) ,@(cdr base1)))
|
||||
(modeline-fg base8)
|
||||
(modeline-fg-alt comments)
|
||||
(-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)
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground blue :bold 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)
|
||||
|
||||
(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
|
166
elpa/doom-themes-20210322.1750/doom-vibrant-theme.el
Normal file
166
elpa/doom-themes-20210322.1750/doom-vibrant-theme.el
Normal file
|
@ -0,0 +1,166 @@
|
|||
;; doom-vibrant-theme.el --- a more vibrant version of doom-one -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-vibrant-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-vibrant-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-vibrant-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-vibrant-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-vibrant-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-vibrant-comment-bg doom-vibrant-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background. Enhancing their
|
||||
legibility."
|
||||
:group 'doom-vibrant-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-vibrant-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-vibrant-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-vibrant
|
||||
"A dark theme based off of doom-one with more vibrant colors."
|
||||
|
||||
;; name gui 256 16
|
||||
((bg '("#242730" nil nil))
|
||||
(bg-alt '("#2a2e38" nil nil))
|
||||
(base0 '("#1c1f24" "#101010" "black" ))
|
||||
(base1 '("#1c1f24" "#1e1e1e" "brightblack" ))
|
||||
(base2 '("#21272d" "#21212d" "brightblack" ))
|
||||
(base3 '("#23272e" "#262626" "brightblack" ))
|
||||
(base4 '("#484854" "#5e5e5e" "brightblack" ))
|
||||
(base5 '("#62686E" "#666666" "brightblack" ))
|
||||
(base6 '("#757B80" "#7b7b7b" "brightblack" ))
|
||||
(base7 '("#9ca0a4" "#979797" "brightblack" ))
|
||||
(base8 '("#DFDFDF" "#dfdfdf" "white" ))
|
||||
(fg '("#bbc2cf" "#bfbfbf" ))
|
||||
(fg-alt '("#5D656B" "#5d5d5d" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#ff665c" "#ff6655" ))
|
||||
(orange '("#e69055" "#dd8844" ))
|
||||
(green '("#7bc275" "#99bb66" ))
|
||||
(teal '("#4db5bd" "#44b9b1" ))
|
||||
(yellow '("#FCCE7B" ))
|
||||
(blue '("#51afef" ))
|
||||
(dark-blue '("#1f5582" ))
|
||||
(magenta '("#C57BDB" ))
|
||||
(violet '("#a991f1" )) ;a9a1e1
|
||||
(cyan '("#5cEfFF" ))
|
||||
(dark-cyan '("#6A8FBF" ))
|
||||
|
||||
;; face categories
|
||||
(highlight blue)
|
||||
(vertical-bar base0)
|
||||
(selection dark-blue)
|
||||
(builtin magenta)
|
||||
(comments (if doom-vibrant-brighter-comments dark-cyan base5))
|
||||
(doc-comments (if doom-vibrant-brighter-comments (doom-lighten dark-cyan 0.15) (doom-lighten base4 0.3)))
|
||||
(constants violet)
|
||||
(functions cyan)
|
||||
(keywords blue)
|
||||
(methods violet)
|
||||
(operators magenta)
|
||||
(type yellow)
|
||||
(strings green)
|
||||
(variables base8)
|
||||
(numbers orange)
|
||||
(region "#3d4451")
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified yellow)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(hidden-alt `(,(car bg-alt) "black" "black"))
|
||||
(-modeline-pad
|
||||
(when doom-vibrant-padded-modeline
|
||||
(if (integerp doom-vibrant-padded-modeline) doom-vibrant-padded-modeline 4)))
|
||||
|
||||
(modeline-fg "#bbc2cf")
|
||||
(modeline-fg-alt (doom-blend blue grey (if doom-vibrant-brighter-modeline 0.4 0.08)))
|
||||
|
||||
(modeline-bg
|
||||
(if doom-vibrant-brighter-modeline
|
||||
`("#383f58" ,@(cdr base1))
|
||||
`(,(car bg-alt) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if doom-vibrant-brighter-modeline
|
||||
modeline-bg
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base1))))
|
||||
(modeline-bg-inactive (doom-darken bg 0.25))
|
||||
(modeline-bg-inactive-l `(,(doom-darken (car bg-alt) 0.2) ,@(cdr base0))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
(((all-the-icons-dblue &override) :foreground dark-cyan)
|
||||
(centaur-tabs-unselected :background bg-alt :foreground base6)
|
||||
(elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-vibrant-comment-bg (doom-darken bg-alt 0.095)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground blue :bold bold)
|
||||
|
||||
(doom-modeline-bar :background (if doom-vibrant-brighter-modeline modeline-bg highlight))
|
||||
(doom-modeline-buffer-path :foreground (if doom-vibrant-brighter-modeline base8 blue) :bold bold)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if doom-vibrant-brighter-modeline base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
(whitespace-empty :background base2)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
|
||||
;; org-mode
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden-alt))
|
||||
|
||||
|
||||
;; --- extra variables --------------------
|
||||
;; ()
|
||||
)
|
||||
|
||||
;;; doom-vibrant-theme.el ends here
|
163
elpa/doom-themes-20210322.1750/doom-wilmersdorf-theme.el
Normal file
163
elpa/doom-themes-20210322.1750/doom-wilmersdorf-theme.el
Normal file
|
@ -0,0 +1,163 @@
|
|||
;;; doom-wilmersdorf-theme.el --- inspired by Atom City Lights -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-wilmersdorf-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-wilmersdorf-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-wilmersdorf-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-wilmersdorf
|
||||
"A dark theme inspired by Atom City Lights"
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#282b33" "#282b33" nil ))
|
||||
(bg-alt '("#1f2024" "#1f2024" nil ))
|
||||
(base0 '("#222228" "#222228" "black" ))
|
||||
(base1 '("#282b33" "#282b33" "brightblack" ))
|
||||
(base2 '("#34373e" "#34373e" "brightblack" ))
|
||||
(base3 '("#41454b" "#41454b" "brightblack" ))
|
||||
(base4 '("#515462" "#515462" "brightblack" ))
|
||||
(base5 '("#888395" "#888395" "brightblack" ))
|
||||
(base6 '("#929292" "#929292" "brightblack" ))
|
||||
(base7 '("#727269" "#727269" "brightblack" ))
|
||||
(base8 '("#eceff4" "#eceff4" "white" ))
|
||||
(fg-alt '("#c9d9ff" "#c9d9ff" "brightwhite" ))
|
||||
(fg '("#c6c6c6" "#c6c6c6" "white" ))
|
||||
|
||||
(grey base4)
|
||||
(red '("#e1c1ee" "#e1c1ee" "red" ))
|
||||
(orange '("#a6c1e0" "#a6c1e0" "brightred" ))
|
||||
(green '("#5b94ab" "#5b94ab" "green" ))
|
||||
(teal '("#7ebebd" "#7ebebd" "brightgreen" ))
|
||||
(yellow '("#cfcf9c" "#cfcf9c" "yellow" ))
|
||||
(blue '("#819cd6" "#819cd6" "brightblue" ))
|
||||
(light-blue '("#90a6db" "#90a6db" "yellow" ))
|
||||
(dark-blue '("#616c96" "#616c96" "blue" ))
|
||||
(magenta '("#a6c1e0" "#a6c1e0" "magenta" ))
|
||||
(violet '("#b0a2e7" "#b0a2e7" "brightmagenta"))
|
||||
(cyan '("#7289bc" "#7289bc" "brightcyan" ))
|
||||
(dark-cyan '("#6e7899" "#6e7899" "cyan" ))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.5))
|
||||
(selection dark-blue)
|
||||
(builtin teal)
|
||||
(comments dark-cyan)
|
||||
(doc-comments (doom-lighten dark-cyan 0.25))
|
||||
(constants magenta)
|
||||
(functions teal)
|
||||
(keywords blue)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type violet)
|
||||
(strings green)
|
||||
(variables magenta)
|
||||
(numbers magenta)
|
||||
(region base3)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-pad
|
||||
(when doom-wilmersdorf-padded-modeline
|
||||
(if (integerp doom-wilmersdorf-padded-modeline) doom-wilmersdorf-padded-modeline 4)))
|
||||
|
||||
(modeline-fg nil)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
`(,(doom-darken (car bg) 0.15) ,@(cdr base0)))
|
||||
(modeline-bg-l
|
||||
`(,(doom-darken (car bg) 0.1) ,@(cdr base0)))
|
||||
(modeline-bg-inactive (doom-darken bg 0.1))
|
||||
(modeline-bg-inactive-l `(,(car bg) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
((line-number &override) :foreground base4)
|
||||
((line-number-current-line &override) :foreground fg)
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments)
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(doom-modeline-bar :background highlight)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground highlight)
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; mic-paren
|
||||
(paren-face-match :foreground teal :background base0 :weight 'ultra-bold)
|
||||
(paren-face-mismatch :foreground red :background violet :weight 'ultra-bold)
|
||||
(paren-face-no-match :inherit 'paren-face-mismatch :weight 'ultra-bold)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
(markdown-url-face :foreground teal :weight 'normal)
|
||||
(markdown-reference-face :foreground base6)
|
||||
((markdown-bold-face &override) :foreground fg)
|
||||
((markdown-italic-face &override) :foreground fg-alt)
|
||||
|
||||
;; outline (affects org-mode)
|
||||
((outline-1 &override) :foreground blue)
|
||||
((outline-2 &override) :foreground green)
|
||||
((outline-3 &override) :foreground teal)
|
||||
((outline-4 &override) :foreground (doom-darken blue 0.2))
|
||||
((outline-5 &override) :foreground (doom-darken green 0.2))
|
||||
((outline-6 &override) :foreground (doom-darken teal 0.2))
|
||||
((outline-7 &override) :foreground (doom-darken blue 0.4))
|
||||
((outline-8 &override) :foreground (doom-darken green 0.4))
|
||||
|
||||
;; org-mode
|
||||
((org-block &override) :background base2)
|
||||
((org-block-begin-line &override) :background base2)
|
||||
(org-hide :foreground hidden)
|
||||
(solaire-org-hide-face :foreground hidden)
|
||||
|
||||
;; tooltip
|
||||
(tooltip :background bg-alt :foreground fg))
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-wilmersdorf-theme.el ends here
|
393
elpa/doom-themes-20210322.1750/doom-zenburn-theme.el
Normal file
393
elpa/doom-themes-20210322.1750/doom-zenburn-theme.el
Normal file
|
@ -0,0 +1,393 @@
|
|||
;;; doom-zenburn-theme.el --- -*- no-byte-compile: t; -*-
|
||||
(require 'doom-themes)
|
||||
|
||||
;;
|
||||
(defgroup doom-zenburn-theme nil
|
||||
"Options for doom-themes"
|
||||
:group 'doom-themes)
|
||||
|
||||
(defcustom doom-zenburn-brighter-modeline nil
|
||||
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||
:group 'doom-zenburn-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-zenburn-brighter-comments nil
|
||||
"If non-nil, comments will be highlighted in more vivid colors."
|
||||
:group 'doom-zenburn-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-zenburn-comment-bg doom-zenburn-brighter-comments
|
||||
"If non-nil, comments will have a subtle, darker background.
|
||||
Enhances their legibility."
|
||||
:group 'doom-zenburn-theme
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom doom-zenburn-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-zenburn-theme
|
||||
:type '(choice integer boolean))
|
||||
|
||||
;;
|
||||
(def-doom-theme doom-zenburn
|
||||
"An implementation of the popular Zenburn theme."
|
||||
|
||||
;; name default 256 16
|
||||
((bg '("#3F3F3F" nil nil )) ;; zenburn-bg
|
||||
(bg-alt '("#383838" nil nil )) ;; zenburn-bg-05
|
||||
(base0 '("#000000" "black" "black" )) ;; zenburn-bg-2
|
||||
(base1 '("#2B2B2B" "#1e1e1e" "brightblack" )) ;; zenburn-bg-1
|
||||
(base2 '("#303030" "#2e2e2e" "brightblack" )) ;; zenburn-bg-08
|
||||
(base3 '("#383838" "#262626" "brightblack" )) ;; zenburn-bg-05
|
||||
(base4 '("#494949" "#3f3f3f" "brightblack" )) ;; zenburn-bg+05
|
||||
(base5 '("#4F4F4F" "#525252" "brightblack" )) ;; zenburn-bg+1
|
||||
(base6 '("#5F5F5F" "#6b6b6b" "brightblack" )) ;; zenburn-bg+2
|
||||
(base7 '("#6F6F6F" "#979797" "brightblack" )) ;; zenburn-bg+3
|
||||
(base8 '("#FFFFEF" "#dfdfdf" "white" )) ;; zenburn-fg+1
|
||||
(fg '("#DCDCDC" "#bfbfbf" "brightwhite" )) ;; zenburn-fg
|
||||
(fg-alt '("#989890" "#2d2d2d" "white" )) ;; zenburn-fg-05
|
||||
|
||||
(grey base4)
|
||||
(red '("#CC9393" "#ff6655" "red" )) ;; zenburn-red
|
||||
(orange '("#DFAF8F" "#dd8844" "brightred" )) ;; zenburn-orange
|
||||
(green '("#7F9F7F" "#99bb66" "green" )) ;; zenburn-green
|
||||
(teal '("#4db5bd" "#44b9b1" "brightgreen" )) ;; zenburn-??
|
||||
(yellow '("#F0DFAF" "#ECBE7B" "yellow" )) ;; zenburn-yellow
|
||||
(blue '("#8CD0D3" "#51afef" "brightblue" )) ;; zenburn-blue
|
||||
(dark-blue '("#2257A0" "#2257A0" "blue" )) ;; zenburn-??
|
||||
(magenta '("#DC8CC3" "#c678dd" "brightmagenta")) ;; zenburn-magenta
|
||||
(violet '("#a9a1e1" "#a9a1e1" "magenta" )) ;; zendurn-??
|
||||
(cyan '("#93E0E3" "#46D9FF" "brightcyan" )) ;; zenburn-cyan
|
||||
(dark-cyan '("#5699AF" "#5699AF" "cyan" )) ;; zenburn-??
|
||||
|
||||
;; Extra zenburn colors
|
||||
(fg-1 '("#656555"))
|
||||
(fg+2 '("#FFFFFD"))
|
||||
(red-4 '("#8C5353"))
|
||||
(red-1 '("#BC8383"))
|
||||
(red+1 '("#DCA3A3"))
|
||||
(yellow-2 '("#D0BF8F"))
|
||||
(yellow-1 '("#E0CF9F"))
|
||||
(green-2 '("#5F7F5F"))
|
||||
(green+1 '("#8FB28F"))
|
||||
(green+2 '("#9FC59F"))
|
||||
(green+3 '("#AFD8AF"))
|
||||
(green+4 '("#BFEBBF"))
|
||||
(blue+1 '("#94BFF3"))
|
||||
(blue-1 '("#7CB8BB"))
|
||||
(blue-2 '("#6CA0A3"))
|
||||
(blue-3 '("#5C888B"))
|
||||
(blue-4 '("#4C7073"))
|
||||
(blue-5 '("#366060"))
|
||||
|
||||
;; face categories -- required for all themes
|
||||
(highlight blue)
|
||||
(vertical-bar (doom-darken base1 0.1))
|
||||
(selection dark-blue)
|
||||
(builtin fg)
|
||||
(comments green)
|
||||
(doc-comments green+2)
|
||||
(constants green+4)
|
||||
(functions cyan)
|
||||
(keywords yellow)
|
||||
(methods cyan)
|
||||
(operators blue)
|
||||
(type blue-1)
|
||||
(strings red)
|
||||
(variables orange)
|
||||
(numbers fg)
|
||||
(region base1)
|
||||
(error red)
|
||||
(warning yellow)
|
||||
(success green)
|
||||
(vc-modified orange)
|
||||
(vc-added green)
|
||||
(vc-deleted red)
|
||||
|
||||
;; custom categories
|
||||
(hidden `(,(car bg) "black" "black"))
|
||||
(-modeline-bright doom-zenburn-brighter-modeline)
|
||||
(-modeline-pad
|
||||
(when doom-zenburn-padded-modeline
|
||||
(if (integerp doom-zenburn-padded-modeline) doom-zenburn-padded-modeline 4)))
|
||||
|
||||
(modeline-fg fg)
|
||||
(modeline-fg-alt base5)
|
||||
|
||||
(modeline-bg
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.475)
|
||||
`(,(doom-darken (car bg-alt) 0.15) ,@(cdr base0))))
|
||||
(modeline-bg-l
|
||||
(if -modeline-bright
|
||||
(doom-darken blue 0.45)
|
||||
`(,(doom-darken (car bg-alt) 0.1) ,@(cdr base0))))
|
||||
(modeline-bg-inactive `(,(doom-darken (car bg-alt) 0.1) ,@(cdr bg-alt)))
|
||||
(modeline-bg-inactive-l `(,(car bg-alt) ,@(cdr base1))))
|
||||
|
||||
|
||||
;; --- extra faces ------------------------
|
||||
((elscreen-tab-other-screen-face :background "#353a42" :foreground "#1e2022")
|
||||
|
||||
(evil-goggles-default-face :inherit 'region :background (doom-blend region bg 0.5))
|
||||
|
||||
(font-lock-comment-face
|
||||
:foreground comments
|
||||
:background (if doom-zenburn-comment-bg (doom-lighten bg 0.05)))
|
||||
(font-lock-doc-face
|
||||
:inherit 'font-lock-comment-face
|
||||
:foreground doc-comments)
|
||||
|
||||
(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-inactive :foreground modeline-fg-alt
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive)))
|
||||
(mode-line-emphasis
|
||||
:foreground (if -modeline-bright base8 highlight))
|
||||
|
||||
(solaire-mode-line-face
|
||||
:inherit 'mode-line
|
||||
:background modeline-bg-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-l)))
|
||||
(solaire-mode-line-inactive-face
|
||||
:inherit 'mode-line-inactive
|
||||
:background modeline-bg-inactive-l
|
||||
:box (if -modeline-pad `(:line-width ,-modeline-pad :color ,modeline-bg-inactive-l)))
|
||||
|
||||
(link :foreground yellow-2 :underline t :weight 'bold)
|
||||
(cursor :foreground fg :background base8)
|
||||
(widget-field :foreground fg :background base7)
|
||||
(escape-glyph :foreground yellow :weight 'bold)
|
||||
(fringe :foreground fg :background base5)
|
||||
(highlight :background base4)
|
||||
(success :foreground green :weight 'bold)
|
||||
(warning :foreground orange :weight 'bold)
|
||||
(tooltip :foreground fg :background base5)
|
||||
|
||||
(font-lock-builtin-face :foreground fg :weight 'bold)
|
||||
(font-lock-comment-delimiter-face :foreground green-2)
|
||||
(font-lock-constant-face :foreground green+4)
|
||||
(font-lock-doc-face :foreground green+2)
|
||||
(font-lock-type-face :foreground blue-1)
|
||||
(font-lock-warning-face :foreground yellow-1 :weigth 'bold)
|
||||
(font-lock-keyword-face :foreground yellow :weight 'bold)
|
||||
|
||||
;; compilation
|
||||
(compilation-error-face :inherit error :underline t)
|
||||
(compilation-info :foreground blue)
|
||||
(compilation-line-number :foreground yellow)
|
||||
(compilation-warning-face :foreground yellow)
|
||||
(compilation-mode-line-exit :foreground green+2 :weight 'bold)
|
||||
|
||||
;; Completions
|
||||
(completion-annotations :foreground fg-1)
|
||||
|
||||
;; Customize
|
||||
(custom-variable-tag :foreground blue :weight 'bold)
|
||||
(custom-group-tag :foreground blue :weight 'bold)
|
||||
(custom-state :foreground green+4)
|
||||
|
||||
;;fill-column
|
||||
(fill-column-indicator :foreground base4 :weight 'semilight)
|
||||
|
||||
;; hi-lock
|
||||
(hi-green :background green+4 :background base1)
|
||||
(hi-green-b :foreground green+2 :weight 'bold)
|
||||
|
||||
|
||||
;; isearch
|
||||
(isearch :freground yellow-2 :weight 'bold :background base6)
|
||||
(isearch-fail :foreground fg :background red-4)
|
||||
(lazy-highlight :foreground yellow-2 :weight 'bold :background base3)
|
||||
|
||||
(minibuffer-prompt :foreground yellow)
|
||||
|
||||
(mode-line :foreground green+1 :background base1)
|
||||
(mode-line-inactive :foreground green-2)
|
||||
|
||||
(vertical-border :foreground fg-1) ;; different
|
||||
|
||||
;; line numbers
|
||||
(line-number :inherit 'default :foreground base7)
|
||||
(line-number-current-line :inherit 'line-number :foreground yellow-2)
|
||||
|
||||
;; woman
|
||||
(woman :inherit 'font-lock-keyword-face)
|
||||
(woman :inherit 'font-lock-string-face italic)
|
||||
|
||||
;; centaur-tabs
|
||||
(centaur-tabs-selected :background bg :foreground fg+2)
|
||||
(centaur-tabs-unselected :background base1 :foreground fg-alt)
|
||||
(centaur-tabs-selected-modified :background bg :foreground orange)
|
||||
(centaur-tabs-unselected-modified :background base1 :foreground orange)
|
||||
(centaur-tabs-active-bar-face :background yellow)
|
||||
(centaur-tabs-modified-marker-selected :inherit 'centaur-tabs-selected-modified :foreground yellow)
|
||||
(centaur-tabs-modified-marker-unselected :inherit 'centaur-tabs-unselected-modified :foreground yellow)
|
||||
|
||||
;; calfw
|
||||
(cfw:face-default-content :foreground green)
|
||||
(cfw:face-disable :foreground fg-1)
|
||||
(cfw:face :inherit 'shadow)
|
||||
(cfw:face :inherit 'font-lock-keyword-face)
|
||||
(cfw:face-sunday :foreground red :weight 'bold)
|
||||
(cfw:face :inherit 'cfw:face-sunday)
|
||||
(cfw:face-periods :foreground cyan)
|
||||
(cfw:face-select :background blue-5)
|
||||
(cfw:face-saturday :foreground blue :weight 'bold)
|
||||
(cfw:face-select :background blue-5)
|
||||
(cfw:face-title :height 2.0 :inherit '(variable-pitch font-lock-keyword-face))
|
||||
(cfw:face-today :foreground cyan :weight 'bold)
|
||||
(cfw:face-toolbar-button-off :underline nil :inherit 'link)
|
||||
(cfw:face-toolbar-button-on :underline nil :inherit 'link-visited)
|
||||
|
||||
;; diff-hl
|
||||
(diff-hl-change :foreground blue :background blue-2)
|
||||
(diff-hl-delete :foreground red+1 :background red-1)
|
||||
(diff-hl-insert :foreground green+1 :background green-2)
|
||||
|
||||
;; Doom modeline
|
||||
(doom-modeline-bar :background yellow)
|
||||
(doom-modeline-buffer-file :inherit 'mode-line-buffer-id :weight 'bold)
|
||||
(doom-modeline-buffer-path :inherit 'mode-line-emphasis :weight 'bold)
|
||||
(doom-modeline-buffer-project-root :foreground green :weight 'bold)
|
||||
|
||||
;; --- major-mode faces -------------------
|
||||
;; css-mode / scss-mode
|
||||
(css-proprietary-property :foreground orange)
|
||||
(css-property :foreground green)
|
||||
(css-selector :foreground blue)
|
||||
|
||||
;; flycheck
|
||||
(flycheck-error :underline `(:style wave :color ,red-1) :weight 'bold)
|
||||
(flycheck-warning :underline `(:style wave :color ,yellow) :weight 'bold)
|
||||
(flycheck-info :underline `(:style wave :color ,cyan) :weight 'bold)
|
||||
|
||||
;; git-commit
|
||||
(git-commit-comment-action :foreground green+1 :weight 'bold)
|
||||
(git-commit-comment-branch :foreground blue+1 :weight 'bold)
|
||||
(git-commit-comment-branch-local :foreground blue+1 :weight 'bold)
|
||||
|
||||
;; git-gutter
|
||||
(git-gutter:added :foreground green :weight 'bold)
|
||||
(git-gutter:deleted :foreground red :weight 'bold)
|
||||
(git-gutter:modified :foreground magenta :weight 'bold)
|
||||
|
||||
;; ivy
|
||||
(ivy-current-match :background bg-alt :weight 'bold)
|
||||
(ivy-minibuffer-match-face-2 :foreground green+4 :weight 'bold)
|
||||
|
||||
;; helm
|
||||
(helm-header :foreground yellow :background base1 :weight 'bold :extend t)
|
||||
(helm-source-header :foreground yellow :background base1 :weight 'bold :extend t)
|
||||
(helm-selection :background base5)
|
||||
(helm-selection-line :background base5)
|
||||
(helm-visible-mark :foreground bg :background yellow-2)
|
||||
(helm-candidate-number :foreground green+4 :background base1)
|
||||
(helm-separator :foreground red :background bg)
|
||||
(helm-time-zone-current :foreground green+2 :background bg)
|
||||
(helm-time-zone-home :foreground red :background bg)
|
||||
(helm-buffer-not-saved :foreground red :background bg)
|
||||
(helm-buffer-process :foreground cyan :background bg)
|
||||
(helm-buffer-saved-out :foreground fg :background bg)
|
||||
(helm-buffer-size :foreground fg-1 :background bg)
|
||||
(helm-ff-directory :foreground cyan :weight 'bold)
|
||||
(helm-ff-executable :foreground green+2 :background bg :weight 'normal)
|
||||
(helm-ff-invalid-symlink :foreground red :background bg :weight 'bold)
|
||||
(helm-ff-symlink :foreground yellow :background bg :weight 'bold)
|
||||
(helm-ff-prefix :foreground bg :background yellow :weight 'normal)
|
||||
(helm-grep-cmd-line :foreground cyan :background bg)
|
||||
(helm-grep-file :foreground fg :background bg)
|
||||
(helm-grep-finish :foreground green+2 :background bg)
|
||||
(helm-grep-lineno :foreground fg-1 :background bg)
|
||||
(helm-grep-match :foreground 'nil :background 'nil :inherit 'helm-match)
|
||||
(helm-grep-running :foreground red :background bg)
|
||||
(helm-match :foreground orange :background base1 :weight 'bold)
|
||||
(helm-swoop-target-line-face :foreground fg :background base6)
|
||||
(helm-swoop-target-word-face :foreground yellow :background base6 :weight 'bold)
|
||||
|
||||
;; js2-mode
|
||||
(js2-jsdoc-tag :foreground green-2)
|
||||
(js2-jsdoc-type :foreground green+2)
|
||||
(js2-jsdoc-value :foreground green+3)
|
||||
(js2-exernal-variable :foreground orange)
|
||||
(js2-instance-member :foreground green-2)
|
||||
(js2-jsdoc-html-tag-delimiter :foreground orange)
|
||||
(js2-jsdoc-html-tag-name :foreground red-1)
|
||||
(js2-object-property :foreground blue+1)
|
||||
(js2-magic-paren :foreground blue-5)
|
||||
(js2-private-function-call :foreground cyan)
|
||||
(js2-function-call :foreground cyan)
|
||||
(js2-private-member :foreground blue-1)
|
||||
(js2-keywords :foreground magenta)
|
||||
|
||||
;; lui
|
||||
(lui-time-stampe-face :foreground blue-1)
|
||||
(lui-hilight-face :foreground green+2 :background bg)
|
||||
(lui-button-face :inherit 'hover-highlight)
|
||||
|
||||
;; mic-paren
|
||||
(paren-face-match :foreground cyan :background bg :weight 'bold)
|
||||
(paren-face-mismatch :foreground bg :background magenta :weight 'bold)
|
||||
(paren-face-no-match :foreground bg :background red :weight 'bold)
|
||||
|
||||
;; markdown-mode
|
||||
(markdown-markup-face :foreground base5)
|
||||
(markdown-header-face :inherit 'bold :foreground red)
|
||||
((markdown-code-face &override) :background (doom-lighten base3 0.05))
|
||||
|
||||
;; org-mode
|
||||
(outline-1 :foreground orange)
|
||||
(outline-2 :foreground green+4)
|
||||
(outline-3 :foreground blue-1)
|
||||
(outline-4 :foreground yellow-2)
|
||||
(outline-5 :foreground cyan)
|
||||
(outline-6 :foreground green+2)
|
||||
(outline-7 :foreground red-4)
|
||||
(outline-8 :foreground blue-4)
|
||||
|
||||
;; rpm-model
|
||||
(rpm-doc-face :foreground green)
|
||||
(rpm-ghost-face :foreground red)
|
||||
(rpm-package-face :foreground red)
|
||||
(rpm-package-section-face :foreground yellow)
|
||||
|
||||
;; rst-mode
|
||||
(rst-level-1-face :foreground orange)
|
||||
(rst-level-2-face :foreground green+1)
|
||||
(rst-level-3-face :foreground blue-1)
|
||||
(rst-level-4-face :foreground yellow-2)
|
||||
(rst-level-5-face :foreground cyan)
|
||||
(rst-level-6-face :foreground green-2)
|
||||
|
||||
;; solaire
|
||||
(solaire-default-face :inherit 'default :background base2)
|
||||
(solaire-minibuffer-face :inherit 'default :background base2)
|
||||
(solaire-hl-line-face :inherit 'hl-line :background bg)
|
||||
(solaire-org-hide-face :inherit 'org-hide :background bg)
|
||||
|
||||
;; web-mode
|
||||
(web-mode-html-attr-name-face :foreground orange)
|
||||
(web-mode-css-pseudo-class-face :foreground green+3 :weight 'bold)
|
||||
(web-mode-css-at-rule-face :foreground orange )
|
||||
(web-mode-function-name-face :foreground blue)
|
||||
(web-mode-html-attr-value-face :inherit 'font-lock-string-face)
|
||||
(web-mode-whitespaces-face :background red)
|
||||
|
||||
;; company
|
||||
(company-tooltip-selection :background base6)
|
||||
(company-scrollbar-fg :background base7)
|
||||
(company-tooltip-annotation :foreground green :distant-foreground green)
|
||||
|
||||
;; highlight-symbol
|
||||
(highlight-symbol-face :background base6)
|
||||
|
||||
;; highlight-thing
|
||||
(highlight-thing :background base6))
|
||||
|
||||
;; --- extra variables ---------------------
|
||||
()
|
||||
)
|
||||
|
||||
;;; doom-zenburn-theme.el ends here
|
4
init.el
4
init.el
|
@ -68,6 +68,8 @@
|
|||
:init (doom-modeline-mode 1)
|
||||
:custom ((doom-modeline-height 15)))
|
||||
|
||||
(use-package doom-themes)
|
||||
|
||||
(use-package rainbow-delimiters
|
||||
:hook (prog-mode . rainbow-delimiters-mode))
|
||||
|
||||
|
@ -87,7 +89,7 @@
|
|||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages
|
||||
'(counsel ivy-rich which-key rainbow-delimiters doom-modeline use-package shrink-path ivy command-log-mode all-the-icons)))
|
||||
'(doom-themes counsel ivy-rich which-key rainbow-delimiters doom-modeline use-package shrink-path ivy command-log-mode all-the-icons)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
|
Loading…
Reference in New Issue
Block a user