-
Notifications
You must be signed in to change notification settings - Fork 1
/
hannover-midnight-theme.el
53 lines (40 loc) · 1.7 KB
/
hannover-midnight-theme.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
;;; hannover-midnight-theme.el --- Dark and light themes with moderate contrast
;; Copyright (C) 2021-2022, Florian Rommel
;; Author: Florian Rommel <[email protected]>
;; Maintainer: Florian Rommel <[email protected]>
;; Url: https://github.com/florommel/hannover-theme ;; TODO
;; Created: 2021-11-28
;; Version: 0.1
;; Package-Requires: ((emacs "26.1"))
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; A dark theme with moderate contrast.
;;; Code:
(deftheme hannover-midnight
"A midnight theme with moderate contrast."
:family 'hannover
:kind 'color-scheme
:background-mode 'dark)
(require 'hannover-theme)
(defvar hannover-midnight-colors
(hannover-default-colors
(fg '(nil . "#cccccc"))
(bg '(nil . "#000000"))
(bg-mode-line '(nil . "#27304f"))
(bg-highlight (mix bg fg 0.25))
(bg-mode-line-inactive (mix bg-highlight bg 0.15))
(bg-header-line (mix bg-mode-line-inactive bg 0.35))))
(apply 'custom-theme-set-faces
'hannover-midnight
(hannover-theme-faces hannover-midnight-colors 'dark))
(provide-theme 'hannover-midnight)
;;; hannover-midnight-theme.el ends here