├── images ├── 2020-09-22.png └── 2020-09-29-magit.png ├── README.md └── laguna-theme.el /images/2020-09-22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenryNewcomer/laguna-theme/HEAD/images/2020-09-22.png -------------------------------------------------------------------------------- /images/2020-09-29-magit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HenryNewcomer/laguna-theme/HEAD/images/2020-09-29-magit.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # "Laguna" Theme 2 | * **Laguna Theme - An Emacs Theme** 3 | 4 | ![image](https://user-images.githubusercontent.com/5169660/148678108-7bf5a481-0b86-4c64-ab30-30ce250f3f06.png) 5 | 6 | 7 | ![image](https://user-images.githubusercontent.com/5169660/148678637-1796756c-f269-4bcb-91aa-f073101ec223.png) 8 | 9 | 10 | *([Magit](https://magit.vc/) support)*: 11 | *This screenshot's an earlier version of the Laguna Theme.* 12 | ![screenshot](https://raw.githubusercontent.com/HenryNewcomer/laguna-theme/master/images/2020-09-29-magit.png) 13 | 14 | 15 | **Laguna** is my personal emacs theme. You can have it, too. 16 | 17 | 18 | **Installation:** 19 | Laguna Theme is on MELPA. Please verify that MELPA has been added to your package archives. 20 | ``` 21 | (load-theme 'laguna t t) 22 | (enable-theme 'laguna) 23 | ;; Or, if you use `use-package', do something like this: 24 | (use-package laguna-theme 25 | :init (progn (load-theme 'laguna t t)) 26 | :defer t 27 | :ensure t) 28 | ``` 29 | **Terminal Colors look wonky in your terminal? This can sometimes helps:** 30 | ``` 31 | # Throw this in your ~/.bash_profile if Laguna Theme (emacs) isn't displaying properly 32 | export TERM="xterm-256color" 33 | ``` 34 | -------------------------------------------------------------------------------- /laguna-theme.el: -------------------------------------------------------------------------------- 1 | ;;; laguna-theme.el --- An updated blue-green Laguna Theme. 2 | ;; 3 | ;; Filename: laguna-theme.el 4 | ;; Description: An updated blue-green Laguna Theme. 5 | ;; Author: Henry Newcomer 6 | ;; Version: 2.0 7 | ;; URL: https://github.com/HenryNewcomer/laguna-theme 8 | ;; 9 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 10 | ;; 11 | ;;; Commentary: 12 | ;; 13 | ;; Framework based on the initial code found within "Ample Theme" 14 | ;; by Jordon Biondo. 15 | ;; URL: https://github.com/jordonbiondo/ample-theme 16 | ;; 17 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 18 | ;; 19 | ;; This program is free software; you can redistribute it and/or 20 | ;; modify it under the terms of the GNU General Public License as 21 | ;; published by the Free Software Foundation; either version 3, or 22 | ;; (at your option) any later version. 23 | ;; 24 | ;; This program is distributed in the hope that it will be useful, 25 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 27 | ;; General Public License for more details. 28 | ;; 29 | ;; You should have received a copy of the GNU General Public License 30 | ;; along with this program; see the file COPYING. If not, write to 31 | ;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth 32 | ;; Floor, Boston, MA 02110-1301, USA. 33 | ;; 34 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 35 | ;; 36 | ;;; Code: 37 | (deftheme laguna "An updated blue-green Laguna Theme.") 38 | 39 | ;; Color palette 40 | (let ( 41 | ;; Main background and foreground colors 42 | (color-bg "#191f2b") 43 | (color-bg-2 "#141922") ;; Some random areas may want to be slightly offset from the background color 44 | (color-fg "#3b78d3") ;; Regular text color; ex. ::getchar in std::getchar() 45 | (color-fg-alt "#a9e3ad") ;; NOTE Not actually used at the moment. 46 | (color-fringe "#0c0e14") ;; Outside border of window and splits 47 | (color-main "#a2efb4") ;; ex. main function 48 | (color-error "#e34e3e") 49 | (color-warning "#e34e3e") 50 | (color-keyword "#469281") ;; ex. return, let 51 | (color-search-bg "#3298c3") ;; ex. Highlighted search text 52 | (color-search-fg "#000") ;; ex. Highlighted search text 53 | (color-built-in "#e8f6e6") ;; ex. :foreground, :background, :weight, etc. 54 | (color-preprocessor "#423f68") ;; #include 55 | (color-quotes "#128157") 56 | (color-elisp-func-desc "#65a9e3") 57 | (color-param-names "#83a598") 58 | (color-minibuffer-prompt "#94d68c") 59 | (color-consquotest "#36585c") ;; ex. std in std::getchar 60 | (color-comment-symbols "#647769") 61 | (color-comment-text "#82aabf") 62 | (color-mode-line-bg "#0c0f15") 63 | (color-mode-line-fg "#7694b0") 64 | (color-vertical-line "#141923") 65 | (color-types "#7cb8e7") ;; Function type, param type, etc. (ex. int, char, ...) 66 | (color-cursor-bg "#f19e64") 67 | (color-cursor-bg-alt "#7cb8e7") 68 | (color-constant "#20905f") 69 | ;; (color-cursor-fg "#141922") 70 | (color-line-number-fg "#788f9c") ;; The font color for line numbers 71 | (color-current-line-text-area-bg "#141923") 72 | (color-current-line-side-bg "#1c3445") 73 | (color-current-line-side-fg "#b2c5d4") 74 | ;; Gradients (Parentheses, org heiarchy, etc.) 75 | ; (message (((((((message "Example.")))))))) 76 | (color-gradient0 "#7fb486") 77 | (color-gradient1 "#53a451") ;; ex. () within std::getchar() 78 | (color-gradient2 "#43a4bd") 79 | (color-gradient3 "#674593") 80 | (color-gradient4 "#aa17ed") 81 | (color-gradient5 "#3b78d3") 82 | (color-paren-match-bg "#6b4841") 83 | (color-paren-match-fg "#f19e64") 84 | ;; Magit 85 | (color-add-fg "#335d39") 86 | (color-add-bg "#00f;") 87 | (color-remove-fg "#5e1c1c") 88 | (color-remove-bg "#a56969") 89 | (color-number "#834079") ;; FIXME "Highlight numbers" pkg overrides rainbow-mode functionality. 90 | (color-region-bg "#3d78b0") 91 | (color-region-fg "#141923") 92 | 93 | ;; Not yet configured... 94 | (color-link "#0f0") 95 | (color-undefined1 "#0f0") 96 | (color-undefined2 "#0f0") 97 | (color-undefined3 "#0f0")) 98 | 99 | ;; Set faces 100 | (custom-theme-set-faces 101 | `laguna ;; you must use the same theme name here... 102 | `(error ((t (:foreground ,color-error)))) 103 | `(default ((t (:foreground ,color-fg :background ,color-bg)))) 104 | `(cursor ((t (:foreground ,color-fg :background ,color-cursor-bg)))) 105 | `(face-spec-set column-enforce-face '((t (:foreground ,color-warning :bold t :underline t)))) 106 | `(fringe ((t (:background ,color-fringe)))) 107 | `(highlight ((t (:foreground ,color-region-fg :background ,color-region-bg)))) 108 | `(highlight-numbers-number ((t (:foreground ,color-number :weight bold)))) 109 | `(link ((t (:foreground ,color-link :underline t)))) 110 | `(region ((t (:foreground ,color-region-fg :background ,color-region-bg)))) 111 | 112 | ;; Standard font lock 113 | `(font-lock-builtin-face ((t (:foreground ,color-built-in :weight bold)))) 114 | `(font-lock-comment-face ((t (:foreground ,color-comment-text)))) 115 | `(font-lock-comment-delimiter-face ((t (:foreground ,color-comment-symbols)))) 116 | `(font-lock-constant-face ((t (:foreground ,color-constant)))) 117 | `(font-lock-function-name-face ((t (:foreground ,color-main)))) 118 | `(font-lock-keyword-face ((t (:foreground ,color-keyword)))) 119 | `(font-lock-string-face ((t (:foreground ,color-quotes :weight bold)))) 120 | `(font-lock-preprocessor-face ((t (:foreground ,color-preprocessor)))) 121 | `(font-lock-type-face ((t (:foreground ,color-types :weight bold)))) 122 | `(font-lock-consquotest-face ((t (:foreground ,color-consquotest)))) 123 | `(font-lock-warning-face ((t (:foreground ,color-warning :weight bold)))) 124 | `(font-lock-variable-name-face ((t (:foreground ,color-param-names)))) 125 | `(font-lock-doc-face ((t (:foreground ,color-elisp-func-desc)))) 126 | 127 | ;; Mode line & powerline 128 | `(powerline-active1 ((t (:foreground ,color-vertical-line)))) 129 | `(mode-line-inactive ((t (:background ,color-mode-line-bg :foreground ,color-mode-line-fg)))) 130 | `(mode-line ((t (:background ,color-mode-line-bg :foreground ,color-mode-line-fg)))) 131 | 132 | `(linum ((t (:background nil :foreground ,color-comment-text)))) 133 | 134 | `(popup-tip-face ((t (:background ,color-fg :foreground ,color-bg)))) 135 | 136 | `(header-line ((t (:background ,color-fg :foreground ,color-bg)))) 137 | 138 | `(button ((t (:foreground ,color-link :background nil :underline t)))) 139 | 140 | ;; search 141 | `(isearch ((t (:background ,color-search-bg :foreground ,color-search-fg)))) 142 | `(lazy-highlight ((t (:background ,color-search-bg :foreground ,color-search-fg :underline t)))) 143 | 144 | ;; evil-search-highlight-persist 145 | `(evil-search-highlight-persist-highlight-face ((t (:background ,color-search-bg :foreground ,color-fg)))) 146 | 147 | ;; ace-jump 148 | `(ace-jump-face-background ((t (:inherit font-lock-comment-face)))) 149 | `(ace-jump-face-foreground ((t (:foreground ,color-preprocessor)))) 150 | 151 | 152 | `(avy-background-face ((t (:foreground ,color-comment-symbols :background nil)))) 153 | `(avy-lead-face ((t (:foreground "white" :background ,color-types)))) 154 | `(avy-lead-face-0 ((t (:foreground "white" :background ,color-keyword)))) 155 | `(avy-lead-face-1 ((t (:foreground "white" :background ,color-fg)))) 156 | 157 | `(vertical-border ((t (:background ,color-mode-line-bg :foreground ,color-vertical-line)))) 158 | 159 | `(hl-line ((t (:background ,color-current-line-text-area-bg)))) 160 | 161 | `(highlight-indentation-face ((t (:background ,color-vertical-line)))) 162 | 163 | `(line-number-current-line ((t (:foreground ,color-current-line-side-fg 164 | :background ,color-current-line-side-bg 165 | :weight bold)))) 166 | 167 | `(line-number ((t (:foreground ,color-line-number-fg :background nil)))) 168 | 169 | ;; mini buff 170 | `(minibuffer-prompt ((t (:foreground ,color-minibuffer-prompt :weight bold :background nil)))) 171 | 172 | 173 | `(compilation-error ((t (:foreground ,color-types :weight bold)))) 174 | `(compilation-warning ((t (:foreground ,color-preprocessor :weight bold)))) 175 | `(compilation-info ((t (:foreground ,color-main :weight bold)))) 176 | 177 | ;; eshell 178 | `(eshell-prompt ((t (:foreground ,color-consquotest)))) 179 | `(eshell-ls-directory ((t (:foreground ,color-keyword)))) 180 | `(eshell-ls-product ((t (:foreground ,color-preprocessor)))) 181 | `(eshell-ls-backup ((t (:foreground ,color-mode-line-fg :background ,color-mode-line-bg)))) 182 | `(eshell-ls-executable ((t (:foreground ,color-main)))) 183 | 184 | ;; shell 185 | `(comint-highlight-prompt ((t (:foreground ,color-main)))) 186 | 187 | ;; term 188 | `(term-color-black ((t (:foreground ,color-vertical-line :background ,color-vertical-line)))) 189 | `(term-color-red ((t (:foreground ,color-types :background ,color-types)))) 190 | `(term-color-green ((t (:foreground ,color-main :background ,color-main)))) 191 | `(term-color-yellow ((t (:foreground ,color-param-names :background ,color-param-names)))) 192 | `(term-color-blue ((t (:foreground ,color-keyword :background ,color-keyword)))) 193 | `(term-color-magenta ((t (:foreground ,color-consquotest :background ,color-consquotest)))) 194 | `(term-color-cyan ((t (:foreground ,color-link :background ,color-link)))) 195 | `(term-color-white ((t (:foreground ,color-fg :background ,color-fg)))) 196 | `(term-default-fg-color ((t (:inherit color-fg)))) 197 | `(term-default-bg-color ((t (:inherit color-bg)))) 198 | 199 | ;; erc 200 | `(erc-nick-default-face ((t (:foreground ,color-keyword)))) 201 | `(erc-my-nick-face ((t (:foreground ,color-param-names)))) 202 | `(erc-current-nick-face ((t (:foreground ,color-built-in)))) 203 | `(erc-notice-face ((t (:foreground ,color-main)))) 204 | `(erc-input-face ((t (:foreground "white")))) 205 | `(erc-timestamp-face ((t (:foreground ,color-mode-line-bg)))) 206 | `(erc-prompt-face ((t (:foreground "#191919" :background ,color-consquotest)))) 207 | 208 | ;;undo-tree 209 | `(undo-tree-visualizer-active-branch-face ((t (:inherit default)))) 210 | `(undo-tree-visualizer-default-face ((t (:inherit font-lock-comment-face)))) 211 | `(undo-tree-visualizer-register-face ((t (:foreground ,color-param-names :background nil)))) 212 | `(undo-tree-visualizer-current-face ((t (:foreground ,color-types :background nil)))) 213 | `(undo-tree-visualizer-unmodified-face ((t (:foreground ,color-consquotest :background nil)))) 214 | 215 | ;;show paren 216 | `(show-paren-match ((t (:foreground ,color-paren-match-fg :background ,color-paren-match-bg)))) 217 | `(show-paren-mismatch ((t (:inherit error)))) 218 | 219 | ;; ido 220 | `(ido-only-match ((t (:foreground ,color-main)))) 221 | `(ido-first-match ((t (:foreground ,color-keyword)))) 222 | `(ido-incomplete-regexp ((t (:foreground ,color-types)))) 223 | `(ido-subdir ((t (:foreground ,color-param-names)))) 224 | ;; flx-ido 225 | `(flx-highlight-face ((t (:foreground ,color-link :background nil :underline nil :weight bold)))) 226 | 227 | ;;js2 228 | `(js2-external-variable ((t (:foreground ,color-preprocessor :background nil)))) 229 | `(js2-function-param ((t (:foreground ,color-undefined3 :background nil)))) 230 | `(js2-insquotesce-member ((t (:foreground ,color-consquotest :background nil)))) 231 | `(js2-jsdoc-html-tag-delimiter ((t (:foreground ,color-comment-symbols :background nil)))) 232 | `(js2-jsdoc-html-tag-name ((t (:foreground ,color-vertical-line :background nil)))) 233 | `(js2-jsdoc-tag ((t (:foreground ,color-undefined2 :background nil)))) 234 | `(js2-jsdoc-type ((t (:foreground ,color-types :background nil)))) 235 | `(js2-jsdoc-value ((t (:foreground ,color-quotes :background nil)))) 236 | `(js2-private-function-call ((t (:foreground ,color-undefined3 :background nil)))) 237 | `(js2-private-member ((t (:foreground ,color-elisp-func-desc :background nil)))) 238 | `(js2-warning ((t (:foreground nil :background nil :underline ,color-preprocessor)))) 239 | 240 | ;;web-mode 241 | `(web-mode-block-attr-name-face ((t (:foreground "#8fbc8f" :background nil)))) 242 | `(web-mode-block-attr-value-face ((t (:inherit font-lock-string-face)))) 243 | `(web-mode-block-comment-face ((t (:inherit font-lock-comment-face)))) 244 | `(web-mode-block-control-face ((t (:inherit font-lock-preprocessor-face)))) 245 | `(web-mode-block-delimiter-face ((t (:inherit font-lock-preprocessor-face)))) 246 | `(web-mode-block-face ((t (:foreground nil :background "LightYellow1")))) 247 | `(web-mode-block-string-face ((t (:inherit font-lock-string-face)))) 248 | `(web-mode-builtin-face ((t (:inherit font-lock-builtin-face)))) 249 | `(web-mode-comment-face ((t (:inherit font-lock-comment-face)))) 250 | `(web-mode-comment-keyword-face ((t (:foreground nil :background nil :weight bold)))) 251 | `(web-mode-consquotest-face ((t (:foreground ,color-consquotest :background nil)))) 252 | `(web-mode-css-at-rule-face ((t (:foreground ,color-consquotest :background nil)))) 253 | `(web-mode-css-color-face ((t (:foreground ,color-built-in :background nil)))) 254 | `(web-mode-css-comment-face ((t (:inherit font-lock-comment-face)))) 255 | `(web-mode-css-function-face ((t (:foreground ,color-built-in :background nil)))) 256 | `(web-mode-css-priority-face ((t (:foreground ,color-built-in :background nil)))) 257 | `(web-mode-css-property-name-face ((t (:inherit font-lock-variable-name-face)))) 258 | `(web-mode-css-pseudo-class-face ((t (:foreground ,color-built-in :background nil)))) 259 | `(web-mode-css-selector-face ((t (:foreground ,color-keyword :background nil)))) 260 | `(web-mode-css-string-face ((t (:foreground ,color-quotes :background nil)))) 261 | `(web-mode-current-element-highlight-face ((t (:foreground nil :background "#000000")))) 262 | `(web-mode-doctype-face ((t (:inherit font-lock-doc-face)))) 263 | `(web-mode-error-face ((t (:inherit error)))) 264 | `(web-mode-folded-face ((t (:foreground nil :background nil :underline t)))) 265 | `(web-mode-function-call-face ((t (:inherit font-lock-function-name-face)))) 266 | `(web-mode-function-name-face ((t (:inherit font-lock-function-name-face)))) 267 | `(web-mode-html-attr-custom-face ((t (:inherit font-lock-comment-face)))) 268 | `(web-mode-html-attr-equal-face ((t (:inherit font-lock-comment-face)))) 269 | `(web-mode-html-attr-name-face ((t (:inherit font-lock-comment-face)))) 270 | `(web-mode-html-attr-value-face ((t (:inherit font-lock-string-face)))) 271 | `(web-mode-html-tag-bracket-face ((t (:inherit font-lock-comment-face)))) 272 | `(web-mode-html-tag-custom-face ((t (:inherit font-lock-comment-face)))) 273 | `(web-mode-html-tag-face ((t (:inherit font-lock-comment-face)))) 274 | `(web-mode-javascript-comment-face ((t (:inherit font-lock-comment-face)))) 275 | `(web-mode-javascript-string-face ((t (:inherit font-lock-string-face)))) 276 | `(web-mode-json-comment-face ((t (:inherit font-lock-comment-face)))) 277 | `(web-mode-json-context-face ((t (:foreground "orchid3" :background nil)))) 278 | `(web-mode-json-key-face ((t (:foreground "plum" :background nil)))) 279 | `(web-mode-json-string-face ((t (:inherit font-lock-string-face)))) 280 | `(web-mode-keyword-face ((t (:inherit font-lock-keyword-face)))) 281 | `(web-mode-param-name-face ((t (:foreground "Snow3" :background nil)))) 282 | `(web-mode-part-comment-face ((t (:inherit font-lock-comment-face)))) 283 | `(web-mode-part-face ((t (:foreground nil :background "LightYellow1")))) 284 | `(web-mode-part-string-face ((t (:inherit font-lock-string-face)))) 285 | `(web-mode-preprocessor-face ((t (:inherit font-lock-preprocessor-face)))) 286 | `(web-mode-string-face ((t (:inherit font-lock-string-face)))) 287 | `(web-mode-symbol-face ((t (:foreground "gold" :background nil)))) 288 | `(web-mode-type-face ((t (:inherit font-lock-type-face)))) 289 | `(web-mode-variable-name-face ((t (:inherit font-lock-variable-name-face)))) 290 | `(web-mode-warning-face ((t (:inherit font-lock-warning-face)))) 291 | `(web-mode-whitespace-face ((t (:foreground nil :background "DarkOrchid4")))) 292 | 293 | ;; helm 294 | `(helm-M-x-key ((t (:foreground ,color-preprocessor :underline nil)))) 295 | ;;`(helm-action ((t ()))) 296 | ;;`(helm-bookmark-addressbook ((t ()))) 297 | ;;`(helm-bookmark-directory ((t ()))) 298 | ;;`(helm-bookmark-file ((t ()))) 299 | ;;`(helm-bookmark-gnus ((t ()))) 300 | ;;`(helm-bookmark-info ((t ()))) 301 | ;;`(helm-bookmark-man ((t ()))) 302 | ;;`(helm-bookmark-w3m ((t ()))) 303 | ;;`(helm-buffer-not-saved ((t ()))) 304 | ;;`(helm-buffer-process ((t ()))) 305 | ;;`(helm-buffer-saved-out ((t ()))) 306 | ;;`(helm-buffer-size ((t ()))) 307 | `(helm-candidate-number ((t (:foreground ,color-main :background ,color-mode-line-bg)))) 308 | `(helm-ff-directory ((t (:foreground ,color-keyword)))) 309 | `(helm-ff-executable ((t (:foreground ,color-main)))) 310 | `(helm-ff-file ((t (:inherit default)))) 311 | ;;`(helm-ff-invalid-symlink ((t ()))) 312 | `(helm-ff-prefix ((t (:foreground ,color-types)))) 313 | ;;`(helm-ff-symlink ((t ()))) 314 | ;;`(helm-grep-cmd-line ((t ()))) 315 | `(helm-grep-file ((t (:foreground ,color-keyword)))) 316 | ;;`(helm-grep-finish ((t ()))) 317 | `(helm-grep-lineno ((t (:foreground ,color-consquotest)))) 318 | `(helm-grep-match ((t (:foreground ,color-fg :background ,color-region-bg)))) 319 | ;;`(helm-grep-running ((t ()))) 320 | `(helm-header ((t (:foreground ,color-bg :background ,color-fg)))) 321 | ;;`(helm-helper ((t ()))) 322 | ;;`(helm-history-deleted ((t ()))) 323 | ;;`(helm-history-remote ((t ()))) 324 | ;;`(helm-lisp-completion-info ((t ()))) 325 | ;;`(helm-lisp-show-completion ((t ()))) 326 | `(helm-match ((t (:foreground ,color-keyword :background ,color-vertical-line)))) 327 | ;;`(helm-moccur-buffer ((t ()))) 328 | `(helm-selection ((t (:foreground ,color-param-names :background ,color-region-bg :weight bold)))) 329 | ;;`(helm-selection-line ((t ()))) 330 | ;;`(helm-separator ((t ()))) 331 | `(helm-source-header ((t (:foreground ,color-vertical-line :background ,color-keyword)))) 332 | ;;`(helm-visible-mark ((t ()))) 333 | 334 | ;; jabber 335 | `(jabber-activity-face ((t (:inherit font-lock-variable-name-face :weight bold)))) 336 | `(jabber-activity-personal-face ((t (:inherit font-lock-function-name-face :weight bold)))) 337 | `(jabber-chat-error ((t (:inherit error :weight bold)))) 338 | `(jabber-chat-prompt-foreign ((t (:foreground ,color-main :background nil :underline nil :weight bold)))) 339 | `(jabber-chat-prompt-local ((t (:foreground ,color-built-in :background nil :underline nil :weight bold)))) 340 | `(jabber-chat-prompt-system ((t (:foreground ,color-param-names :background nil :underline nil :weight bold)))) 341 | `(jabber-chat-text-foreign ((t (:inherit default :background nil)))) 342 | `(jabber-chat-text-local ((t (:inherit default :weight bold)))) 343 | `(jabber-rare-time-face ((t (:foreground ,color-consquotest :background nil :underline t)))) 344 | `(jabber-roster-user-away ((t (:inherit font-lock-string-face)))) 345 | `(jabber-roster-user-chatty ((t (:foreground ,color-preprocessor :background nil :weight bold)))) 346 | ;;`(jabber-roster-user-dnd ((t (:foreground "red" :background nil)))) 347 | `(jabber-roster-user-error ((t (:inherit error)))) 348 | `(jabber-roster-user-offline ((t (:inherit font-lock-comment-face)))) 349 | `(jabber-roster-user-online ((t (:inherit font-lock-keyword-face :weight bold)))) 350 | `(jabber-roster-user-xa ((t (:inherit font-lock-doc-face)))) 351 | ;;`(jabber-title-large ((t (:foreground nil :background nil :weight bold)))) 352 | ;;`(jabber-title-medium ((t (:foreground nil :background nil :weight bold)))) 353 | ;;`(jabber-title-small ((t (:foreground nil :background nil :weight bold)))) 354 | 355 | 356 | ;; rainbow delim 357 | `(rainbow-delimiters-depth-1-face ((t (:foreground ,color-gradient0 :background nil :weight bold)))) 358 | `(rainbow-delimiters-depth-2-face ((t (:foreground ,color-gradient1 :background nil :weight bold)))) 359 | `(rainbow-delimiters-depth-3-face ((t (:foreground ,color-gradient2 :background nil :weight bold)))) 360 | `(rainbow-delimiters-depth-4-face ((t (:foreground ,color-gradient3 :background nil :weight bold)))) 361 | `(rainbow-delimiters-depth-5-face ((t (:foreground ,color-gradient4 :background nil :weight bold)))) 362 | `(rainbow-delimiters-depth-6-face ((t (:foreground ,color-gradient5 :background nil :weight bold)))) 363 | `(rainbow-delimiters-depth-7-face ((t (:foreground ,color-gradient0 :background nil :weight bold)))) 364 | `(rainbow-delimiters-depth-8-face ((t (:foreground ,color-gradient1 :background nil :weight bold)))) 365 | `(rainbow-delimiters-depth-9-face ((t (:foreground ,color-gradient2 :background nil :weight bold)))) 366 | `(rainbow-delimiters-unmatched-face ((t (:inherit error)))) 367 | 368 | ;; auto complete 369 | `(ac-candidate-face ((t (:foreground "black" :background ,color-fg)))) 370 | `(ac-selection-face ((t (:foreground ,color-fg :background ,color-keyword)))) 371 | `(ac-candidate-mouse-face ((t (:inherit ac-selection-face)))) 372 | `(ac-clang-candidate-face ((t (:inherit ac-candidate-face)))) 373 | `(ac-clang-selection-face ((t (:inherit ac-selection-face)))) 374 | `(ac-completion-face ((t (:inherit font-lock-comment-face :underline t)))) 375 | `(ac-gtags-candidate-face ((t (:inherit ac-candidate-face)))) 376 | `(ac-gtags-selection-face ((t (:inherit ac-selection-face)))) 377 | `(ac-slime-menu-face ((t (:inherit ac-candidate-face)))) 378 | `(ac-slime-selection-face ((t (:inherit ac-selection-face)))) 379 | `(ac-yasnippet-candidate-face ((t (:inherit ac-candidate-face)))) 380 | `(ac-yasnippet-selection-face ((t (:inherit ac-selection-face)))) 381 | 382 | ;;`(company-echo ((t (:foreground nil :background nil)))) 383 | ;;`(company-echo-common ((t (:foreground nil :background "firebrick4")))) 384 | ;;`(company-preview ((t (:foreground "wheat" :background "blue4")))) 385 | `(company-preview-common ((t (:inherit font-lock-comment-face)))) 386 | ;;`(company-preview-search ((t (:foreground "wheat" :background "blue1")))) 387 | ;;`(company-template-field ((t (:foreground "black" :background "preprocessor")))) 388 | `(company-scrollbar-bg ((t (:foreground nil :background ,color-vertical-line)))) 389 | `(company-scrollbar-fg ((t (:foreground nil :background ,color-comment-symbols)))) 390 | `(company-tooltip ((t (:foreground ,color-bg :background ,color-fg)))) 391 | `(company-tooltip-common ((t (:foreground ,color-undefined2 :background ,color-fg)))) 392 | `(company-tooltip-common-selection ((t (:foreground ,color-bg :background ,color-keyword)))) 393 | `(company-tooltip-mouse ((t (:foreground nil :background ,color-built-in)))) 394 | `(company-tooltip-selection ((t (:foreground ,color-comment-symbols :background ,color-keyword)))) 395 | 396 | 397 | ;; w3m 398 | ;;`(w3m-anchor ((t (:foreground "cyan" :background nil)))) 399 | ;;`(w3m-arrived-anchor ((t (:foreground "LightSkyBlue" :background nil)))) 400 | `(w3m-bold ((t (:foreground ,color-keyword :background nil :weight bold)))) 401 | `(w3m-current-anchor ((t (:foreground nil :background nil :underline t :weight bold)))) 402 | ;;`(w3m-form ((t (:foreground "red" :background nil :underline t)))) 403 | ;;`(w3m-form-button ((t (:foreground "red" :background nil :underline t)))) 404 | ;;`(w3m-form-button-mouse ((t (:foreground "red" :background nil :underline t)))) 405 | ;;`(w3m-form-button-pressed ((t (:foreground "red" :background nil :underline t)))) 406 | ;;`(w3m-form-inactive ((t (:foreground "grey70" :background nil :underline t)))) 407 | ;;`(w3m-header-line-location-content ((t (:foreground "LightGoldenrod" :background "Comment-Text20")))) 408 | ;;`(w3m-header-line-location-title ((t (:foreground "Cyan" :background "Comment-Text20")))) 409 | ;;`(w3m-history-current-url ((t (:foreground "LightSkyBlue" :background "SkyBlue4")))) 410 | ;;`(w3m-image ((t (:foreground "PaleGreen" :background nil)))) 411 | ;;`(w3m-image-anchor ((t (:foreground nil :background "dark green")))) 412 | ;;`(w3m-insert ((t (:foreground "orchid" :background nil)))) 413 | `(w3m-italic ((t (:foreground ,color-preprocessor :background nil :underline t)))) 414 | ;;`(w3m-session-select ((t (:foreground "cyan" :background nil)))) 415 | ;;`(w3m-session-selected ((t (:foreground "cyan" :background nil :underline t :weight bold)))) 416 | ;;`(w3m-strike-through ((t (:foreground nil :background nil)))) 417 | ;;`(w3m-tab-background ((t (:foreground "black" :background "white")))) 418 | ;;`(w3m-tab-mouse ((t (:foreground nil :background nil)))) 419 | ;;`(w3m-tab-selected ((t (:foreground "black" :background "cyan")))) 420 | ;;`(w3m-tab-selected-background ((t (:foreground "black" :background "white")))) 421 | ;;`(w3m-tab-selected-retrieving ((t (:foreground "red" :background "cyan")))) 422 | ;;`(w3m-tab-unselected ((t (:foreground "black" :background "blue")))) 423 | ;;`(w3m-tab-unselected-retrieving ((t (:foreground "PreprocessorRed" :background "blue")))) 424 | ;;`(w3m-tab-unselected-unseen ((t (:foreground "comment-text60" :background "blue")))) 425 | `(w3m-underline ((t (:foreground ,color-main :background nil :underline t)))) 426 | 427 | 428 | ;; ediff 429 | `(ediff-current-diff-A((t (:foreground nil :background ,color-types)))) 430 | `(ediff-current-diff-B((t (:foreground nil :background ,color-main)))) 431 | `(ediff-current-diff-C((t (:foreground nil :background ,color-param-names)))) 432 | ;;`(ediff-current-diff-Ancestor((t ()))) 433 | `(ediff-even-diff-A ((t (:foreground nil :background "#191925")))) 434 | `(ediff-even-diff-B ((t (:foreground nil :background "#191925")))) 435 | `(ediff-even-diff-C ((t (:foreground nil :background "#191925")))) 436 | ;;`(ediff-even-diff-Ancestor ((t ()))) 437 | 438 | `(diff-added ((t (:background nil :foreground ,color-main)))) 439 | `(diff-changed ((t (:background nil :foreground ,color-param-names)))) 440 | `(diff-removed ((t (:background nil :foreground ,color-types)))) 441 | `(diff-context ((t (:foreground ,color-comment-text :background nil)))) 442 | `(diff-file-header ((t (:foreground ,color-bg :background nil :weight bold)))) 443 | `(diff-function ((t (:foreground ,color-bg :background nil)))) 444 | `(diff-header ((t (:foreground ,color-bg :background nil)))) 445 | `(diff-hunk-header ((t (:foreground ,color-bg :background nil)))) 446 | `(diff-index ((t (:foreground ,color-bg :background nil)))) 447 | `(diff-indicator-added ((t (:inherit diff-added)))) 448 | `(diff-indicator-changed ((t (:inherit diff-changed)))) 449 | `(diff-indicator-removed ((t (:inherit diff-removed)))) 450 | `(diff-nonexistent ((t (:foreground nil :background nil)))) 451 | `(diff-refine-added ((t (:foreground nil :background "#649694")))()) 452 | `(diff-refine-changed ((t (:foreground nil :background "#8f8f40")))) 453 | `(diff-refine-removed ((t (:foreground nil :background "#694949")))) 454 | 455 | `(ediff-fine-diff-A ((t (:foreground ,color-fg :background "#694949")))) 456 | `(ediff-fine-diff-B ((t (:foreground ,color-fg :background "#496949")))) 457 | `(ediff-fine-diff-C ((t (:foreground ,color-fg :background "#696949")))) 458 | ;;`(ediff-fine-diff-Ancestor ((t ()))) 459 | 460 | `(ediff-odd-diff-A ((t (:foreground nil :background "#171723")))) 461 | `(ediff-odd-diff-B ((t (:foreground nil :background "#171723")))) 462 | `(ediff-odd-diff-C ((t (:foreground nil :background "#171723")))) 463 | ;;`(ediff-odd-diff-Ancestor ((t ()))) 464 | 465 | ;; man pages 466 | `(Man-overstrike ((t (:foreground ,color-keyword)))) 467 | `(Man-underline ((t (:foreground ,color-param-names)))) 468 | 469 | `(slime-apropos-label ((t (:foreground ,color-types :background nil)))) 470 | `(slime-apropos-symbol ((t (:foreground ,color-keyword :background nil)))) 471 | `(slime-error-face ((t (:foreground ,color-types :background nil :underline t)))) 472 | `(slime-highlight-face ((t (:foreground nil :background ,color-undefined3)))) 473 | `(slime-inspector-action-face ((t (:foreground "red" :background nil)))) 474 | `(slime-inspector-label-face ((t (:foreground "#ab85a3" :background nil)))) 475 | `(slime-inspector-topline-face ((t (:foreground nil :background nil)))) 476 | `(slime-inspector-type-face ((t (:foreground "#ad8572" :background nil)))) 477 | `(slime-inspector-value-face ((t (:foreground "#9fbfdf" :background nil)))) 478 | `(slime-note-face ((t (:foreground nil :background nil :underline t)))) 479 | `(slime-style-warning-face ((t (:foreground ,color-preprocessor :background nil :underline t)))) 480 | `(slime-warning-face ((t (:foreground nil :background nil :underline t)))) 481 | 482 | ;; org 483 | ;;`(org-agenda-calendar-event ((t (:foreground nil :background nil)))) 484 | ;;`(org-agenda-calendar-sexp ((t (:foreground nil :background nil)))) 485 | ;;`(org-agenda-clocking ((t (:foreground nil :background nil)))) 486 | ;;`(org-agenda-column-dateline ((t (:foreground nil :background nil)))) 487 | ;;`(org-agenda-current-time ((t (:foreground nil :background nil)))) 488 | ;;`(org-agenda-date ((t (:foreground nil :background nil)))) 489 | ;;`(org-agenda-date-today ((t (:foreground nil :background nil)))) 490 | ;;`(org-agenda-date-weekend ((t (:foreground nil :background nil)))) 491 | ;;`(org-agenda-diary ((t (:foreground nil :background nil)))) 492 | ;;`(org-agenda-dimmed-todo-face ((t (:foreground nil :background nil)))) 493 | ;;`(org-agenda-done ((t (:foreground nil :background nil)))) 494 | ;;`(org-agenda-filter-category ((t (:foreground nil :background nil)))) 495 | ;;`(org-agenda-filter-tags ((t (:foreground nil :background nil)))) 496 | ;;`(org-agenda-restriction-lock ((t (:foreground nil :background nil)))) 497 | ;;`(org-agenda-structure ((t (:foreground nil :background nil)))) 498 | ;;`(org-archived ((t (:foreground nil :background nil)))) 499 | ;;`(org-beamer-tag ((t (:foreground nil :background nil)))) 500 | ;;`(org-block ((t (:foreground nil :background nil)))) 501 | ;;`(org-block-background ((t (:foreground nil :background nil)))) 502 | ;;`(org-block-begin-line ((t (:foreground nil :background nil)))) 503 | ;;`(org-block-end-line ((t (:foreground nil :background nil)))) 504 | ;;`(org-checkbox ((t (:foreground nil :background nil)))) 505 | ;;`(org-checkbox-statistics-done ((t (:foreground nil :background nil)))) 506 | ;;`(org-checkbox-statistics-todo ((t (:foreground nil :background nil)))) 507 | ;;`(org-clock-overlay ((t (:foreground nil :background nil)))) 508 | ;;`(org-code ((t (:foreground nil :background nil)))) 509 | ;;`(org-column ((t (:foreground nil :background nil)))) 510 | ;;`(org-column-title ((t (:foreground nil :background nil)))) 511 | ;;`(org-date ((t (:foreground nil :background nil)))) 512 | ;;`(org-date-selected ((t (:foreground nil :background nil)))) 513 | ;;`(org-default ((t (:foreground nil :background nil)))) 514 | ;;`(org-document-info ((t (:foreground nil :background nil)))) 515 | ;;`(org-document-info-keyword ((t (:foreground nil :background nil)))) 516 | ;;`(org-document-title ((t (:foreground nil :background nil)))) 517 | `(org-done ((t (:foreground ,color-main :background nil)))) 518 | `(org-todo ((t (:foreground ,color-types :background nil)))) 519 | ;;`(org-drawer ((t (:foreground nil :background nil)))) 520 | ;;`(org-ellipsis ((t (:foreground nil :background nil)))) 521 | ;;`(org-footnote ((t (:foreground nil :background nil)))) 522 | ;;`(org-formula ((t (:foreground nil :background nil)))) 523 | ;;`(org-headline-done ((t (:foreground nil :background nil)))) 524 | `(org-hide ((t (:foreground ,color-bg :background nil)))) 525 | ;;`(org-latex-and-export-specials ((t (:foreground nil :background nil)))) 526 | `(org-level-1 ((t (:foreground ,color-gradient2 :background nil :weight bold)))) 527 | `(org-level-2 ((t (:foreground ,color-gradient1 :background nil :weight bold)))) 528 | `(org-level-3 ((t (:foreground ,color-gradient0 :background nil :weight bold)))) 529 | `(org-level-4 ((t (:foreground ,color-gradient3 :background nil :weight bold)))) 530 | `(org-level-5 ((t (:foreground ,color-gradient4 :background nil :weight bold)))) 531 | `(org-level-6 ((t (:foreground ,color-gradient5 :background nil :weight bold)))) 532 | `(org-level-7 ((t (:foreground ,color-gradient4 :background nil :weight bold)))) 533 | `(org-level-8 ((t (:foreground ,color-gradient3 :background nil :weight bold)))) 534 | ;'(org-link ((t (:foreground "royal blue" :underline t)))) 535 | `(org-link ((t (:foreground "#fff" :background ,color-fringe :underline t)))) 536 | ;;`(org-list-dt ((t (:foreground nil :background nil)))) 537 | ;;`(org-meta-line ((t (:foreground nil :background nil)))) 538 | ;;`(org-mode-line-clock ((t (:foreground nil :background nil)))) 539 | ;;`(org-mode-line-clock-overrun ((t (:foreground nil :background nil)))) 540 | ;;`(org-property-value ((t (:foreground nil :background nil)))) 541 | ;;`(org-quote ((t (:foreground nil :background nil)))) 542 | ;;`(org-scheduled ((t (:foreground nil :background nil)))) 543 | ;;`(org-scheduled-previously ((t (:foreground nil :background nil)))) 544 | ;;`(org-scheduled-today ((t (:foreground nil :background nil)))) 545 | ;;`(org-sexp-date ((t (:foreground nil :background nil)))) 546 | ;;`(org-special-keyword ((t (:foreground nil :background nil)))) 547 | ;;`(org-table ((t (:foreground nil :background nil)))) 548 | ;;`(org-tag ((t (:foreground nil :background nil)))) 549 | ;;`(org-target ((t (:foreground nil :background nil)))) 550 | ;;`(org-time-grid ((t (:foreground nil :background nil)))) 551 | ;;`(org-upcoming-deadline ((t (:foreground nil :background nil)))) 552 | ;;`(org-verbatim ((t (:foreground nil :background nil)))) 553 | ;;`(org-verse ((t (:foreground nil :background nil)))) 554 | ;;`(org-warning ((t (:foreground nil :background nil)))) 555 | 556 | 557 | ;; message-mode 558 | `(message-cited-text ((t (:inherit font-lock-comment-face)))) 559 | `(message-header-cc ((t (:foreground ,color-built-in :background nil :weight bold)))) 560 | `(message-header-name ((t (:foreground ,color-preprocessor :background nil)))) 561 | `(message-header-newsgroups ((t (:foreground ,color-elisp-func-desc :background nil :weight bold)))) 562 | `(message-header-other ((t (:foreground ,color-keyword :background nil)))) 563 | `(message-header-subject ((t (:foreground ,color-quotes :background nil)))) 564 | `(message-header-to ((t (:foreground ,color-param-names :background nil :weight bold)))) 565 | `(message-header-xheader ((t (:foreground ,color-consquotest :background nil)))) 566 | `(message-mml ((t (:foreground ,color-elisp-func-desc :background nil)))) 567 | 568 | ;; gnus 569 | `(gnus-button ((t (:foreground nil :background nil :weight bold)))) 570 | `(gnus-cite-1 ((t (:foreground "light blue" :background nil)))) 571 | `(gnus-cite-10 ((t (:foreground "plum1" :background nil)))) 572 | `(gnus-cite-11 ((t (:foreground "turquoise" :background nil)))) 573 | `(gnus-cite-2 ((t (:foreground "light cyan" :background nil)))) 574 | `(gnus-cite-3 ((t (:foreground "light yellow" :background nil)))) 575 | `(gnus-cite-4 ((t (:foreground "light pink" :background nil)))) 576 | `(gnus-cite-5 ((t (:foreground "pale green" :background nil)))) 577 | `(gnus-cite-6 ((t (:foreground "beige" :background nil)))) 578 | `(gnus-cite-7 ((t (:foreground "preprocessor" :background nil)))) 579 | `(gnus-cite-8 ((t (:foreground "magenta" :background nil)))) 580 | `(gnus-cite-9 ((t (:foreground "violet" :background nil)))) 581 | `(gnus-cite-attribution ((t (:foreground nil :background nil)))) 582 | `(gnus-emphasis-bold ((t (:foreground nil :background nil :weight bold)))) 583 | `(gnus-emphasis-bold-italic ((t (:foreground nil :background nil :weight bold)))) 584 | `(gnus-emphasis-highlight-words ((t (:foreground "yellow" :background "black")))) 585 | `(gnus-emphasis-italic ((t (:foreground nil :background nil)))) 586 | `(gnus-emphasis-strikethru ((t (:foreground nil :background nil)))) 587 | `(gnus-emphasis-underline ((t (:foreground nil :background nil :underline t)))) 588 | `(gnus-emphasis-underline-bold ((t (:foreground nil :background nil :underline t :weight bold)))) 589 | `(gnus-emphasis-underline-bold-italic ((t (:foreground nil :background nil :underline t :weight bold)))) 590 | `(gnus-emphasis-underline-italic ((t (:foreground nil :background nil :underline t)))) 591 | `(gnus-group-mail-1 ((t (:foreground ,color-keyword :background nil :weight bold)))) 592 | `(gnus-group-mail-1-empty ((t (:foreground ,color-keyword :background nil)))) 593 | `(gnus-group-mail-2 ((t (:foreground ,color-link :background nil :weight bold)))) 594 | `(gnus-group-mail-2-empty ((t (:foreground ,color-link :background nil)))) 595 | `(gnus-group-mail-3 ((t (:foreground ,color-built-in :background nil :weight bold)))) 596 | `(gnus-group-mail-3-empty ((t (:foreground ,color-built-in :background nil)))) 597 | `(gnus-group-mail-low ((t (:foreground ,color-param-names :background nil :weight bold)))) 598 | `(gnus-group-mail-low-empty ((t (:foreground ,color-param-names :background nil)))) 599 | `(gnus-group-news-1 ((t (:foreground "PaleTurquoise" :background nil :weight bold)))) 600 | `(gnus-group-news-1-empty ((t (:foreground "PaleTurquoise" :background nil)))) 601 | `(gnus-group-news-2 ((t (:foreground "turquoise" :background nil :weight bold)))) 602 | `(gnus-group-news-2-empty ((t (:foreground "turquoise" :background nil)))) 603 | `(gnus-group-news-3 ((t (:foreground nil :background nil :weight bold)))) 604 | `(gnus-group-news-3-empty ((t (:foreground nil :background nil)))) 605 | `(gnus-group-news-4 ((t (:foreground nil :background nil :weight bold)))) 606 | `(gnus-group-news-4-empty ((t (:foreground nil :background nil)))) 607 | `(gnus-group-news-5 ((t (:foreground nil :background nil :weight bold)))) 608 | `(gnus-group-news-5-empty ((t (:foreground nil :background nil)))) 609 | `(gnus-group-news-6 ((t (:foreground nil :background nil :weight bold)))) 610 | `(gnus-group-news-6-empty ((t (:foreground nil :background nil)))) 611 | `(gnus-group-news-low ((t (:foreground "DarkTurquoise" :background nil :weight bold)))) 612 | `(gnus-group-news-low-empty ((t (:foreground "DarkTurquoise" :background nil)))) 613 | `(gnus-header-content ((t (:inherit message-header-other)))) 614 | `(gnus-header-from ((t (:inherit message-header-other)))) 615 | `(gnus-header-name ((t (:inherit message-header-name)))) 616 | `(gnus-header-newsgroups ((t (:inherit message-header-newsgroups)))) 617 | `(gnus-header-subject ((t (:inherit message-header-subject)))) 618 | `(gnus-server-agent ((t (:foreground "PaleTurquoise" :background nil :weight bold)))) 619 | `(gnus-server-closed ((t (:foreground "LightBlue" :background nil)))) 620 | `(gnus-server-denied ((t (:foreground "pink" :background nil :weight bold)))) 621 | `(gnus-server-offline ((t (:foreground "yellow" :background nil :weight bold)))) 622 | `(gnus-server-opened ((t (:foreground "green1" :background nil :weight bold)))) 623 | `(gnus-signature ((t (:foreground nil :background nil)))) 624 | `(gnus-splash ((t (:foreground "#cccccc" :background nil)))) 625 | `(gnus-summary-cancelled ((t (:foreground "yellow" :background "black")))) 626 | `(gnus-summary-high-ancient ((t (:foreground "SkyBlue" :background nil :weight bold)))) 627 | `(gnus-summary-high-read ((t (:foreground "PaleGreen" :background nil :weight bold)))) 628 | `(gnus-summary-high-ticked ((t (:foreground "pink" :background nil :weight bold)))) 629 | `(gnus-summary-high-undownloaded ((t (:foreground "LightComment-Text" :background nil :weight bold)))) 630 | `(gnus-summary-high-unread ((t (:foreground nil :background nil :weight bold)))) 631 | `(gnus-summary-low-ancient ((t (:foreground "SkyBlue" :background nil)))) 632 | `(gnus-summary-low-read ((t (:foreground "PaleGreen" :background nil)))) 633 | `(gnus-summary-low-ticked ((t (:foreground "pink" :background nil)))) 634 | `(gnus-summary-low-undownloaded ((t (:foreground "LightComment-Text" :background nil)))) 635 | `(gnus-summary-low-unread ((t (:foreground nil :background nil)))) 636 | `(gnus-summary-normal-ancient ((t (:inherit default)))) 637 | `(gnus-summary-normal-read ((t (:foreground ,color-main :background nil)))) 638 | `(gnus-summary-normal-ticked ((t (:foreground ,color-preprocessor :background nil)))) 639 | `(gnus-summary-normal-undownloaded ((t (:foreground ,color-comment-symbols :background nil)))) 640 | `(gnus-summary-normal-unread ((t (:foreground ,color-built-in :background nil)))) 641 | `(gnus-summary-selected ((t (:foreground nil :background nil :underline t)))) 642 | 643 | `(twittering-timeline-footer-face ((t (:foreground nil :background nil :inherit font-lock-function-name-face)))) 644 | `(twittering-timeline-header-face ((t (:foreground nil :background nil :inherit font-lock-function-name-face)))) 645 | `(twittering-uri-face ((t (:foreground nil :background nil :underline t)))) 646 | `(twittering-username-face ((t (:foreground nil :background nil :inherit font-lock-keyword-face :underline t)))) 647 | 648 | ;; whitespace mode 649 | `(whitespace-empty ((t (:foreground ,color-comment-text :background "comment-text10")))) 650 | `(whitespace-hspace ((t (:foreground ,color-comment-text :background ,color-line-number-fg)))) 651 | `(whitespace-indentation ((t (:foreground ,color-comment-text :background "comment-text12")))) 652 | `(whitespace-line ((t (:foreground ,color-consquotest :background nil)))) 653 | `(whitespace-newline ((t (:foreground ,color-comment-text :background nil)))) 654 | `(whitespace-space ((t (:foreground ,color-comment-text :background nil)))) 655 | `(whitespace-space-after-tab ((t (:foreground ,color-comment-text :background "comment-text13")))) 656 | `(whitespace-space-before-tab ((t (:foreground ,color-comment-text :background "comment-text14")))) 657 | `(whitespace-tab ((t (:foreground ,color-comment-text :background ,color-line-number-fg)))) 658 | `(whitespace-trailing ((t (:foreground ,color-gradient3 :background ,color-bg :weight bold)))) 659 | 660 | ;; magit 661 | `(magit-section-heading ((t (:foreground ,color-keyword, :background nil)))) 662 | `(magit-hash ((t (:foreground ,color-consquotest :background nil)))) 663 | `(magit-branch-local ((t (:foreground ,color-preprocessor :background nil)))) 664 | `(magit-branch-remote ((t (:foreground ,color-param-names :background nil)))) 665 | 666 | `(magit-diff-added ((t (:background ,color-add-bg :foreground ,color-add-fg)))) 667 | `(magit-diff-added-highlight ((t (:background ,color-add-bg :foreground ,color-add-fg)))) 668 | `(magit-diff-removed ((t (:background ,color-remove-bg :foreground ,color-remove-fg)))) 669 | `(magit-diff-removed-highlight ((t (:background ,color-remove-bg :foreground ,color-remove-fg)))) 670 | 671 | ;; Prevents default, gray backgrounds 672 | ;; Solution based on https://github.com/tee3/unobtrusive-magit-theme/blob/master/unobtrusive-magit-theme.el 673 | `(magit-diff-context-highlight ((t (:inherit magit-diff-context)))) 674 | `(magit-diff-file-heading ((t (:background "#2d3144" :foreground nil)))) 675 | `(magit-diff-file-heading-highlight ((t (:background "#323958" :foreground nil)))) 676 | `(magit-diff-file-heading-selection ((t (:inherit magit-diff-file-heading)))) 677 | `(magit-section-heading ((t (:inherit font-lock-type-face)))) 678 | `(magit-section-heading-selection ((t (:weight bold)))) 679 | `(magit-section-heading-secondary-heading ((t (:inherit magit-section-heading-selection)))) 680 | `(magit-section-highlight ((t (:background "#0c0f15" :foreground "#5558a6" :weight bold)))) 681 | `(magit-diff-hunk-heading ((t (:background "#1b1f2f" :foreground nil)))) 682 | `(magit-diff-hunk-heading-highlight ((t (:inherit magit-diff-hunk-heading)))) 683 | `(magit-diff-hunk-heading-selection ((t (:inherit magit-diff-hunk-heading)))) 684 | `(magit-diff-hunk-region ((t (:inherit magit-diff-hunk-heading)))) 685 | `(magit-blame-date ((t (:foreground ,color-consquotest :background ,color-bg-2)))) 686 | `(magit-blame-hash ((t (:foreground ,color-consquotest :background ,color-bg-2)))) 687 | `(magit-blame-heading ((t (:foreground ,color-keyword :background ,color-bg-2)))) 688 | `(magit-blame-name ((t (:foreground ,color-main :background ,color-bg-2)))) 689 | `(magit-blame-summary ((t (:foreground ,color-keyword :background ,color-bg-2)))) 690 | `(magit-dimmed ((t (:inherit shadow)))) 691 | `(magit-hash ((t (:inherit log-view-message)))) 692 | `(magit-keyword ((t (:inherit default)))) 693 | `(magit-tag ((t (:inherit change-log-list)))) 694 | `(magit-head ((t (:inherit change-log-list :inverse-video t)))) 695 | `(magit-filename ((t (:inherit change-log-file)))) 696 | 697 | ;; NOTE If odd colors appear, give these vars a look: 698 | ;;`(git-commit-summary ((t (:inherit log-edit-summary)))) 699 | ;;`(git-commit-overlong-summary ((t (:inherit warning)))) 700 | ;;`(git-commit-nonempty-second-line ((t (:inherit warning)))) 701 | ;;`(git-commit-note ((t (:inherit default)))) 702 | ;;`(git-commit-pseudo-header ((t (:inherit log-edit-unknown-header)))) 703 | ;;`(git-commit-known-pseudo-header ((t (:inherit git-commit-pseudo-header)))) 704 | ;;`(git-commit-comment-action ((t (:inherit font-lock-comment-face)))) 705 | ;;`(git-commit-comment-branch-local ((t (:inherit font-lock-comment-face)))) 706 | ;;`(git-commit-comment-branch-remote ((t (:inherit font-lock-comment-face)))) 707 | ;;`(git-commit-comment-detached ((t (:inherit font-lock-comment-face)))) 708 | ;;`(git-commit-comment-file ((t (:inherit font-lock-comment-face)))) 709 | ;;`(git-commit-comment-heading ((t (:inherit font-lock-comment-face)))) 710 | ;;`(git-commit-comment-keyword ((t (:inherit font-lock-comment-face)))) 711 | 712 | ;; Old vars (check if these are deprecated) 713 | `(magit-branch ((t (:foreground ,color-preprocessor :background nil)))) 714 | `(magit-diff-add ((t (:background nil :foreground ,color-main)))) 715 | `(magit-diff-del ((t (:background nil :foreground ,color-types)))) 716 | `(magit-diff-file-header ((t (:foreground ,color-bg :background ,color-keyword :weight bold)))) 717 | `(magit-diff-hunk-header ((t (:foreground ,color-bg :background ,color-keyword)))) 718 | `(magit-diff-merge-current ((t (:foreground ,color-preprocessor :background nil)))) 719 | `(magit-diff-merge-diff3-separator ((t (:foreground ,color-preprocessor :background nil)))) 720 | `(magit-diff-merge-proposed ((t (:foreground ,color-preprocessor :background nil)))) 721 | `(magit-diff-merge-separator ((t (:foreground ,color-preprocessor :background nil)))) 722 | `(magit-diff-none ((t (:foreground ,color-fg :background ,color-region-bg)))) 723 | `(magit-header ((t (:foreground ,color-keyword :background nil)))) 724 | `(magit-item-highlight ((t (:foreground nil :background ,color-region-bg)))) 725 | `(magit-key-mode-button-face ((t (:foreground ,color-built-in :background nil)))) 726 | `(magit-key-mode-header-face ((t (:foreground ,color-keyword :background nil)))) 727 | `(magit-log-author ((t (:foreground ,color-types :background nil)))) 728 | `(magit-log-author-date-cutoff ((t (:foreground ,color-types :background nil :weight bold)))) 729 | `(magit-log-date ((t (:foreground nil :background nil)))) 730 | `(magit-log-graph ((t (:foreground ,color-bg-2 :background nil)))) 731 | `(magit-log-sha1 ((t (:foreground ,color-consquotest :background nil)))) 732 | `(magit-section-title ((t (:foreground ,color-keyword :background nil)))) 733 | `(magit-tag ((t (:foreground ,color-keyword :background nil)))) 734 | `(magit-whitespace-warning-face ((t (:foreground ,color-bg :background "white" :weight bold)))) 735 | 736 | `(git-gutter:deleted ((t (:foreground ,color-types :background nil :weight bold)))) 737 | `(git-gutter:modified ((t (:foreground ,color-consquotest :background nil :weight bold)))) 738 | `(git-gutter:separator ((t (:foreground ,color-preprocessor :background nil :weight bold)))) 739 | `(git-gutter:unchanged ((t (:foreground ,color-param-names :background nil)))) 740 | 741 | `(highlight-indentation-current-column-face ((t (:foreground nil :background ,color-comment-text)))) 742 | `(highlight-indentation-face ((t (:foreground nil :background ,color-vertical-line)))) 743 | 744 | ;; trailing whitespace 745 | `(trailing-whitespace ((t (:background "white" :weight bold)))) 746 | 747 | ;; auctex 748 | `(font-latex-bold-face ((t (:inherit bold :foreground ,color-comment-text)))) 749 | `(font-latex-doctex-documentation-face ((t (:background unspecified)))) 750 | `(font-latex-doctex-preprocessor-face ((t (:inherit (font-latex-doctex-documentation-face font-lock-builtin-face font-lock-preprocessor-face))))) 751 | `(font-latex-italic-face ((t (:inherit italic :foreground ,color-comment-text)))) 752 | `(font-latex-math-face ((t (:foreground ,color-consquotest)))) 753 | `(font-latex-sectioning-0-face ((t (:inherit font-latex-sectioning-1-face :height 1.1)))) 754 | `(font-latex-sectioning-1-face ((t (:inherit font-latex-sectioning-2-face :height 1.1)))) 755 | `(font-latex-sectioning-2-face ((t (:inherit font-latex-sectioning-3-face :height 1.1)))) 756 | `(font-latex-sectioning-3-face ((t (:inherit font-latex-sectioning-4-face :height 1.1)))) 757 | `(font-latex-sectioning-4-face ((t (:inherit font-latex-sectioning-5-face :height 1.1)))) 758 | `(font-latex-sectioning-5-face ((t (:foreground ,color-types :weight bold)))) 759 | `(font-latex-sedate-face ((t (:foreground ,color-comment-text)))) 760 | `(font-latex-slide-title-face ((t (:inherit font-lock-type-face :weight bold :height 1.2)))) 761 | `(font-latex-string-face ((t (:inherit font-lock-string-face)))) 762 | `(font-latex-subscript-face ((t (:height 0.8)))) 763 | `(font-latex-superscript-face ((t (:height 0.8)))) 764 | `(font-latex-warning-face ((t (:inherit font-lock-warning-face)))) 765 | 766 | ;; guide-key 767 | `(guide-key/prefix-command-face ((t (:foreground ,color-main)))) 768 | `(guide-key/highlight-command-face ((t (:foreground ,color-keyword)))) 769 | `(guide-key/key-face ((t (:foreground ,color-comment-text)))) 770 | 771 | ;; custom 772 | `(custom-button ((t (:foreground nil :background nil)))) 773 | `(custom-button-mouse ((t (:foreground nil :background nil)))) 774 | `(custom-button-pressed ((t (:foreground nil :background nil)))) 775 | `(custom-button-pressed-unraised ((t (:foreground ,color-consquotest :background nil)))) 776 | `(custom-button-unraised ((t (:foreground nil :background nil)))) 777 | `(custom-changed ((t (:foreground ,color-types :background nil)))) 778 | `(custom-comment ((t (:foreground ,color-bg :background ,color-param-names)))) 779 | `(custom-comment-tag ((t (:foreground ,color-fg :background nil)))) 780 | `(custom-documentation ((t (:foreground nil :background nil)))) 781 | `(custom-face-tag ((t (:foreground ,color-built-in :background nil)))) 782 | `(custom-group-subtitle ((t (:foreground nil :background nil :weight bold)))) 783 | `(custom-group-tag ((t (:foreground ,color-built-in :background nil :weight bold)))) 784 | `(custom-group-tag-1 ((t (:foreground ,color-param-names :background nil :weight bold)))) 785 | `(custom-invalid ((t (:foreground ,color-bg :background ,color-types)))) 786 | `(custom-link ((t (:inherit button)))) 787 | `(custom-modified ((t (:foreground ,color-types :background nil)))) 788 | `(custom-rogue ((t (:foreground ,color-param-names :background ,color-bg)))) 789 | `(custom-saved ((t (:foreground nil :background nil :underline t)))) 790 | `(custom-set ((t (:foreground ,color-fg :background ,color-comment-symbols)))) 791 | `(custom-state ((t (:foreground ,color-main :background nil)))) 792 | `(custom-themed ((t (:foreground ,color-types :background nil)))) 793 | `(custom-variable-button ((t (:foreground nil :background nil :underline t :weight bold)))) 794 | `(custom-variable-tag ((t (:foreground ,color-built-in :background nil :weight bold)))) 795 | `(custom-visibility ((t (:inherit button)))) 796 | 797 | `(neo-banner-face ((t (:foreground ,color-built-in :background nil :weight bold)))) 798 | `(neo-button-face ((t (:foreground nil :background nil)))) 799 | `(neo-dir-link-face ((t (:foreground ,color-keyword :background nil)))) 800 | `(neo-expand-btn-face ((t (:foreground ,color-fg :background nil)))) 801 | `(neo-file-link-face ((t (:foreground ,color-fg :background nil)))) 802 | `(neo-header-face ((t (:foreground ,color-fg :background nil)))) 803 | `(neo-root-dir-face ((t (:foreground ,color-main :background nil :weight bold)))) 804 | `(neo-vc-added-face ((t (:foreground ,color-main :background nil)))) 805 | `(neo-vc-conflict-face ((t (:foreground ,color-preprocessor :background nil)))) 806 | `(neo-vc-default-face ((t (:foreground ,color-fg :background nil)))) 807 | `(neo-vc-edited-face ((t (:foreground ,color-param-names :background nil)))) 808 | `(neo-vc-ignored-face ((t (:foreground ,color-comment-symbols :background nil)))) 809 | `(neo-vc-missing-face ((t (:foreground ,color-types :background nil)))) 810 | `(neo-vc-needs-merge-face ((t (:foreground ,color-preprocessor :background nil)))) 811 | `(neo-vc-needs-update-face ((t (:foreground nil :background nil :underline t)))) 812 | `(neo-vc-removed-face ((t (:foreground ,color-consquotest :background nil)))) 813 | `(neo-vc-unlocked-changes-face ((t (:foreground ,color-types :background "Blue")))) 814 | `(neo-vc-unregistered-face ((t (:foreground nil :background nil)))) 815 | `(neo-vc-up-to-date-face ((t (:foreground ,color-fg :background nil)))) 816 | 817 | 818 | ;; realgud 819 | `(realgud-overlay-arrow1 ((t (:foreground ,color-main)))) 820 | `(realgud-overlay-arrow2 ((t (:foreground ,color-minibuffer-prompt)))) 821 | `(realgud-overlay-arrow3 ((t (:foreground ,color-preprocessor)))) 822 | `(realgud-bp-enabled-face ((t (:inherit error)))) 823 | `(realgud-bp-disabled-face ((t (:foreground ,color-comment-symbols)))) 824 | `(realgud-bp-line-enabled-face ((t (:box (:color ,color-types))))) 825 | `(realgud-bp-line-disabled-face ((t (:box (:color "grey50"))))) 826 | `(realgud-line-number ((t (:foreground ,color-param-names)))) 827 | `(realgud-backtrace-number ((t (:foreground ,color-param-names, :weight bold)))) 828 | 829 | ;; widget 830 | `(widget-field ((t (:foreground ,color-fg :background ,color-comment-symbols)))) 831 | 832 | ) ;; end of custom-theme-set-faces 833 | 834 | (custom-theme-set-variables 835 | 'laguna 836 | `(ansi-color-names-vector 837 | [,color-mode-line-bg ,color-types ,color-main ,color-param-names ,color-keyword ,color-consquotest ,color-link ,color-fg]))) 838 | 839 | ;;;###autoload 840 | (when load-file-name 841 | (add-to-list 'custom-theme-load-path 842 | (file-name-as-directory (file-name-directory load-file-name)))) 843 | 844 | ;;;###autoload 845 | (defun laguna() 846 | "Apply the Laguna theme." 847 | (interactive) 848 | (load-theme 'laguna t)) 849 | 850 | 851 | (provide-theme 'laguna) 852 | 853 | 854 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 855 | ;;; laguna-theme.el ends here 856 | --------------------------------------------------------------------------------