├── README.md
├── hemisu-dark-theme.el
├── hemisu-light-theme.el
├── hemisu-theme.el
└── screenshot.png
/README.md:
--------------------------------------------------------------------------------
1 | Hemisu Color Scheme for Emacs
2 | ===========================
3 |
4 | 
5 |
--------------------------------------------------------------------------------
/hemisu-dark-theme.el:
--------------------------------------------------------------------------------
1 | ;;; hemisu-theme.el --- Hemisu for Emacs.
2 |
3 | ;; based on Hemisu vim theme
4 | ;; of Noah Frederick
5 |
6 | ;; Copyright (C) 2013 Andrzej Sliwa
7 |
8 | ;; Author: Andrzej Sliwa
9 | ;; URL: http://github/anrzejsliwa/django-theme
10 | ;; Version: 1.0.0
11 | ;;
12 | ;; This file is free software: you can redistribute it and/or modify
13 | ;; it under the terms of the GNU General Public License as published by
14 | ;; the Free Software Foundation, either version 3 of the License, or
15 | ;; (at your option) any later version.
16 |
17 | ;; This file is distributed in the hope that it will be useful,
18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 | ;; GNU General Public License for more details.
21 |
22 | ;; You should have received a copy of the GNU General Public License
23 | ;; along with GNU Emacs. If not, see .
24 |
25 | ;;; Commentary:
26 | ;;
27 | ;; A port of Hemisu theme to Emacs. (https://github.com/noahfrederick/Hemisu)
28 | ;;
29 | ;;; Installation:
30 | ;;
31 | ;; M-x package-install -> hemisu-theme
32 | ;;
33 | ;;
34 | ;; (load-theme 'hemisu-dark t)
35 | ;;
36 | ;; or
37 | ;;
38 | ;; (load-theme 'hemisu-light t)
39 | ;;
40 | ;; Don't forget that the theme requires Emacs 24.
41 | ;;
42 | ;;; Bugs
43 | ;;
44 | ;; None that I'm aware of.
45 | ;;
46 | ;;; Credits
47 | ;;
48 | ;; Noah Frederick created the original theme for vim on such this port
49 | ;; is based.
50 | ;;
51 | ;;; Code:
52 |
53 | (require 'hemisu-theme)
54 |
55 | (deftheme hemisu-dark "The dark variant of the Hemisu colour theme")
56 | (create-hemisu-theme 'dark 'hemisu-dark)
57 |
58 | ;; Local Variables:
59 | ;; no-byte-compile: t
60 | ;; End:
61 |
62 | (provide-theme 'hemisu-dark)
63 | ;;; hemisu-dark-theme.el ends here
64 |
--------------------------------------------------------------------------------
/hemisu-light-theme.el:
--------------------------------------------------------------------------------
1 | ;;; hemisu-theme.el --- Hemisu for Emacs.
2 |
3 | ;; based on Hemisu vim theme
4 | ;; of Noah Frederick
5 |
6 | ;; Copyright (C) 2013 Andrzej Sliwa
7 |
8 | ;; Author: Andrzej Sliwa
9 | ;; URL: http://github/anrzejsliwa/django-theme
10 | ;; Version: 1.0.0
11 | ;;
12 | ;; This file is free software: you can redistribute it and/or modify
13 | ;; it under the terms of the GNU General Public License as published by
14 | ;; the Free Software Foundation, either version 3 of the License, or
15 | ;; (at your option) any later version.
16 |
17 | ;; This file is distributed in the hope that it will be useful,
18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 | ;; GNU General Public License for more details.
21 |
22 | ;; You should have received a copy of the GNU General Public License
23 | ;; along with GNU Emacs. If not, see .
24 |
25 | ;;; Commentary:
26 | ;;
27 | ;; A port of Hemisu theme to Emacs. (https://github.com/noahfrederick/Hemisu)
28 | ;;
29 | ;;; Installation:
30 | ;;
31 | ;; M-x package-install -> hemisu-theme
32 | ;;
33 | ;;
34 | ;; (load-theme 'hemisu-dark t)
35 | ;;
36 | ;; or
37 | ;;
38 | ;; (load-theme 'hemisu-light t)
39 | ;;
40 | ;; Don't forget that the theme requires Emacs 24.
41 | ;;
42 | ;;; Bugs
43 | ;;
44 | ;; None that I'm aware of.
45 | ;;
46 | ;;; Credits
47 | ;;
48 | ;; Noah Frederick created the original theme for vim on such this port
49 | ;; is based.
50 | ;;
51 | ;;; Code:
52 |
53 | (require 'hemisu-theme)
54 |
55 | (deftheme hemisu-light "The light variant of the Hemisu colour theme")
56 | (create-hemisu-theme 'light 'hemisu-light)
57 |
58 | ;; Local Variables:
59 | ;; no-byte-compile: t
60 | ;; End:
61 |
62 | (provide-theme 'hemisu-light)
63 | ;;; hemisu-dark-light.el ends here
64 |
--------------------------------------------------------------------------------
/hemisu-theme.el:
--------------------------------------------------------------------------------
1 | ;;; hemisu-theme.el --- Hemisu for Emacs.
2 |
3 | ;; based on Hemisu vim theme
4 | ;; of Noah Frederick
5 |
6 | ;; Copyright (C) 2013 Andrzej Sliwa
7 |
8 | ;; Author: Andrzej Sliwa
9 | ;; URL: http://github/anrzejsliwa/django-theme
10 | ;; Version: 1.0.0
11 | ;;
12 | ;; This file is free software: you can redistribute it and/or modify
13 | ;; it under the terms of the GNU General Public License as published by
14 | ;; the Free Software Foundation, either version 3 of the License, or
15 | ;; (at your option) any later version.
16 |
17 | ;; This file is distributed in the hope that it will be useful,
18 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 | ;; GNU General Public License for more details.
21 |
22 | ;; You should have received a copy of the GNU General Public License
23 | ;; along with GNU Emacs. If not, see .
24 |
25 | ;;; Commentary:
26 | ;;
27 | ;; A port of Hemisu theme to Emacs. (https://github.com/noahfrederick/Hemisu)
28 | ;;
29 | ;;; Installation:
30 | ;;
31 | ;; M-x package-install -> hemisu-theme
32 | ;;
33 | ;;
34 | ;; (load-theme 'hemisu-dark t)
35 | ;;
36 | ;; or
37 | ;;
38 | ;; (load-theme 'hemisu-light t)
39 | ;;
40 | ;; Don't forget that the theme requires Emacs 24.
41 | ;;
42 | ;;; Bugs
43 | ;;
44 | ;; None that I'm aware of.
45 | ;;
46 | ;;; Credits
47 | ;;
48 | ;; Noah Frederick created the original theme for vim on such this port
49 | ;; is based.
50 | ;;
51 | ;;; Code:
52 |
53 | (defun create-hemisu-theme (variant theme-name &optional childtheme)
54 | (let* (
55 | (black "#000000")
56 | (white "#FFFFFF")
57 | (almost-white "#EEEEEE")
58 | (almost-black "#111111")
59 | (middle-dark-grey "#777777")
60 | (middle-light-grey "#999999")
61 | (light-grey "#BBBBBB")
62 | (dark-grey "#444444")
63 |
64 | (red "#D65E76")
65 | (middle-dark-pink "#FF0055")
66 | (middle-light-pink "#D65E76")
67 | (light-pink "#FFAFAF")
68 |
69 | (dark-blue "#005F87")
70 | (middle-dark-blue "#538192")
71 | (middle-light-blue "#9FD3E6")
72 | (light-blue "#CBE4EE")
73 |
74 | (dark-green "#5F5F00")
75 | (middle-dark-green "#739200")
76 | (middle-light-green "#B1D631")
77 | (light-green "#BBFFAA")
78 |
79 | (dark-tan "#503D15")
80 | (light-tan "#ECE1C8")
81 |
82 | (bg (if (eq variant 'light) white black))
83 | (norm (if (eq variant 'light) almost-black almost-white))
84 | (comment (if (eq variant 'light) middle-light-grey middle-dark-grey))
85 | (dimmed (if (eq variant 'light) middle-dark-grey middle-light-grey))
86 | (subtle (if (eq variant 'light) light-grey dark-grey))
87 | (faint (if (eq variant 'light) almost-white almost-black))
88 | (accent1 (if (eq variant 'light) middle-dark-blue middle-light-blue))
89 | (accent2 (if (eq variant 'light) middle-dark-green middle-light-green))
90 | (accent3 (if (eq variant 'light) middle-dark-pink light-green))
91 | (accent4 (if (eq variant 'light) dark-tan light-tan))
92 | (norm-red (if (eq variant 'light) middle-dark-pink middle-light-pink))
93 | (norm-green (if (eq variant 'light) middle-dark-green middle-light-green))
94 | (norm-blue (if (eq variant 'light) middle-dark-blue middle-light-blue))
95 | (faint-red (if (eq variant 'light) red red))
96 | (faint-green (if (eq variant 'light) light-green dark-green))
97 | (faint-blue (if (eq variant 'light) light-blue dark-blue)))
98 |
99 | (custom-theme-set-faces
100 | theme-name
101 | '(button ((t (:underline t))))
102 |
103 | `(cursor ((t (:background ,accent3 :foreground ,bg))))
104 | `(default ((t (:background ,bg :foreground ,norm))))
105 | `(region ((t (:background ,faint-blue))))
106 | `(font-lock-constant-face ((t (:foreground ,accent1))))
107 | `(font-lock-comment-face ((t (:foreground ,comment))))
108 | `(font-lock-string-face ((t (:foreground ,accent2))))
109 | `(font-lock-keyword-face ((t (:foreground ,accent3))))
110 | `(font-lock-type-face ((t (:foreground ,accent1))))
111 | `(font-lock-builtin-face ((t (:foreground ,accent3))))
112 | `(font-lock-function-name-face ((t (:foreground ,norm))))
113 | `(font-lock-variable-name-face ((t (:foreground ,accent2))))
114 | `(font-lock-preprocessor-face ((t (:foreground ,accent2))))
115 |
116 | `(vertical-border ((nil (:foreground ,subtle))))
117 | `(header-line ((t (:background "#000000"))))
118 | `(mode-line ((t (:background ,accent2 :foreground ,bg :box nil))))
119 | `(mode-line-inactive ((t (:background ,subtle :foreground ,bg :box nil)))))
120 |
121 |
122 | (custom-theme-set-variables
123 | theme-name
124 | ;; fill-column-indicator
125 | `(fci-rule-color ,subtle))
126 |
127 | ;; call chained theme function
128 | (when childtheme (funcall childtheme))))
129 |
130 | ;;;###autoload
131 | (when (and (boundp 'custom-theme-load-path) load-file-name)
132 | (add-to-list 'custom-theme-load-path
133 | (file-name-as-directory (file-name-directory load-file-name))))
134 |
135 |
136 | ;; Local Variables:
137 | ;; no-byte-compile: t
138 | ;; End:
139 | (provide 'hemisu-theme)
140 | ;;; hemisu-theme.el ends here
141 |
--------------------------------------------------------------------------------
/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andrzejsliwa/hemisu-theme/5c206561aa2c844ecdf3e3b672c3235e559ddd7f/screenshot.png
--------------------------------------------------------------------------------