You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
3.5 KiB

  1. ;; This program is free software; you can redistribute it and/or modify
  2. ;; it under the terms of the GNU General Public License as published by
  3. ;; the Free Software Foundation, either version 3 of the License, or
  4. ;; (at your option) any later version.
  5. ;; This program is distributed in the hope that it will be useful,
  6. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. ;; GNU General Public License for more details.
  9. ;; You should have received a copy of the GNU General Public License
  10. ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
  11. ;; *****************************************************************************************
  12. ;;
  13. ;; Granger: Color theme based on light table
  14. ;;
  15. ;; *****************************************************************************************
  16. (unless (>= emacs-major-version 24)
  17. (error "requires Emacs 24 or later."))
  18. (deftheme granger "Light table theme for Emacs")
  19. (custom-theme-set-variables
  20. 'granger
  21. '(linum-format " %7i "))
  22. (let ((background "#111013")
  23. (selection "#11253A"))
  24. (custom-theme-set-faces
  25. 'granger
  26. ;; Default colors
  27. ;; *****************************************************************************************
  28. `(default ((t (:foreground "#ABAEB3" :background ,background))))
  29. `(region ((t (:background ,selection ))))
  30. `(cursor ((t (:background "#ffffff" ))))
  31. `(fringe ((t (:background "#2f2f2f" :foreground "#ffffff"))))
  32. `(linum ((t (:background ,background :foreground "#2f2f2f"))))
  33. `(minibuffer-prompt ((t (:foreground "#9489C4" :weight bold))))
  34. `(minibuffer-message ((t (:foreground "#ffffff" ))))
  35. `(mode-line ((t (:foreground "#FFFFFF" :background "#484879" ))))
  36. `(mode-line-inactive ((t (:foreground "#777777" :background "#303030" ))))
  37. ;; Font lock faces
  38. ;; *****************************************************************************************
  39. `(font-lock-keyword-face ((t (:foreground "#3ca380"))))
  40. `(font-lock-type-face ((t (:foreground "#484879"))))
  41. `(font-lock-constant-face ((t (:foreground "#3F5C70"))))
  42. `(font-lock-variable-name-face ((t (:foreground "#547B96"))))
  43. `(font-lock-builtin-face ((t (:foreground "#6767AE"))))
  44. `(font-lock-string-face ((t (:foreground "#699ABC"))))
  45. `(font-lock-comment-face ((t (:foreground "#496b83"))))
  46. `(font-lock-comment-delimiter-face ((t (:foreground "#666688"))))
  47. `(font-lock-function-name-face ((t (:foreground "#3ca380"))))
  48. `(font-lock-doc-string-face ((t (:foreground "#496B83")))))
  49. ;; Helm
  50. ;; *****************************************************************************************
  51. `(helm-selection ((t (:background selection :underline nil))))
  52. `(helm-selection-line ((t (:background selection))))
  53. )
  54. ;;;###autoload
  55. (when (and (boundp 'custom-theme-load-path) load-file-name)
  56. (add-to-list 'custom-theme-load-path
  57. (file-name-as-directory (file-name-directory load-file-name))))
  58. ;; *****************************************************************************************
  59. (provide-theme 'granger)
  60. ;; Local Variables:
  61. ;; no-byte-compile: t
  62. ;; End: