1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | ;;; color-theme-dotshare.el --- A color theme for Emacs.
;; Copyright (C) 2011 Christian Brassat, Bozhidar Batsov
;; Author: Christian Brassat <crshd@mail.com>
;; URL:
;; Version: 0.1
;; Package-Requires: ((color-theme "6.6.1"))
;; Based on color-theme-zenburn.el:
;; Author: Bozhidar Batsov <bozhidar.batsov@gmail.com>
;; URL: http://github.com/bbatsov/zenburn-emacs
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Installation:
;;
;; (require 'color-theme-dotshare)
;; (color-theme-dotshare)
;;
;; Don't forget that the theme requires the presence of the
;; color-theme package in your Emacs load-path.
;;
;;; Bugs
;;
;; None that I'm aware of.
;;
;;; Credits
;;
;; Jani Nurminen created the original theme for vim on such this port
;; is based.
;;
;;; Code
;; requires
(require 'color-theme)
;; color definitions
;; colors with +x are lighter, colors with -x are darker
(defvar dotshare-fg "#d7d0c7")
(defvar dotshare-bg-1 "#101010")
(defvar dotshare-bg "#151515")
(defvar dotshare-bg+1 "#202020")
(defvar dotshare-bg+2 "#5f5f5f")
(defvar dotshare-red+1 "#f55353")
(defvar dotshare-red "#e84f4f")
(defvar dotshare-red-1 "#ce4646")
(defvar dotshare-red-2 "#a83939")
(defvar dotshare-red-3 "#682424")
(defvar dotshare-orange "#dfaf8f")
(defvar dotshare-yellow "#e1aa5d")
(defvar dotshare-yellow-1 "#c79752")
(defvar dotshare-yellow-2 "#a17a43")
(defvar dotshare-green-1 "#a2bc7b")
(defvar dotshare-green "#b8d68c")
(defvar dotshare-green+1 "#c3e394")
(defvar dotshare-green+2 "#9fc59f")
(defvar dotshare-green+3 "#ceef9d")
(defvar dotshare-green+4 "#d9fca5")
(defvar dotshare-cyan "#6d878d")
(defvar dotshare-blue+1 "#85cddc")
(defvar dotshare-blue "#7dc1cf")
(defvar dotshare-blue-1 "#6ea9b5")
(defvar dotshare-blue-2 "#57868f")
(defvar dotshare-blue-3 "#38565c")
(defvar dotshare-blue-4 "#304a4f")
(defvar dotshare-blue-5 "#213236")
(defvar dotshare-magenta "#9b64fb")
(eval-after-load 'term
'(setq ansi-term-color-vector
(vector 'unspecified dotshare-bg
dotshare-red dotshare-green
dotshare-yellow dotshare-blue+1
dotshare-magenta dotshare-cyan
;; dirty fix
"white")))
(defun color-theme-dotshare ()
(interactive)
(color-theme-install
`(color-theme-dotshare
;;; color-theme mapping
((foreground-color . ,dotshare-fg)
(background-color . ,dotshare-bg)
(background-mode . dark)
(cursor-color . ,dotshare-orange))
;;; define some reusable dotshare faces that we can inherit from afterwards
(dotshare-strong-1-face ((t (:foreground ,dotshare-yellow :weight bold))))
(dotshare-strong-2-face ((t (:foreground ,dotshare-orange :weight bold))))
(dotshare-warning-face ((t (:foreground ,dotshare-yellow-1 :weight bold :underline t))))
(dotshare-error-face ((t (:foreground ,dotshare-red-1 :weight bold :underline t))))
;;; custom faces
(linum ((t (:foreground "#505050" :background ,dotshare-bg-1))))
(fringe ((t (:foreground "#303030"))))
;;; basic coloring
(default ((t (:foreground ,dotshare-fg))))
(cursor
((t (:foreground ,dotshare-fg))))
(escape-glyph-face ((t (:foreground ,dotshare-red))))
(fringe ((t (:foreground ,dotshare-fg :background ,dotshare-bg))))
(header-line ((t (:foreground ,dotshare-yellow :background ,dotshare-bg-1
:box (:line-width 5 :color ,dotshare-bg-1)))))
(highlight ((t (:background ,dotshare-bg+1))))
;; faces used by isearch
(isearch ((t (:foreground ,dotshare-yellow :background ,dotshare-bg-1))))
(isearch-fail ((t (:foreground ,dotshare-fg :background ,dotshare-red-3))))
(lazy-highlight ((t (:foreground ,dotshare-yellow :background ,dotshare-bg+2))))
(menu ((t (:foreground ,dotshare-fg :background ,dotshare-bg))))
(minibuffer-prompt ((t (:foreground ,dotshare-yellow))))
(mode-line
((t (:foreground ,dotshare-fg :background ,dotshare-bg+1
:box (:line-width 5 :color ,dotshare-bg+1)))))
(mode-line-inactive ((t (:inherit mode-line :background ,dotshare-bg-1
:box (:line-width 5 :color ,dotshare-bg-1)))))
(mode-line-buffer-id ((t (:inherit dotshare-strong-1-face))))
(mode-line-inactive
((t (:foreground ,dotshare-green-1 :background ,dotshare-bg-1))))
(mode-line-buffer-name ((t (:foreground ,dotshare-green :weight bold))))
(mode-line-mode-name ((t (:foreground ,dotshare-yellow))))
(region ((t (:background ,dotshare-magenta))))
(secondary-selection ((t (:background ,dotshare-bg+2))))
(trailing-whitespace ((t (:background ,dotshare-red))))
(vertical-border ((t (:foreground ,dotshare-fg))))
;;; font lock
(font-lock-builtin-face ((t (:foreground ,dotshare-blue))))
(font-lock-comment-face ((t (:foreground ,dotshare-green))))
(font-lock-comment-delimiter-face ((t (:foreground ,dotshare-green))))
(font-lock-constant-face ((t (:foreground ,dotshare-fg))))
(font-lock-doc-face ((t (:foreground ,dotshare-green+1))))
(font-lock-doc-string-face ((t (:foreground ,dotshare-blue+1))))
(font-lock-function-name-face ((t (:foreground ,dotshare-blue))))
(font-lock-keyword-face ((t (:inherit dotshare-strong-1-face))))
(font-lock-negation-char-face ((t (:foreground ,dotshare-fg))))
(font-lock-preprocessor-face ((t (:foreground ,dotshare-blue))))
(font-lock-string-face ((t (:foreground ,dotshare-red))))
(font-lock-type-face ((t (:foreground ,dotshare-yellow))))
(font-lock-variable-name-face ((t (:foreground ,dotshare-yellow))))
(font-lock-warning-face ((t (:inherit dotshare-warning-face))))
;;; external
;; diff
(diff-added ((t (:foreground ,dotshare-green+4))))
(diff-changed ((t (:foreground ,dotshare-yellow))))
(diff-removed ((t (:foreground ,dotshare-red))))
(diff-header ((t (:background ,dotshare-bg+1))))
(diff-file-header
((t (:background ,dotshare-bg+2 :foreground ,dotshare-fg :bold t))))
;; eshell
(eshell-prompt ((t (:inherit dotshare-strong-1-face))))
(eshell-ls-archive ((t (:foreground ,dotshare-red-1 :weight bold))))
(eshell-ls-backup ((t (:inherit font-lock-comment))))
(eshell-ls-clutter ((t (:inherit font-lock-comment))))
(eshell-ls-directory ((t (:foreground ,dotshare-blue+1 :weight bold))))
(eshell-ls-executable ((t (:foreground ,dotshare-red+1 :weight bold))))
(eshell-ls-unreadable ((t (:foreground ,dotshare-fg))))
(eshell-ls-missing ((t (:inherit font-lock-warning))))
(eshell-ls-product ((t (:inherit font-lock-doc))))
(eshell-ls-special ((t (:inherit dotshare-strong-1-face))))
(eshell-ls-symlink ((t (:foreground ,dotshare-cyan :weight bold))))
;; flymake
(flymake-errline ((t (:inherit dotshare-error-face))))
(flymake-warnline ((t (:inherit dotshare-warning-face))))
;; flyspell
(flyspell-duplicate ((t (:inherit dotshare-warning-face))))
(flyspell-incorrect ((t (:inherit dotshare-error-face))))
;; erc
(erc-action-face ((t (:inherit erc-default-face))))
(erc-bold-face ((t (:weight bold))))
(erc-current-nick-face ((t (:inherit dotshare-strong-1-face))))
(erc-dangerous-host-face ((t (:inherit font-lock-warning))))
(erc-default-face ((t (:foreground ,dotshare-fg))))
(erc-direct-msg-face ((t (:inherit erc-default))))
(erc-error-face ((t (:inherit font-lock-warning))))
(erc-fool-face ((t (:inherit erc-default))))
(erc-highlight-face ((t (:inherit hover-highlight))))
(erc-input-face ((t (:foreground ,dotshare-yellow))))
(erc-keyword-face ((t (:inherit dotshare-strong-1-face))))
(erc-nick-default-face ((t (:weigth bold))))
(erc-nick-msg-face ((t (:inherit erc-default))))
(erc-notice-face ((t (:foreground ,dotshare-green))))
(erc-pal-face ((t (:foreground ,dotshare-orange :weight bold))))
(erc-prompt-face ((t (:inherit dotshare-strong-2-face))))
(erc-timestamp-face ((t (:foreground ,dotshare-green+1))))
(erc-underline-face ((t (:underline t))))
;; gnus
(gnus-group-mail-1-face ((t (:bold t :inherit gnus-group-mail-1-empty))))
(gnus-group-mail-1-empty-face ((t (:inherit gnus-group-news-1-empty))))
(gnus-group-mail-2-face ((t (:bold t :inherit gnus-group-mail-2-empty))))
(gnus-group-mail-2-empty-face ((t (:inherit gnus-group-news-2-empty))))
(gnus-group-mail-3-face ((t (:bold t :inherit gnus-group-mail-3-empty))))
(gnus-group-mail-3-empty-face ((t (:inherit gnus-group-news-3-empty))))
(gnus-group-mail-4-face ((t (:bold t :inherit gnus-group-mail-4-empty))))
(gnus-group-mail-4-empty-face ((t (:inherit gnus-group-news-4-empty))))
(gnus-group-mail-5-face ((t (:bold t :inherit gnus-group-mail-5-empty))))
(gnus-group-mail-5-empty-face ((t (:inherit gnus-group-news-5-empty))))
(gnus-group-mail-6-face ((t (:bold t :inherit gnus-group-mail-6-empty))))
(gnus-group-mail-6-empty-face ((t (:inherit gnus-group-news-6-empty))))
(gnus-group-mail-low-face ((t (:bold t :inherit gnus-group-mail-low-empty))))
(gnus-group-mail-low-empty-face ((t (:inherit gnus-group-news-low-empty))))
(gnus-group-news-1-face ((t (:bold t :inherit gnus-group-news-1-empty))))
(gnus-group-news-2-face ((t (:bold t :inherit gnus-group-news-2-empty))))
(gnus-group-news-3-face ((t (:bold t :inherit gnus-group-news-3-empty))))
(gnus-group-news-4-face ((t (:bold t :inherit gnus-group-news-4-empty))))
(gnus-group-news-5-face ((t (:bold t :inherit gnus-group-news-5-empty))))
(gnus-group-news-6-face ((t (:bold t :inherit gnus-group-news-6-empty))))
(gnus-group-news-low-face ((t (:bold t :inherit gnus-group-news-low-empty))))
(gnus-header-content-face ((t (:inherit message-header-other))))
(gnus-header-from-face ((t (:inherit message-header-from))))
(gnus-header-name-face ((t (:inherit message-header-name))))
(gnus-header-newsgroups-face ((t (:inherit message-header-other))))
(gnus-header-subject-face ((t (:inherit message-header-subject))))
(gnus-summary-cancelled-face ((t (:foreground ,dotshare-orange))))
(gnus-summary-high-ancient-face ((t (:foreground ,dotshare-blue))))
(gnus-summary-high-read-face ((t (:foreground ,dotshare-green :weight bold))))
(gnus-summary-high-ticked-face ((t (:inherit dotshare-strong-2-face))))
(gnus-summary-high-unread-face ((t (:foreground ,dotshare-fg :weight bold))))
(gnus-summary-low-ancient-face ((t (:foreground ,dotshare-blue))))
(gnus-summary-low-read-face ((t (:foreground ,dotshare-green))))
(gnus-summary-low-ticked-face ((t (:inherit dotshare-strong-2-face))))
(gnus-summary-low-unread-face ((t (:foreground ,dotshare-fg))))
(gnus-summary-normal-ancient-face ((t (:foreground ,dotshare-blue))))
(gnus-summary-normal-read-face ((t (:foreground ,dotshare-green))))
(gnus-summary-normal-ticked-face ((t (:inherit dotshare-strong-2-face))))
(gnus-summary-normal-unread-face ((t (:foreground ,dotshare-fg))))
(gnus-summary-selected-face ((t (:inherit dotshare-strong-1-face))))
(gnus-cite-1-face ((t (:foreground ,dotshare-blue))))
(gnus-cite-10-face ((t (:foreground ,dotshare-yellow-1))))
(gnus-cite-11-face ((t (:foreground ,dotshare-yellow))))
(gnus-cite-2-face ((t (:foreground ,dotshare-blue-1))))
(gnus-cite-3-face ((t (:foreground ,dotshare-blue-2))))
(gnus-cite-4-face ((t (:foreground ,dotshare-green+2))))
(gnus-cite-5-face ((t (:foreground ,dotshare-green+1))))
(gnus-cite-6-face ((t (:foreground ,dotshare-green))))
(gnus-cite-7-face ((t (:foreground ,dotshare-red))))
(gnus-cite-8-face ((t (:foreground ,dotshare-red-1))))
(gnus-cite-9-face ((t (:foreground ,dotshare-red-2))))
(gnus-group-news-1-empty-face ((t (:foreground ,dotshare-yellow))))
(gnus-group-news-2-empty-face ((t (:foreground ,dotshare-green+3))))
(gnus-group-news-3-empty-face ((t (:foreground ,dotshare-green+1))))
(gnus-group-news-4-empty-face ((t (:foreground ,dotshare-blue-2))))
(gnus-group-news-5-empty-face ((t (:foreground ,dotshare-blue-3))))
(gnus-group-news-6-empty-face ((t (:foreground ,dotshare-bg+2))))
(gnus-group-news-low-empty-face ((t (:foreground ,dotshare-bg+2))))
(gnus-signature-face ((t (:foreground ,dotshare-yellow))))
(gnus-x-face ((t (:background ,dotshare-fg :foreground ,dotshare-bg))))
;; hl-line-mode
(hl-line-face ((t (:background ,dotshare-bg-1))))
;; ido-mode
(ido-first-match ((t (:inherit dotshare-strong-1-face))))
(ido-only-match ((t (:inherit dotshare-strong-2-face))))
(ido-subdir ((t (:foreground ,dotshare-yellow))))
;; magit
(magit-section-title ((t (:inherit dotshare-strong-1-face))))
(magit-branch ((t (:inherit dotshare-strong-2-face))))
;; message-mode
(message-cited-text-face ((t (:inherit font-lock-comment))))
(message-header-name-face ((t (:foreground ,dotshare-green+1))))
(message-header-other-face ((t (:foreground ,dotshare-green))))
(message-header-to-face ((t (:inherit dotshare-strong-1-face))))
(message-header-from-face ((t (:inherit dotshare-strong-1-face))))
(message-header-cc-face ((t (:inherit dotshare-strong-1-face))))
(message-header-newsgroups-face ((t (:inherit dotshare-strong-1-face))))
(message-header-subject-face ((t (:inherit dotshare-strong-2-face))))
(message-header-xheader-face ((t (:foreground ,dotshare-green))))
(message-mml-face ((t (:inherit dotshare-strong-1-face))))
(message-separator-face ((t (:inherit font-lock-comment))))
;; mew
(mew-face-header-subject ((t (:foreground ,dotshare-orange))))
(mew-face-header-from ((t (:foreground ,dotshare-yellow))))
(mew-face-header-date ((t (:foreground ,dotshare-green))))
(mew-face-header-to ((t (:foreground ,dotshare-red))))
(mew-face-header-key ((t (:foreground ,dotshare-green))))
(mew-face-header-private ((t (:foreground ,dotshare-green))))
(mew-face-header-important ((t (:foreground ,dotshare-blue))))
(mew-face-header-marginal ((t (:foreground ,dotshare-fg :weight bold))))
(mew-face-header-warning ((t (:foreground ,dotshare-red))))
(mew-face-header-xmew ((t (:foreground ,dotshare-green))))
(mew-face-header-xmew-bad ((t (:foreground ,dotshare-red))))
(mew-face-body-url ((t (:foreground ,dotshare-orange))))
(mew-face-body-comment ((t (:foreground ,dotshare-fg :slant italic))))
(mew-face-body-cite1 ((t (:foreground ,dotshare-green))))
(mew-face-body-cite2 ((t (:foreground ,dotshare-blue))))
(mew-face-body-cite3 ((t (:foreground ,dotshare-orange))))
(mew-face-body-cite4 ((t (:foreground ,dotshare-yellow))))
(mew-face-body-cite5 ((t (:foreground ,dotshare-red))))
(mew-face-mark-review ((t (:foreground ,dotshare-blue))))
(mew-face-mark-escape ((t (:foreground ,dotshare-green))))
(mew-face-mark-delete ((t (:foreground ,dotshare-red))))
(mew-face-mark-unlink ((t (:foreground ,dotshare-yellow))))
(mew-face-mark-refile ((t (:foreground ,dotshare-green))))
(mew-face-mark-unread ((t (:foreground ,dotshare-red-2))))
(mew-face-eof-message ((t (:foreground ,dotshare-green))))
(mew-face-eof-part ((t (:foreground ,dotshare-yellow))))
;; nav
(nav-face-heading ((t (:foreground ,dotshare-yellow))))
(nav-face-button-num ((t (:foreground ,dotshare-cyan))))
(nav-face-dir ((t (:foreground ,dotshare-green))))
(nav-face-hdir ((t (:foreground ,dotshare-red))))
(nav-face-file ((t (:foreground ,dotshare-fg))))
(nav-face-hfile ((t (:foreground ,dotshare-red-3))))
;; org-mode
(org-agenda-date-today
((t (:foreground "white" :slant italic :weight bold))) t)
(org-agenda-structure
((t (:inherit font-lock-comment-face))))
(org-archived ((t (:foreground ,dotshare-fg :weight bold))))
(org-checkbox ((t (:background ,dotshare-bg+2 :foreground "white"
:box (:line-width 1 :style released-button)))))
(org-date ((t (:foreground ,dotshare-blue :underline t))))
(org-deadline-announce ((t (:foreground ,dotshare-red-1))))
(org-done ((t (:bold t :weight bold :foreground ,dotshare-green+3))))
(org-formula ((t (:foreground ,dotshare-yellow-2))))
(org-headline-done ((t (:foreground ,dotshare-green+3))))
(org-hide ((t (:foreground ,dotshare-bg-1))))
(org-level-1 ((t (:foreground ,dotshare-orange))))
(org-level-2 ((t (:foreground ,dotshare-green+1))))
(org-level-3 ((t (:foreground ,dotshare-blue-1))))
(org-level-4 ((t (:foreground ,dotshare-yellow-2))))
(org-level-5 ((t (:foreground ,dotshare-cyan))))
(org-level-6 ((t (:foreground ,dotshare-green-1))))
(org-level-7 ((t (:foreground ,dotshare-red-3))))
(org-level-8 ((t (:foreground ,dotshare-blue-4))))
(org-link ((t (:foreground ,dotshare-yellow-2 :underline t))))
(org-scheduled ((t (:foreground ,dotshare-green+4))))
(org-scheduled-previously ((t (:foreground ,dotshare-red-3))))
(org-scheduled-today ((t (:foreground ,dotshare-blue+1))))
(org-special-keyword ((t (:foreground ,dotshare-yellow-1))))
(org-table ((t (:foreground ,dotshare-green+2))))
(org-tag ((t (:bold t :weight bold))))
(org-time-grid ((t (:foreground ,dotshare-orange))))
(org-todo ((t (:bold t :foreground ,dotshare-red :weight bold))))
(org-upcoming-deadline ((t (:inherit font-lock-keyword-face))))
(org-warning ((t (:bold t :foreground ,dotshare-red :weight bold))))
;; outline
(outline-8 ((t (:inherit default))))
(outline-7 ((t (:inherit outline-8 :height 1.0))))
(outline-6 ((t (:inherit outline-7 :height 1.0))))
(outline-5 ((t (:inherit outline-6 :height 1.0))))
(outline-4 ((t (:inherit outline-5 :height 1.0))))
(outline-3 ((t (:inherit outline-4 :height 1.0))))
(outline-2 ((t (:inherit outline-3 :height 1.0))))
(outline-1 ((t (:inherit outline-2 :height 1.0))))
;; rainbow-delimiters
(rainbow-delimiters-depth-1-face ((t (:foreground ,dotshare-cyan))))
(rainbow-delimiters-depth-2-face ((t (:foreground ,dotshare-yellow))))
(rainbow-delimiters-depth-3-face ((t (:foreground ,dotshare-blue+1))))
(rainbow-delimiters-depth-4-face ((t (:foreground ,dotshare-red+1))))
(rainbow-delimiters-depth-5-face ((t (:foreground ,dotshare-orange))))
(rainbow-delimiters-depth-6-face ((t (:foreground ,dotshare-blue-1))))
(rainbow-delimiters-depth-7-face ((t (:foreground ,dotshare-green+4))))
(rainbow-delimiters-depth-8-face ((t (:foreground ,dotshare-red-3))))
(rainbow-delimiters-depth-9-face ((t (:foreground ,dotshare-yellow-2))))
(rainbow-delimiters-depth-10-face ((t (:foreground ,dotshare-green+2))))
(rainbow-delimiters-depth-11-face ((t (:foreground ,dotshare-blue+1))))
(rainbow-delimiters-depth-12-face ((t (:foreground ,dotshare-red-3))))
;; rpm-mode
(rpm-spec-dir-face ((t (:foreground ,dotshare-green))))
(rpm-spec-doc-face ((t (:foreground ,dotshare-green))))
(rpm-spec-ghost-face ((t (:foreground ,dotshare-red))))
(rpm-spec-macro-face ((t (:foreground ,dotshare-yellow))))
(rpm-spec-obsolete-tag-face ((t (:foreground ,dotshare-red))))
(rpm-spec-package-face ((t (:foreground ,dotshare-red))))
(rpm-spec-section-face ((t (:foreground ,dotshare-yellow))))
(rpm-spec-tag-face ((t (:foreground ,dotshare-blue))))
(rpm-spec-var-face ((t (:foreground ,dotshare-red))))
;; show-paren
(show-paren-mismatch ((t (:foreground ,dotshare-red-3 :weight bold))))
(show-paren-match ((t (:foreground ,dotshare-blue-1 :weight bold))))
;; wanderlust
(wl-highlight-folder-few-face ((t (:foreground ,dotshare-red-2))))
(wl-highlight-folder-many-face ((t (:foreground ,dotshare-red-1))))
(wl-highlight-folder-path-face ((t (:foreground ,dotshare-orange))))
(wl-highlight-folder-unread-face ((t (:foreground ,dotshare-blue))))
(wl-highlight-folder-zero-face ((t (:foreground ,dotshare-fg))))
(wl-highlight-folder-unknown-face ((t (:foreground ,dotshare-blue))))
(wl-highlight-message-citation-header ((t (:foreground ,dotshare-red-1))))
(wl-highlight-message-cited-text-1 ((t (:foreground ,dotshare-red))))
(wl-highlight-message-cited-text-2 ((t (:foreground ,dotshare-green+2))))
(wl-highlight-message-cited-text-3 ((t (:foreground ,dotshare-blue))))
(wl-highlight-message-cited-text-4 ((t (:foreground ,dotshare-blue+1))))
(wl-highlight-message-header-contents-face ((t (:foreground ,dotshare-green))))
(wl-highlight-message-headers-face ((t (:foreground ,dotshare-red+1))))
(wl-highlight-message-important-header-contents ((t (:foreground ,dotshare-green+2))))
(wl-highlight-message-header-contents ((t (:foreground ,dotshare-green+1))))
(wl-highlight-message-important-header-contents2 ((t (:foreground ,dotshare-green+2))))
(wl-highlight-message-signature ((t (:foreground ,dotshare-green))))
(wl-highlight-message-unimportant-header-contents ((t (:foreground ,dotshare-fg))))
(wl-highlight-summary-answered-face ((t (:foreground ,dotshare-blue))))
(wl-highlight-summary-disposed-face ((t (:foreground ,dotshare-fg
:slant italic))))
(wl-highlight-summary-new-face ((t (:foreground ,dotshare-blue))))
(wl-highlight-summary-normal-face ((t (:foreground ,dotshare-fg))))
(wl-highlight-summary-thread-top-face ((t (:foreground ,dotshare-yellow))))
(wl-highlight-thread-indent-face ((t (:foreground ,dotshare-magenta))))
(wl-highlight-summary-refiled-face ((t (:foreground ,dotshare-fg))))
(wl-highlight-summary-displaying-face ((t (:underline t :weight bold)))))))
(add-to-list 'color-themes '(color-theme-dotshare
"dotshare"
"Christian Brassat <crshd@mail.com>"))
(provide 'color-theme-dotshare)
;;; color-theme-dotshare.el ends here.
|
x
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 | ;;; color-theme-dotshare.el --- A color theme for Emacs 24.
;; Based on color-theme-dotshare.el:
;; Author: Christian Brassat <crshd@mail.com>
;; URL: http://dotshare.it/dots/191/
;; Ported to GNU Emacs 24's built-in theme system by Nicolas G. Querol <nicolas.gquerol@gmail.com>
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Installation:
;;
;; Drop the theme in a folder that is on `custom-theme-load-path'
;; and enjoy!
;;
;; Don't forget that the theme requires Emacs 24.
;;
;;; Code
(deftheme dotshare
"A colourful, dark and terminal-friendly theme")
=======
(deftheme dotshare
"A colourful, dark and terminal-friendly theme")
(let ((class '((class color) (min-colors 89)))
;; color definitions
;; colors with +x are lighter, colors with -x are darker
(dotshare-fg "#d7d0c7")
(dotshare-bg-1 "#101010")
(dotshare-bg "#151515")
(dotshare-bg+1 "#202020")
(dotshare-bg+2 "#5f5f5f")
(dotshare-red+1 "#f55353")
(dotshare-red "#e84f4f")
(dotshare-red-1 "#ce4646")
(dotshare-red-2 "#a83939")
(dotshare-red-3 "#682424")
(dotshare-orange "#dfaf8f")
(dotshare-yellow "#e1aa5d")
(dotshare-yellow-1 "#c79752")
(dotshare-yellow-2 "#a17a43")
(dotshare-green-1 "#a2bc7b")
(dotshare-green "#b8d68c")
(dotshare-green+1 "#c3e394")
(dotshare-green+2 "#9fc59f")
(dotshare-green+3 "#ceef9d")
(dotshare-green+4 "#d9fca5")
(dotshare-cyan "#6d878d")
(dotshare-blue+1 "#85cddc")
(dotshare-blue "#7dc1cf")
(dotshare-blue-1 "#6ea9b5")
(dotshare-blue-2 "#57868f")
(dotshare-blue-3 "#38565c")
(dotshare-blue-4 "#304a4f")
(dotshare-blue-5 "#213236")
(dotshare-magenta "#9b64fb"))
(custom-theme-set-faces
'dotshare
;;; basic coloring
`(cursor ((,class (:foreground ,dotshare-fg))))
`(default ((,class (:foreground ,dotshare-fg :background ,dotshare-bg-1))))
`(fringe ((,class (:foreground ,dotshare-fg :background ,dotshare-bg-1))))
`(escape-glyph-face ((,class (:foreground ,dotshare-red))))
`(header-line ((,class (:foreground ,dotshare-yellow
:background ,dotshare-bg-1
:box (:line-width 1 :color ,dotshare-bg-1)))))
`(hl-line ((,class (:background ,dotshare-bg+1))))
`(linum ((,class (:foreground "#505050" :background ,dotshare-bg))))
`(minibuffer-prompt ((,class (:foreground ,dotshare-yellow))))
`(menu ((,class (:foreground ,dotshare-fg :background ,dotshare-bg))))
`(mode-line
((,class (:foreground ,dotshare-fg :background ,dotshare-bg+1
:box (:line-width 1 :color ,dotshare-bg+1)))))
`(mode-line-inactive ((,class (:inherit mode-line :background ,dotshare-bg+2
:box (:line-width 1 :color ,dotshare-bg-1)))))
`(mode-line-buffer-id ((,class (:inherit 'dotshare-yellow :weight bold))))
`(mode-line-inactive
((,class (:foreground ,dotshare-green-1 :background ,dotshare-bg+1))))
`(mode-line-buffer-name ((,class (:foreground ,dotshare-green :weight bold))))
`(mode-line-mode-face ((,class (:foreground ,dotshare-yellow))))
`(mode-line-folder-face ((,class (:foreground ,dotshare-bg+2))))
`(mode-line-modified-face ((,class (:foreground ,dotshare-orange))))
`(mode-line-read-only-face ((,class (:foreground ,dotshare-red))))
`(region ((,class (:background ,dotshare-bg+2))))
`(secondary-selection ((,class (:background ,dotshare-bg+2))))
`(trailing-whitespace ((,class (:background ,dotshare-red))))
`(vertical-border ((,class (:foreground ,dotshare-fg))))
;; faces used by isearch
`(isearch ((,class (:foreground ,dotshare-yellow :background ,dotshare-bg-1))))
`(isearch-fail ((,class (:foreground ,dotshare-fg :background ,dotshare-red-3))))
`(lazy-highlight ((,class (:foreground ,dotshare-yellow :background ,dotshare-bg+2))))
;; font-lock
`(font-lock-builtin-face ((,class (:foreground ,dotshare-blue))))
`(font-lock-comment-face ((,class (:foreground ,dotshare-green))))
`(font-lock-comment-delimiter-face ((,class (:foreground ,dotshare-green))))
`(font-lock-constant-face ((,class (:foreground ,dotshare-fg))))
`(font-lock-doc-face ((,class (:foreground ,dotshare-green+1))))
`(font-lock-doc-string-face ((,class (:foreground ,dotshare-blue+1))))
`(font-lock-function-name-face ((,class (:foreground ,dotshare-blue))))
`(font-lock-keyword-face ((,class (:foreground ,dotshare-yellow :weight bold))))
`(font-lock-negation-char-face ((,class (:foregorund ,dotshare-fg))))
`(font-lock-preprocessor-face ((,class (:foreground ,dotshare-blue))))
`(font-lock-string-face ((,class (:foreground ,dotshare-red))))
`(font-lock-type-face ((,class (:foregorund ,dotshare-yellow))))
`(font-lock-variable-name-face ((,class (:foreground ,dotshare-yellow))))
`(font-lock-warning-face ((,class (:foreground ,dotshare-yellow-1 :weight bold :underline t))))
`(font-lock-pseudo-keyword-face ((,class (:foreground ,dotshare-yellow))))
`(font-lock-operator-face ((,class (:foreground ,dotshare-orange))))
`(c-annotation-face ((,class (:inherit font-lock-constant-face))))
;;; external
;; auto-complete
`(ac-candidate-face ((,class (:background ,dotshare-bg+2 :foreground "white"))))
`(ac-selection-face ((,class (:background ,dotshare-blue-4 :foreground ,dotshare-fg))))
`(popup-tip-face ((,class (:background ,dotshare-yellow-2 :foreground "black"))))
`(popup-scroll-bar-foreground-face ((,class (:background "white"))))
`(popup-scroll-bar-background-face ((,class (:background ,dotshare-bg-1))))
`(popup-isearch-match ((,class (:background ,dotshare-bg :foreground ,dotshare-fg))))
;; diff
`(diff-added ((,class (:foreground ,dotshare-green+4))))
`(diff-changed ((,class (:foreground ,dotshare-yellow))))
`(diff-removed ((,class (:foreground ,dotshare-red))))
`(diff-header ((,class (:background ,dotshare-bg+1))))
`(diff-file-header
((,class (:background ,dotshare-bg+2 :foreground ,dotshare-fg :bold t))))
;; eshell
`(eshell-prompt ((,class (:foreground ,dotshare-yellow :weight bold))))
`(eshell-ls-archive ((,class (:foreground ,dotshare-red-1 :weight bold))))
`(eshell-ls-backup ((,class (:inherit font-lock-comment))))
`(eshell-ls-clutter ((,class (:inherit font-lock-comment))))
`(eshell-ls-directory ((,class (:foreground ,dotshare-blue+1 :weight bold))))
`(eshell-ls-executable ((,class (:foreground ,dotshare-red+1 :weight bold))))
`(eshell-ls-unreadable ((,class (:foreground ,dotshare-fg))))
`(eshell-ls-missing ((,class (:inherit font-lock-warning))))
`(eshell-ls-product ((,class (:inherit font-lock-doc))))
`(eshell-ls-special ((,class (:inherit dotshare-yellow :weight bold))))
`(eshell-ls-symlink ((,class (:foreground ,dotshare-cyan :weight bold))))
;; ecb
`(ecb-analyse-bucket-element-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-analyse-bucket-node-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-analyse-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-analyse-general-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-bucket-node-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-default-general-face ((,class (:inherit dotshare-fg))))
`(ecb-default-highlight-face ((,class (:foreground ,dotshare-green :background ,dotshare-bg :weight bold))))
`(ecb-directories-general-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-directory-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-directory-not-accessible-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-history-bucket-node-dir-soure-path-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-history-bucket-node-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-history-dead-buffer-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-history-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-history-general-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-history-indirect-buffer-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-method-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-method-non-semantic-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-methods-general-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-mode-line-data-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-mode-line-prefix-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-mode-line-win-nr-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-source-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-source-in-directories-buffer-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-source-read-only-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-sources-general-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-symboldef-prototype-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-symboldef-symbol-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-tag-header-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-tree-guide-line-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-type-tag-class-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-type-tag-enum-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-type-tag-group-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-type-tag-interface-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-type-tag-struct-face ((,class (:foreground ,dotshare-cyan :weight bold))))
`(ecb-type-tag-typedef-face ((,class (:foreground ,dotshare-cyan :weight bold))))
;; erc
`(erc-action-face ((,class (:inherit erc-default-face))))
`(erc-bold-face ((,class (:weight bold))))
`(erc-current-nick-face ((,class (:foreground ,dotshare-yellow :weight bold))))
`(erc-dangerous-host-face ((,class (:inherit font-lock-warning))))
`(erc-default-face ((,class (:foreground ,dotshare-fg))))
`(erc-direct-msg-face ((,class (:inherit erc-default))))
`(erc-error-face ((,class (:inherit font-lock-warning))))
`(erc-fool-face ((,class (:inherit erc-default))))
`(erc-highlight-face ((,class (:inherit hover-highlight))))
`(erc-input-face ((,class (:foreground ,dotshare-yellow))))
`(erc-keyword-face ((,class (:foreground ,dotshare-yellow :weight bold))))
`(erc-nick-default-face ((,class (:weigth bold))))
`(erc-nick-msg-face ((,class (:inherit erc-default))))
`(erc-notice-face ((,class (:foreground ,dotshare-green))))
`(erc-pal-face ((,class (:foreground ,dotshare-orange :weight bold))))
`(erc-prompt-face ((,class (:foreground ,dotshare-orange :weight bold))))
`(erc-timestamp-face ((,class (:foreground ,dotshare-green+1))))
`(erc-underline-face ((t (:underline t))))
;; flymake
`(flymake-errline ((,class (:foreground ,dotshare-red-1 :weight bold :underline t))))
`(flymake-warnline ((,class (:foreground ,dotshare-yellow-1 :weight bold :underline t))))
;; flyspell
`(flyspell-duplicate ((,class (:foreground ,dotshare-yellow-1 :weight bold :underline t))))
`(flyspell-incorrect ((,class (:foreground ,dotshare-red-1 :weight bold :underline t))))
;; gnus
`(gnus-group-mail-1-face ((,class (:bold t :inherit gnus-group-mail-1-empty))))
`(gnus-group-mail-1-empty-face ((,class (:inherit gnus-group-news-1-empty))))
`(gnus-group-mail-2-face ((,class (:bold t :inherit gnus-group-mail-2-empty))))
`(gnus-group-mail-2-empty-face ((,class (:inherit gnus-group-news-2-empty))))
`(gnus-group-mail-3-face ((,class (:bold t :inherit 'nus-group-mail-3-empty))))
`(gnus-group-mail-3-empty-face ((,class (:inherit gnus-group-news-3-empty))))
`(gnus-group-mail-4-face ((,class (:bold t :inherit gnus-group-mail-4-empty))))
`(gnus-group-mail-4-empty-face ((,class (:inherit gnus-group-news-4-empty))))
`(gnus-group-mail-5-face ((,class (:bold t :inherit gnus-group-mail-5-empty))))
`(gnus-group-mail-5-empty-face ((,class (:inherit gnus-group-news-5-empty))))
`(gnus-group-mail-6-face ((,class (:bold t :inherit gnus-group-mail-6-empty))))
`(gnus-group-mail-6-empty-face ((,class (:inherit gnus-group-news-6-empty))))
`(gnus-group-mail-low-face ((,class (:bold t :inherit gnus-group-mail-low-empty))))
`(gnus-group-mail-low-empty-face ((,class (:inherit gnus-group-news-low-empty))))
`(gnus-group-news-1-face ((,class (:bold t :inherit gnus-group-news-1-empty))))
`(gnus-group-news-2-face ((,class (:bold t :inherit gnus-group-news-2-empty))))
`(gnus-group-news-3-face ((,class (:bold t :inherit gnus-group-news-3-empty))))
`(gnus-group-news-4-face ((,class (:bold t :inherit gnus-group-news-4-empty))))
`(gnus-group-news-5-face ((,class (:bold t :inherit gnus-group-news-5-empty))))
`(gnus-group-news-6-face ((,class (:bold t :inherit gnus-group-news-6-empty))))
`(gnus-group-news-low-face ((,class (:bold t :inherit gnus-group-news-low-empty))))
`(gnus-header-content-face ((,class (:inherit message-header-other))))
`(gnus-header-from-face ((,class (:inherit message-header-from))))
`(gnus-header-name-face ((,class (:inherit message-header-name))))
`(gnus-header-newsgroups-face ((,class (:inherit message-header-other))))
`(gnus-header-subject-face ((,class (:inherit message-header-subject))))
`(gnus-summary-cancelled-face ((,class (:foreground ,dotshare-orange))))
`(gnus-summary-high-ancient-face ((,class (:foreground ,dotshare-blue))))
`(gnus-summary-high-read-face ((,class (:foreground ,dotshare-green :weight bold))))
`(gnus-summary-high-ticked-face ((,class (:foreground ,dotshare-orange :weight bold))))
`(gnus-summary-high-unread-face ((,class (:foreground ,dotshare-fg :weight bold))))
`(gnus-summary-low-ancient-face ((,class (:foreground ,dotshare-blue))))
`(gnus-summary-low-read-face ((,class (:foreground ,dotshare-green))))
`(gnus-summary-low-ticked-face ((,class (:foreground ,dotshare-orange :weight bold))))
`(gnus-summary-low-unread-face ((,class (:foreground ,dotshare-fg))))
`(gnus-summary-normal-ancient-face ((,class (:foreground ,dotshare-blue))))
`(gnus-summary-normal-read-face ((,class (:foreground ,dotshare-green))))
`(gnus-summary-normal-ticked-face ((,class (:foreground ,dotshare-orange :weight bold))))
`(gnus-summary-normal-unread-face ((,class (:foreground ,dotshare-fg))))
`(gnus-summary-selected-face ((,class (:foreground ,dotshare-yellow :weight bold))))
`(gnus-cite-1-face ((,class (:foreground ,dotshare-blue))))
`(gnus-cite-10-face ((,class (:foreground ,dotshare-yellow-1))))
`(gnus-cite-11-face ((,class (:foreground ,dotshare-yellow))))
`(gnus-cite-2-face ((,class (:foreground ,dotshare-blue-1))))
`(gnus-cite-3-face ((,class (:foreground ,dotshare-blue-2))))
`(gnus-cite-4-face ((,class (:foreground ,dotshare-green+2))))
`(gnus-cite-5-face ((,class (:foreground ,dotshare-green+1))))
`(gnus-cite-6-face ((,class (:foreground ,dotshare-green))))
`(gnus-cite-7-face ((,class (:foreground ,dotshare-red))))
`(gnus-cite-8-face ((,class (:foreground ,dotshare-red-1))))
`(gnus-cite-9-face ((,class (:foreground ,dotshare-red-2))))
`(gnus-group-news-1-empty-face ((,class (:foreground ,dotshare-yellow))))
`(gnus-group-news-2-empty-face ((,class (:foreground ,dotshare-green+3))))
`(gnus-group-news-3-empty-face ((,class (:foreground ,dotshare-green+1))))
`(gnus-group-news-4-empty-face ((,class (:foreground ,dotshare-blue-2))))
`(gnus-group-news-5-empty-face ((,class (:foreground ,dotshare-blue-3))))
`(gnus-group-news-6-empty-face ((,class (:foreground ,dotshare-bg+2))))
`(gnus-group-news-low-empty-face ((,class (:foreground ,dotshare-bg+2))))
`(gnus-signature-face ((,class (:foreground ,dotshare-yellow))))
`(gnus-x-face ((,class (:background ,dotshare-fg :foreground ,dotshare-bg))))
;; magit
`(magit-section-title ((,class (:foreground ,dotshare-yellow :weight bold))))
`(magit-branch ((,class (:foreground ,dotshare-orange :weight bold))))
;; message-mode
`(message-cited-text-face ((,class (:inherit font-lock-comment))))
`(message-header-name-face ((,class (:foreground ,dotshare-green+1))))
`(message-header-other-face ((,class (:foreground ,dotshare-green))))
`(message-header-to-face ((,class (:inherit 'dotshare-yellow :weight bold))))
`(message-header-from-face ((,class (:inherit 'dotshare-yellow :weight bold))))
`(message-header-cc-face ((,class (:inherit 'dotshare-yellow :weight bold))))
`(message-header-newsgroups-face ((,class (:inherit 'dotshare-yellow :weight bold))))
`(message-header-subject-face ((,class (:inherit 'dotshare-orange :weight bold))))
`(message-header-xheader-face ((,class (:foreground ,dotshare-green))))
`(message-mml-face ((,class (:foreground ,dotshare-yellow :weight bold))))
`(message-separator-face ((,class (:inherit font-lock-comment))))
;; mew
`(mew-face-header-subject ((,class (:foreground ,dotshare-orange))))
`(mew-face-header-from ((,class (:foreground ,dotshare-yellow))))
`(mew-face-header-date ((,class (:foreground ,dotshare-green))))
`(mew-face-header-to ((,class (:foreground ,dotshare-red))))
`(mew-face-header-key ((,class (:foreground ,dotshare-green))))
`(mew-face-header-private ((,class (:foreground ,dotshare-green))))
`(mew-face-header-important ((,class (:foreground ,dotshare-blue))))
`(mew-face-header-marginal ((,class (:foreground ,dotshare-fg :weight bold))))
`(mew-face-header-warning ((,class (:foreground ,dotshare-red))))
`(mew-face-header-xmew ((,class (:foreground ,dotshare-green))))
`(mew-face-header-xmew-bad ((,class (:foreground ,dotshare-red))))
`(mew-face-body-url ((,class (:foreground ,dotshare-orange))))
`(mew-face-body-comment ((,class (:foreground ,dotshare-fg :slant italic))))
`(mew-face-body-cite1 ((,class (:foreground ,dotshare-green))))
`(mew-face-body-cite2 ((,class (:foreground ,dotshare-blue))))
`(mew-face-body-cite3 ((,class (:foreground ,dotshare-orange))))
`(mew-face-body-cite4 ((,class (:foreground ,dotshare-yellow))))
`(mew-face-body-cite5 ((,class (:foreground ,dotshare-red))))
`(mew-face-mark-review ((,class (:foreground ,dotshare-blue))))
`(mew-face-mark-escape ((,class (:foreground ,dotshare-green))))
`(mew-face-mark-delete ((,class (:foreground ,dotshare-red))))
`(mew-face-mark-unlink ((,class (:foreground ,dotshare-yellow))))
`(mew-face-mark-refile ((,class (:foreground ,dotshare-green))))
`(mew-face-mark-unread ((,class (:foreground ,dotshare-red-2))))
`(mew-face-eof-message ((,class (:foreground ,dotshare-green))))
`(mew-face-eof-part ((,class (:foreground ,dotshare-yellow))))
;; nav
`(nav-face-heading ((,class (:foreground ,dotshare-yellow))))
`(nav-face-button-num ((,class (:foreground ,dotshare-cyan))))
`(nav-face-dir ((,class (:foreground ,dotshare-green))))
`(nav-face-hdir ((,class (:foreground ,dotshare-red))))
`(nav-face-file ((,class (:foreground ,dotshare-fg))))
`(nav-face-hfile ((,class (:foreground ,dotshare-red-3))))
;; org-mode
`(org-agenda-date-today
((,class (:foreground "white" :slant italic :weight bold))) t)
`(org-agenda-structure
((,class (:inherit font-lock-comment-face))))
`(org-archived ((,class (:foreground ,dotshare-fg :weight bold))))
`(org-checkbox ((,class (:background ,dotshare-bg+2 :foreground "white"
:box (:line-width 1 :style released-button)))))
`(org-date ((,class (:foreground ,dotshare-blue :underline t))))
`(org-deadline-announce ((,class (:foreground ,dotshare-red-1))))
`(org-done ((,class (:bold t :weight bold :foreground ,dotshare-green+3))))
`(org-formula ((,class (:foreground ,dotshare-yellow-2))))
`(org-headline-done ((,class (:foreground ,dotshare-green+3))))
`(org-hide ((,class (:foreground ,dotshare-bg-1))))
`(org-level-1 ((,class (:foreground ,dotshare-orange))))
`(org-level-2 ((,class (:foreground ,dotshare-green+1))))
`(org-level-3 ((,class (:foreground ,dotshare-blue-1))))
`(org-level-4 ((,class (:foreground ,dotshare-yellow-2))))
`(org-level-5 ((,class (:foreground ,dotshare-cyan))))
`(org-level-6 ((,class (:foreground ,dotshare-green-1))))
`(org-level-7 ((,class (:foreground ,dotshare-red-3))))
`(org-level-8 ((,class (:foreground ,dotshare-blue-4))))
`(org-link ((,class (:foreground ,dotshare-yellow-2 :underline t))))
`(org-scheduled ((,class (:foreground ,dotshare-green+4))))
`(org-scheduled-previously ((,class (:foreground ,dotshare-red-3))))
`(org-scheduled-today ((,class (:foreground ,dotshare-blue+1))))
`(org-special-keyword ((,class (:foreground ,dotshare-yellow-1))))
`(org-table ((,class (:foreground ,dotshare-green+2))))
`(org-tag ((,class (:bold t :weight bold))))
`(org-time-grid ((,class (:foreground ,dotshare-orange))))
`(org-todo ((,class (:bold t :foreground ,dotshare-red :weight bold))))
`(org-upcoming-deadline ((,class (:inherit font-lock-keyword-face))))
`(org-warning ((,class (:bold t :foreground ,dotshare-red :weight bold))))
;; outline
`(outline-8 ((,class (:inherit default))))
`(outline-7 ((,class (:inherit outline-8 :height 1.0))))
`(outline-6 ((,class (:inherit outline-7 :height 1.0))))
`(outline-5 ((,class (:inherit outline-6 :height 1.0))))
`(outline-4 ((,class (:inherit outline-5 :height 1.0))))
`(outline-3 ((,class (:inherit outline-4 :height 1.0))))
`(outline-2 ((,class (:inherit outline-3 :height 1.0))))
`(outline-1 ((,class (:inherit outline-2 :height 1.0))))
;; post-mode
`(post-email-address-text-face ((,class (:foreground ,dotshare-yellow :weight bold))))
`(post-emoticon-face ((,class (:foreground ,dotshare-green+2 :weight bold))))
`(post-header-keyword-face ((,class (:foreground ,dotshare-bg+1))))
`(post-header-value-face ((,class (:foreground ,dotshare-fg))))
`(post-multiply-quoted-text-face ((,class (:foreground ,dotshare-orange))))
`(post-quoted-text-face ((,class (:foreground ,dotshare-yellow))))
`(post-signature-text-face ((,class (:foreground ,dotshare-bg+2))))
`(post-underline-face ((,class (:foreground ,dotshare-green))))
`(post-url-face ((,class (:foreground ,dotshare-blue-2 :underline t))))
;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((,class (:foreground ,dotshare-cyan))))
`(rainbow-delimiters-depth-2-face ((,class (:foreground ,dotshare-yellow))))
`(rainbow-delimiters-depth-3-face ((,class (:foreground ,dotshare-blue+1))))
`(rainbow-delimiters-depth-4-face ((,class (:foreground ,dotshare-red+1))))
`(rainbow-delimiters-depth-5-face ((,class (:foreground ,dotshare-green+1))))
`(rainbow-delimiters-depth-6-face ((,class (:foreground ,dotshare-blue-1))))
`(rainbow-delimiters-depth-7-face ((,class (:foreground ,dotshare-green+4))))
`(rainbow-delimiters-depth-8-face ((,class (:foreground ,dotshare-red-3))))
`(rainbow-delimiters-depth-9-face ((,class (:foreground ,dotshare-yellow-2))))
`(rainbow-delimiters-depth-10-face ((,class (:foreground ,dotshare-green+2))))
`(rainbow-delimiters-depth-11-face ((,class (:foreground ,dotshare-blue+1))))
`(rainbow-delimiters-depth-12-face ((,class (:foreground ,dotshare-red-3))))
;; rpm-mode
`(rpm-spec-dir-face ((,class (:foreground ,dotshare-green))))
`(rpm-spec-doc-face ((,class (:foreground ,dotshare-green))))
`(rpm-spec-ghost-face ((,class (:foreground ,dotshare-red))))
`(rpm-spec-macro-face ((,class (:foreground ,dotshare-yellow))))
`(rpm-spec-obsolete-tag-face ((,class (:foreground ,dotshare-red))))
`(rpm-spec-package-face ((,class (:foreground ,dotshare-red))))
`(rpm-spec-section-face ((,class (:foreground ,dotshare-yellow))))
`(rpm-spec-tag-face ((,class (:foreground ,dotshare-blue))))
`(rpm-spec-var-face ((,class (:foreground ,dotshare-red))))
;; show-paren
`(show-paren-mismatch ((,class (:foreground ,dotshare-red+1 :background ,dotshare-bg :weight bold))))
`(show-paren-match ((,class (:foreground ,dotshare-blue+1 :background ,dotshare-bg :weight bold))))
;; speedbar
`(speedbar-button-face ((,class (:foreground ,dotshare-green+1))))
`(speedbar-directory-face ((,class (:foreground ,dotshare-blue+1))))
`(speedbar-file-face ((,class (:foreground ,dotshare-fg))))
`(speedbar-highlight-face ((,class (:background ,dotshare-bg+2))))
`(speedbar-selected-face ((,class (:background ,dotshare-bg+1))))
`(speedbar-separator-face ((,class (:foreground ,dotshare-bg+1))))
`(speedbar-tag-face ((,class (:foreground ,dotshare-yellow))))
;; wl (wanderlust)
;; some faces end with -face, while other don't; confusing
`(wl-highlight-folder-few-face ((,class (:foreground ,dotshare-red-2))))
`(wl-highlight-folder-many-face ((,class (:foreground ,dotshare-red-1))))
`(wl-highlight-folder-path-face ((,class (:foreground ,dotshare-orange))))
`(wl-highlight-folder-unread-face ((,class (:foreground ,dotshare-blue))))
`(wl-highlight-folder-zero-face ((,class (:foreground ,dotshare-fg))))
`(wl-highlight-folder-unknown-face ((,class (:foreground ,dotshare-blue))))
`(wl-highlight-message-citation-header ((,class (:foreground ,dotshare-red-1))))
`(wl-highlight-message-cited-text-1 ((,class (:foreground ,dotshare-red))))
`(wl-highlight-message-cited-text-2 ((,class (:foreground ,dotshare-green+2))))
`(wl-highlight-message-cited-text-3 ((,class (:foreground ,dotshare-blue))))
`(wl-highlight-message-cited-text-4 ((,class (:foreground ,dotshare-blue+1))))
`(wl-highlight-message-header-contents-face ((,class (:foreground ,dotshare-green))))
`(wl-highlight-message-headers-face ((,class (:foreground ,dotshare-red+1))))
`(wl-highlight-message-important-header-contents ((,class (:foreground ,dotshare-green+2))))
`(wl-highlight-message-header-contents ((,class (:foreground ,dotshare-green+1))))
`(wl-highlight-message-important-header-contents2 ((,class (:foreground ,dotshare-green+2))))
`(wl-highlight-message-signature ((,class (:foreground ,dotshare-green))))
`(wl-highlight-message-unimportant-header-contents ((,class (:foreground ,dotshare-fg))))
`(wl-highlight-summary-answered-face ((,class (:foreground ,dotshare-blue))))
`(wl-highlight-summary-disposed-face ((,class (:foreground ,dotshare-fg
:slant italic))))
`(wl-highlight-summary-new-face ((,class (:foreground ,dotshare-blue))))
`(wl-highlight-summary-normal-face ((,class (:foreground ,dotshare-fg))))
`(wl-highlight-summary-thread-top-face ((,class (:foreground ,dotshare-yellow))))
`(wl-highlight-thread-indent-face ((,class (:foreground ,dotshare-magenta))))
`(wl-highlight-summary-refiled-face ((,class (:foreground ,dotshare-fg))))
`(wl-highlight-summary-displaying-face ((,class (:underline t :weight bold)))))
(custom-theme-set-variables
'dotshare
`(ansi-color-names-vector
[,dotshare-bg ,dotshare-red ,dotshare-green ,dotshare-yellow
,dotshare-blue ,dotshare-magenta ,dotshare-cyan ,dotshare-fg])
`(ansi-term-color-vector
;; black, red, green, yellow, blue, magenta, cyan, white
[unspecified ,dotshare-bg ,dotshare-red ,dotshare-green ,dotshare-yellow
,dotshare-blue ,dotshare-magenta ,dotshare-blue ,dotshare-fg])))
(provide-theme 'dotshare)
;; Local Variables:
;; no-byte-compile: t
;; End:
;;; dotshare-theme.el ends here.
|
x
Notes
Font: Neep Semicondensed
I took the liberty of including Nicolas G. Querol’s port to Emacs 24’s built-in theme style from github.
gtklocker said about 13 years ago
Oh, you switched to emacs? This sounds cool!
crshd said about 13 years ago
@gtklocker just broadening my horizon
edited about 13 years ago
d3x0r said about 13 years ago
now that their is a crshd::Emacs::dotshare color scheme for emacs, i might give it another go :)
asonunique said about 13 years ago
How do I make every file I open have these colors?
crshd said about 13 years ago
@asonunique
1) Install color-theme
2) Add to Emacs config (after the color-theme stuff):
(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
(color-theme-dotshare)
asonunique said about 13 years ago
delete
edited about 13 years ago