my-dark-theme.el (8927B)
1 ;;; my-dark-theme.el --- Dark Theme -*- lexical-binding: t -*- 2 3 ;;; Commentary: 4 ;; A green dark theme base on solarized-theme 5 6 ;;; Code: 7 8 (require 'solarized) 9 (require 'my-palette) 10 (eval-when-compile 11 (require 'solarized-palettes)) 12 13 (deftheme my-dark "A dark theme using Solarized framework.") 14 15 (solarized-with-color-variables-with-palette 16 'dark 17 'my-dark 18 my-dark-core-palette 19 '((custom-theme-set-faces 20 theme-name 21 22 `(font-lock-keyword-face ((,class (:foreground ,cyan :weight bold)))) 23 `(font-lock-doc-face ((,class (:foreground ,green :slant normal)))) 24 `(font-lock-string-face ((,class (:foreground ,green)))) 25 `(font-lock-regexp-grouping-backslash ((,class (:foreground ,cyan :weight bold)))) 26 27 `(italic ((,class (:slant italic)))) 28 `(line-number ((,class (:foreground ,base01 :weight light)))) 29 `(button ((,class (:foreground ,yellow :underline t)))) 30 31 `(mode-line ((,class (:foreground ,base0 :background ,base02)))) 32 `(mode-line-inactive ((,class (:foreground ,base01 :background ,base03)))) 33 `(display-time-date-and-time ((,class (:foreground ,base1 :bold t)))) 34 35 `(outline-1 ((,class (:foreground ,orange :height 1.0 :weight normal)))) 36 `(outline-2 ((,class (:foreground ,blue :height 1.0 :weight normal)))) 37 `(outline-3 ((,class (:foreground ,green :height 1.0 :weight normal)))) 38 `(outline-4 ((,class (:foreground ,yellow :height 1.0 :weight normal)))) 39 `(outline-5 ((,class (:foreground ,cyan :height 1.0 :weight normal)))) 40 `(outline-6 ((,class (:foreground ,green :height 1.0 :weight normal)))) 41 `(outline-7 ((,class (:foreground ,orange :height 1.0 :weight normal)))) 42 `(outline-8 ((,class (:foreground ,blue :height 1.0 :weight normal)))) 43 44 `(org-level-1 ((,class (:inherit outline-1)))) 45 `(org-level-2 ((,class (:inherit outline-2)))) 46 `(org-level-3 ((,class (:inherit outline-3)))) 47 `(org-level-4 ((,class (:inherit outline-4)))) 48 `(org-level-5 ((,class (:inherit outline-5)))) 49 `(org-level-6 ((,class (:inherit outline-6)))) 50 `(org-level-7 ((,class (:inherit outline-7)))) 51 `(org-level-8 ((,class (:inherit outline-8)))) 52 `(org-document-title ((,class (:foreground ,base0 :height 1.0 :weight bold)))) 53 `(org-done ((,class (:foreground ,green :weight bold)))) 54 `(org-headline-done ((,class (:foreground ,green)))) 55 `(org-block-begin-line ((,class (:foreground ,base01 :slant italic)))) 56 `(org-block-end-line ((,class (:foreground ,base01 :slant italic)))) 57 `(org-priority ((,class (:foreground ,green :weight bold)))) 58 `(org-checkbox ((,class (:foreground ,base0 :weight bold)))) 59 `(org-dispatcher-highlight ((,class (:inherit diff-hunk-header :weight bold)))) 60 61 `(calendar-month-header ((,class (:foreground ,base0 :weight bold)))) 62 `(holiday ((,class (:underline (:style line :color ,yellow))))) 63 `(cal-china-x-important-holiday-face ((,class (:underline (:style line :color ,red))))) 64 `(cal-china-x-general-holiday-face ((,class (:underline (:style line :color ,yellow))))) 65 66 `(denote-journal-calendar ((,class (:foreground ,cyan :slant italic)))) 67 `(denote-faces-keywords ((,class (:foreground ,cyan)))) 68 69 `(markdown-header-face-1 ((,class (:foreground ,orange :height 1.0 :weight normal)))) 70 `(markdown-header-face-2 ((,class (:foreground ,blue :height 1.0 :weight normal)))) 71 `(markdown-header-face-3 ((,class (:foreground ,green :height 1.0 :weight normal)))) 72 `(markdown-header-face-4 ((,class (:foreground ,yellow :height 1.0 :weight normal)))) 73 `(markdown-header-face-5 ((,class (:foreground ,cyan :height 1.0 :weight normal)))) 74 `(markdown-header-face-6 ((,class (:foreground ,green :height 1.0 :weight normal)))) 75 `(markdown-code-face ((,class (:foreground ,base0)))) 76 `(markdown-table-face ((,class (:foreground ,green)))) 77 78 `(md-ts-heading-1 ((,class (:inherit outline-1)))) 79 `(md-ts-heading-2 ((,class (:inherit outline-2)))) 80 `(md-ts-heading-3 ((,class (:inherit outline-3)))) 81 `(md-ts-heading-4 ((,class (:inherit outline-4)))) 82 `(md-ts-heading-5 ((,class (:inherit outline-5)))) 83 `(md-ts-heading-6 ((,class (:inherit outline-6)))) 84 `(md-ts-code ((,class (:foreground ,base01)))) 85 86 `(dashboard-footer-face ((,class (:foreground ,blue)))) 87 `(dashboard-text-banner ((,class (:foreground ,green)))) 88 `(dashboard-heading ((,class (:foreground ,green :weight bold)))) 89 90 `(dired-broken-symlink ((,class (:inherit dired-symlink :foreground ,orange)))) 91 `(dired-header ((,class (:foreground ,green)))) 92 `(dirvish-file-time ((,class (:foreground ,base01)))) 93 `(dirvish-free-space ((,class (:foreground ,green)))) 94 `(dired-async-mode-message ((,class (:foreground ,red)))) 95 `(dired-async-message ((,class (:foreground ,yellow)))) 96 97 `(diff-hunk-header ((,class (:foreground ,yellow-1fg :background ,yellow-1bg)))) 98 99 `(consult-file ((,class (:foreground ,green)))) 100 `(consult-notes-name ((,class (:foreground ,base01)))) 101 `(consult-notes-time ((,class (:foreground ,base01)))) 102 `(consult-notes-size ((,class (:foreground ,base01)))) 103 104 `(vertico-current ((,class (:background ,base02 :extend t :underline nil)))) 105 106 `(transient-key-stay ((,class (:foreground ,cyan :inherit transient-key)))) 107 `(transient-key-return ((,class (:foreground ,violet :inherit transient-key)))) 108 `(transient-key-exit ((,class (:foreground ,blue :inherit transient-key)))) 109 `(transient-key-stack ((,class (:foreground ,magenta :inherit transient-key)))) 110 `(transient-key-recurse ((,class (:foreground ,blue :inherit transient-key)))) 111 `(transient-key-noop ((,class (:foreground ,base01 :inherit transient-key)))) 112 113 `(geiser-font-lock-repl-output ((,class (:foreground ,green)))) 114 `(geiser-font-lock-doc-link ((,class (:foreground ,blue :underline t)))) 115 `(geiser-font-lock-error-link ((,class (:foreground ,orange :underline t)))) 116 117 `(emms-playlist-track-face ((,class (:foreground ,cyan)))) 118 `(emms-playlist-selected-face ((,class (:foreground ,blue :weight bold)))) 119 120 `(elfeed-search-separator-face ((,class (:inherit elfeed-show-date-face :weight bold :underline t :extend t)))) 121 122 `(proced-pid ((,class (:foreground ,violet)))) 123 `(proced-session-leader-pid ((,class (:inherit proced-pid :underline t)))) 124 `(proced-ppid ((,class (:foreground ,blue)))) 125 `(proced-sess ((,class (:inherit proced-ppid)))) 126 `(proced-emacs-pid ((,class (:foreground ,magenta)))) 127 `(proced-memory-low-usage ((,class (:foreground ,green)))) 128 `(proced-memory-medium-usage ((,class (:foreground ,yellow)))) 129 `(proced-memory-high-usage ((,class (:foreground ,red)))) 130 `(proced-executable ((,class (:foreground ,cyan)))) 131 `(proced-run-status-code ((,class (:foreground ,green)))) 132 `(proced-interruptible-sleep-status-code ((,class (:foreground ,base01)))) 133 `(proced-uninterruptible-sleep-status-code ((,class (:foreground ,red)))) 134 `(proced-time-colon ((,class (:foreground ,base01)))) 135 `(proced-cpu ((,class (:foreground ,base0)))) 136 `(proced-mem ((,class (:foreground ,base0)))) 137 138 `(speedbar-separator-face ((,class (:foreground ,base03 :background ,blue)))) 139 `(speedbar-file-face ((,class (:foreground ,base0)))) 140 `(speedbar-tag-face ((,class (:foreground ,green)))) 141 `(speedbar-button-face ((,class (:foreground ,base01)))) 142 `(speedbar-selected-face ((,class (:inherit button)))) 143 `(speedbar-directory-face ((,class (:foreground ,blue)))) 144 `(speedbar-highlight-face ((,class (:foreground ,base1 :background ,base02)))) 145 146 `(syncthing-bold ((,class (:inherit bold)))) 147 `(syncthing-italic ((,class (:inherit italic)))) 148 `(syncthing-my-id ((,class (:foreground ,blue :weight bold)))) 149 `(syncthing-rate-upload ((,class (:foreground ,green)))) 150 `(syncthing-rate-download ((,class (:foreground ,blue :weight bold)))) 151 `(syncthing-uptime ((,class (:foreground ,magenta :wegiht bold)))) 152 `(syncthing-count-discovery ((,class (:foreground ,blue :weight bold)))) 153 `(syncthing-count-listeners ((,class (:foreground ,green :weight bold)))) 154 `(syncthing-count-local-bytes ((,class (:foreground ,cyan :weight bold)))) 155 `(syncthing-count-local-files ((,class (:inherit default :weight bold)))) 156 `(syncthing-count-local-folders ((,class (:foreground ,yellow :weight bold)))) 157 `(syncthing-progress-100 ((,class (:foreground ,green)))) 158 `(syncthing-progress-75 ((,class (:foreground ,cyan)))) 159 `(syncthing-progress-50 ((,class (:foreground ,yellow)))) 160 `(syncthing-progress-25 ((,class (:foreground ,orange)))) 161 `(syncthing-progress-0 ((,class (:foreground ,red)))) 162 163 `(gt-buffer-render-source-face ((,class (:inherit font-lock-string-face)))) 164 `(gt-youdao-dict-phonetic-face ((,class (:inherit italic))))))) 165 166 (provide-theme 'my-dark) 167 ;;; my-dark-theme.el ends here