misterioso-theme.el 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. ;;; misterioso-theme.el --- Custom face theme for Emacs
  2. ;; Copyright (C) 2011-2012 Free Software Foundation, Inc.
  3. ;; Author: Sebastian Hermida
  4. ;; This file is part of GNU Emacs.
  5. ;; GNU Emacs is free software: you can redistribute it and/or modify
  6. ;; it under the terms of the GNU General Public License as published by
  7. ;; the Free Software Foundation, either version 3 of the License, or
  8. ;; (at your option) any later version.
  9. ;; GNU Emacs is distributed in the hope that it will be useful,
  10. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;; GNU General Public License for more details.
  13. ;; You should have received a copy of the GNU General Public License
  14. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  15. ;;; Code:
  16. (deftheme misterioso
  17. "Predominantly blue/cyan faces on a dark cyan background.")
  18. (let ((class '((class color) (min-colors 89))))
  19. (custom-theme-set-faces
  20. 'misterioso
  21. ;; Ensure sufficient contrast on 256-color xterms.
  22. `(default ((((class color) (min-colors 4096))
  23. (:background "#2d3743" :foreground "#e1e1e0"))
  24. (,class
  25. (:background "#3a3a3a" :foreground "#e1e1e0"))))
  26. `(cursor ((,class (:background "#415160"))))
  27. ;; Highlighting faces
  28. `(fringe ((,class (:background "#2e3748"))))
  29. `(highlight ((,class (:background "#338f86" :foreground "#e1e1e0"))))
  30. `(region ((,class (:background "#2d4948" :foreground "#e1e1e0"))))
  31. `(isearch ((,class (:background "#fcffad" :foreground "#000000"))))
  32. `(lazy-highlight ((,class (:background "#338f86"))))
  33. `(trailing-whitespace ((,class (:background "#ff4242"))))
  34. ;; Mode line faces
  35. `(mode-line ((,class (:background "#212931" :foreground "#eeeeec"))))
  36. `(mode-line-inactive
  37. ((,class (:background "#878787" :foreground "#eeeeec"))))
  38. `(header-line ((,class (:background "#e5e5e5" :foreground "#333333"))))
  39. ;; Escape and prompt faces
  40. `(minibuffer-prompt ((,class (:foreground "#729fcf" :weight bold))))
  41. ;; Font lock faces
  42. `(font-lock-builtin-face ((,class (:foreground "#23d7d7"))))
  43. `(font-lock-comment-face ((,class (:foreground "#74af68"))))
  44. `(font-lock-constant-face ((,class (:foreground "#008b8b"))))
  45. `(font-lock-function-name-face
  46. ((,class (:foreground "#00ede1" :weight bold))))
  47. `(font-lock-keyword-face ((,class (:foreground "#ffad29" :weight bold))))
  48. `(font-lock-string-face ((,class (:foreground "#e67128"))))
  49. `(font-lock-type-face ((,class (:foreground "#34cae2"))))
  50. `(font-lock-variable-name-face ((,class (:foreground "#dbdb95"))))
  51. `(font-lock-warning-face ((,class (:foreground "#ff4242" :weight bold))))
  52. ;; Buttons and links
  53. `(button ((,class (:underline t))))
  54. `(link ((,class (:foreground "#59e9ff" :underline t))))
  55. `(link-visited ((,class (:foreground "#ed74cd" :underline t))))
  56. ;; Gnus faces
  57. `(gnus-group-news-1 ((,class (:foreground "#ff4242" :weight bold))))
  58. `(gnus-group-news-1-low ((,class (:foreground "#ff4242"))))
  59. `(gnus-group-news-2 ((,class (:foreground "#00ede1" :weight bold))))
  60. `(gnus-group-news-2-low ((,class (:foreground "#00ede1"))))
  61. `(gnus-group-news-3 ((,class (:foreground "#23d7d7" :weight bold))))
  62. `(gnus-group-news-3-low ((,class (:foreground "#23d7d7"))))
  63. `(gnus-group-news-4 ((,class (:foreground "#74af68" :weight bold))))
  64. `(gnus-group-news-4-low ((,class (:foreground "#74af68"))))
  65. `(gnus-group-news-5 ((,class (:foreground "#dbdb95" :weight bold))))
  66. `(gnus-group-news-5-low ((,class (:foreground "#dbdb95"))))
  67. `(gnus-group-news-low ((,class (:foreground "#008b8b"))))
  68. `(gnus-group-mail-1 ((,class (:foreground "#ff4242" :weight bold))))
  69. `(gnus-group-mail-1-low ((,class (:foreground "#ff4242"))))
  70. `(gnus-group-mail-2 ((,class (:foreground "#00ede1" :weight bold))))
  71. `(gnus-group-mail-2-low ((,class (:foreground "#00ede1"))))
  72. `(gnus-group-mail-3 ((,class (:foreground "#23d7d7" :weight bold))))
  73. `(gnus-group-mail-3-low ((,class (:foreground "#23d7d7"))))
  74. `(gnus-group-mail-low ((,class (:foreground "#008b8b"))))
  75. `(gnus-header-content ((,class (:weight normal :foreground "#ffad29"))))
  76. `(gnus-header-from ((,class (:foreground "#e67128" :weight bold))))
  77. `(gnus-header-subject ((,class (:foreground "#dbdb95"))))
  78. `(gnus-header-name ((,class (:foreground "#00ede1"))))
  79. `(gnus-header-newsgroups ((,class (:foreground "#e67128"))))
  80. ;; Message faces
  81. `(message-header-name ((,class (:foreground "#ffad29" :weight bold))))
  82. `(message-header-cc ((,class (:foreground "#e67128"))))
  83. `(message-header-other ((,class (:foreground "#e67128"))))
  84. `(message-header-subject ((,class (:foreground "#dbdb95"))))
  85. `(message-header-to ((,class (:foreground "#00ede1"))))
  86. `(message-cited-text ((,class (:foreground "#74af68"))))
  87. `(message-separator ((,class (:foreground "#23d7d7"))))))
  88. (custom-theme-set-variables
  89. 'misterioso
  90. '(ansi-color-names-vector ["#2d3743" "#ff4242" "#74af68" "#dbdb95"
  91. "#34cae2" "#008b8b" "#00ede1" "#e1e1e0"]))
  92. (provide-theme 'misterioso)
  93. ;; Local Variables:
  94. ;; no-byte-compile: t
  95. ;; End:
  96. ;;; misterioso-theme.el ends here