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.

94 lines
3.7 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. ;; Brin :- An Emacs port of the Space Grey ST2 theme
  14. ;;
  15. ;; *****************************************************************************************
  16. (unless (>= emacs-major-version 24)
  17. (error "requires Emacs 24 or later."))
  18. (deftheme brin "Space Grey theme for Emacs")
  19. (custom-theme-set-variables
  20. 'brin
  21. '(linum-format " %5i "))
  22. (let ((background "#2b303b")
  23. (gutters "#343d46")
  24. (gutter-fg "#65737e")
  25. (gutters-active "#4f5b66")
  26. (builtin "#d08770")
  27. (foreground "#c0c5ce")
  28. (invisibles "#65737e")
  29. (lineHighlight "#343d46")
  30. (selection "#4f5b66")
  31. (text "#c0c5ce")
  32. (comments "#65737e")
  33. (punctuation "#c0c5ce")
  34. (delimiters "#c0c5ce")
  35. (operators "#c0c5ce")
  36. (keywords "#b48ead")
  37. (variables "#bf616a")
  38. (functions "#8fa1b3")
  39. (methods "#8fa1b3")
  40. (strings "#a3be8c")
  41. (constants "#d08770")
  42. (white "#ffffff"))
  43. (custom-theme-set-faces
  44. 'brin
  45. ;; Default colors
  46. ;; *****************************************************************************************
  47. `(default ((t (:foreground ,text :background ,background))))
  48. `(region ((t (:background ,selection ))))
  49. `(cursor ((t (:background ,white ))))
  50. `(fringe ((t (:background ,background :foreground ,white))))
  51. `(linum ((t (:background ,background :foreground ,gutter-fg))))
  52. `(mode-line ((t (:foreground ,white :background ,gutters-active ))))
  53. `(mode-line-inactive ((t (:foreground ,gutter-fg :background ,gutters ))))
  54. ;; Font lock faces
  55. ;; *****************************************************************************************
  56. `(font-lock-keyword-face ((t (:foreground ,keywords))))
  57. `(font-lock-type-face ((t (:foreground ,punctuation))))
  58. `(font-lock-constant-face ((t (:foreground ,constants))))
  59. `(font-lock-variable-name-face ((t (:foreground ,variables))))
  60. `(font-lock-builtin-face ((t (:foreground ,builtin))))
  61. `(font-lock-string-face ((t (:foreground ,strings))))
  62. `(font-lock-comment-face ((t (:foreground ,comments))))
  63. `(font-lock-comment-delimiter-face ((t (:foreground ,delimiters))))
  64. `(font-lock-function-name-face ((t (:foreground ,functions))))
  65. `(font-lock-doc-string-face ((t (:foreground ,strings)))))
  66. ;; *****************************************************************************************
  67. )
  68. ;;;###autoload
  69. (when (and (boundp 'custom-theme-load-path) load-file-name)
  70. (add-to-list 'custom-theme-load-path
  71. (file-name-as-directory (file-name-directory load-file-name))))
  72. ;; *****************************************************************************************
  73. (provide-theme 'brin)
  74. ;; Local Variables:
  75. ;; no-byte-compile: t
  76. ;; End: