adwaita-theme.el 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ;;; adwaita-theme.el --- Tango-based custom theme for faces
  2. ;; Copyright (C) 2010-2012 Free Software Foundation, Inc.
  3. ;; Author: William Stevenson <yhvh2000@gmail.com>
  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 adwaita
  17. "Face colors similar to the default theme of Gnome 3 (Adwaita).
  18. The colors are chosen to match Adwaita window decorations and the
  19. default look of the Gnome 3 desktop.")
  20. (let ((class '((class color) (min-colors 89))))
  21. (custom-theme-set-faces
  22. 'adwaita
  23. `(cursor ((,class (:background "#00BBFF"))))
  24. `(border-color ((,class (:background "#EDEDED"))))
  25. `(default ((,class (:background "#EDEDED" :foreground "#2E3436"))))
  26. `(fringe ((,class (:background "#E6E6E6"))))
  27. `(mode-line ((,class (:box (:line-width -1 :style released-button)
  28. :background "white" :foreground "#2E3436"))))
  29. `(mode-line-inactive ((,class (:foreground "#C6C6C6" :background ,"white"))))
  30. `(header-line ((,class (:foreground "#CCCCCC" :background "black"))))
  31. `(minibuffer-prompt ((,class (:foreground "#0084C8" :bold t))))
  32. `(region ((,class (:foreground unspecified :background "#C2D5E9"))))
  33. `(dired-header ((,class (:bold t :foreground "#0084C8"))))
  34. `(widget-button ((,class (:bold t :foreground "#0084C8"))))
  35. `(success ((,class (:bold t :foreground "#4E9A06"))))
  36. `(warning ((,class (:foreground "#CE5C00"))))
  37. `(error ((,class (:foreground "#B50000"))))
  38. `(font-lock-builtin-face ((,class (:foreground "#A020F0"))))
  39. `(font-lock-constant-face ((,class (:foreground "#F5666D"))))
  40. `(font-lock-comment-face ((,class (:foreground "#204A87"))))
  41. `(font-lock-function-name-face ((,class (:foreground "#00578E" :bold t))))
  42. `(font-lock-keyword-face ((,class (:bold t :foreground "#A52A2A"))))
  43. `(font-lock-string-face ((,class (:foreground "#4E9A06"))))
  44. `(font-lock-type-face ((,class (:foreground "#2F8B58" :bold t))))
  45. `(font-lock-variable-name-face ((,class (:foreground "#0084C8" :bold t))))
  46. `(font-lock-warning-face ((,class (:foreground "#F5666D" :bold t))))
  47. `(link ((,class (:underline t :foreground "#0066CC"))))
  48. `(link-visited ((,class (:underline t :foreground "#6799CC"))))
  49. `(highlight ((,class (:foreground "white" :background "#4A90D9"))))
  50. `(isearch ((,class (:foreground "white" :background "#77A4DD"))))
  51. `(erc-action-face ((,class (:foreground "#F5666D"))))
  52. `(erc-button ((,class (:foreground "#A8799C"))))
  53. `(erc-current-nick-face ((,class (:bold t :foreground "#FF7092"))))
  54. `(erc-error-face ((,class (:foreground "#F5666D" :bold t))))
  55. `(erc-input-face ((,class (:foreground "black"))))
  56. `(erc-keyword-face ((,class (:foreground "#F5666D"))))
  57. `(erc-my-nick-face ((,class (:bold t :foreground "#FF8CA7"))))
  58. `(erc-nick-default-face ((,class (:bold t :foreground "#0084C8"))))
  59. `(erc-notice-face ((,class (:foreground "#0084C8"))))
  60. `(erc-prompt-face ((,class (:foreground "black"))))
  61. `(erc-timestamp-face ((,class (:foreground ,"#4CB64A"))))
  62. `(magit-log-sha1 ((,class (:foreground "#FF7092"))))
  63. `(magit-log-head-label-local ((,class (:foreground "#4F78B5"))))
  64. `(magit-log-head-label-remote ((,class (:foreground ,"#4CB64A"))))
  65. `(magit-branch ((,class (:bold t :foreground "#0084C8"))))
  66. `(magit-section-title ((,class (:bold t :foreground "#00578E"))))
  67. `(magit-item-highlight ((,class (:background "#FEFFBF"))))
  68. `(magit-diff-add ((,class (:bold t :foreground "#4CB64A"))))
  69. `(magit-diff-del ((,class (:bold nil :foreground "#F5666D"))))
  70. `(gnus-group-mail-1-empty ((,class (:foreground "#00578E"))))
  71. `(gnus-group-mail-1 ((,class (:bold t :foreground "#4F78B5"))))
  72. `(gnus-group-mail-3-empty ((,class (:foreground "#00578E"))))
  73. `(gnus-group-mail-3 ((,class (:bold t :foreground "#9CBB43"))))
  74. `(gnus-group-news-3-empty ((,class (:foreground "#00578E"))))
  75. `(gnus-group-news-3 ((,class (:bold t :foreground "#9CBB43"))))
  76. `(gnus-header-name ((,class (:bold t :foreground "#0084C8"))))
  77. `(gnus-header-subject ((,class (:bold t :foreground "#FF7092"))))
  78. `(gnus-header-content ((,class (:foreground "#FF7092"))))
  79. `(gnus-button ((,class (:bold t :foreground "#00578E"))))
  80. `(gnus-cite-1 ((,class (:foreground "#00578E"))))
  81. `(gnus-cite-2 ((,class (:foreground "#0084C8"))))
  82. `(diff-added ((,class (:bold t :foreground "#4E9A06"))))
  83. `(diff-removed ((,class (:bold t :foreground "#F5666D"))))))
  84. ;; Local Variables:
  85. ;; no-byte-compile: t
  86. ;; End:
  87. ;;; adwaita-theme.el ends here