blob: 9e07f1a6b2f57bf0cc031af57b4b0f45fdfeef60 (
plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
;;; jao-dark-theme.el --- a dark theme with blue-green accent -*- lexical-binding: t; -*-
;; Author: jao <mail@jao.io>
;; Keywords: themes
;; 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/>.
(defvar jao-theme-dark-bold
(if (> emacs-major-version 28) 'medium 'semibold))
(jao-define-custom-theme jao-dark
(:names (bg "#282b33" nil nil)
(bg-alt "#1f2024" nil nil)
(fg "#c6c6c6")
(fg-0.5 "#a6a6a6")
(fg-1 "#868686")
(fg-2 "#666666")
(blue "#819cd6")
(blueish "#6e7899")
(dark-blue "#616c96")
(green "#5b94ab")
(yellow "antiquewhite3")
(dark-yellow "antiquewhite4")
(orange "#a6c1e0")
(orange2 "#dd8844")
(red "#e1c1ee" "#ff6655" "red")
(comments "azure4" "lightblue4")
(constants "honeydew4")
(dimm-line-fg "#3f3f3f")
(dimm-line "#7f7f7f")
(error "#e1c1ee")
(functions "#7ebebd")
(functions2 "#44b9b1")
(keywords "cadetblue3")
(keywords2 "#51afef")
(modeline-bg "#22242b")
(modeline-bg-inactive "#24262d")
;;(region "#41454b")
(region "#31353b")
(strings "honeydew3")
(success "#5b94ab")
(warning "#cfcf9c")
(warning2 "#ECBE7B"))
(:face-family "Fira Code")
(:face-size 9)
(:bold-weight jao-theme-dark-bold)
(:palette (fg "#c6c6c6")
(bg "#1f2024")
(box "grey25")
(button (p f12) bx nul)
(hilite (c nil region) ex)
(link (ul dark-blue)) ;; (ul dimm-line)
(visited-link (ul dark-blue))
(tab-sel (c 252 232) nbf)
(tab-unsel (c 245 232))
(comment (c comments))
(keyword (c keywords))
(function (c functions))
(type (c constants))
(variable-name (c nil))
(constant (c constants))
(string (c strings) it)
(error (c warning2))
(warning (c warning))
(success (c green))
(dimm (c dimm-line))
(gnus-mail (c nil))
(gnus-news (c nil))
(outline-1 (c strings) nbf)
(outline-2 (c functions) nbf)
(outline-3 (c blue) nbf)
(outline-4 (c functions2) nbf)
(outline-5 (c nil))
(f00 (c "lightskyblue3"))
(f01 (c "lightskyblue4"))
(f02 (c "lightblue3"))
(f10 (c "lightblue4"))
(f11 (c "lightblue2"))
(f12 (c "azure3")))
(:x-faces (clojure-keyword-face (c "powder blue"))
(corfu-background (c "white" "grey20"))
(corfu-bar (c nil "grey20")) ;; moving part of the bar
(corfu-border (~ corfu-background)) ;; background of the bar
(corfu-current (c "white" "grey50") nbf nit nul)
(corfu-echo (~ default))
(cursor (c warning2 warning2))
(diff-hl-change (c green))
(diff-hl-delete (c orange2) bf)
(diff-hl-insert (c dark-blue))
(fill-column-indicator (c "black") :inherit nil)
(font-lock-doc-face (~ font-lock-comment-face) it)
(fringe (p dimm))
(gnus-button (c "lightyellow3"))
(gnus-cite-1 (c fg-0.5))
(gnus-cite-2 (c fg-1))
(gnus-cite-3 (c fg-2))
(gnus-cite-4 (c fg-2))
;; (gnus-group-mail-3 (c yellow))
;; (gnus-group-mail-3-empty (c fg-0.5))
;; (gnus-group-news-3 (~ gnus-group-mail-3))
;; (gnus-group-news-3-empty (~ gnus-group-mail-3-empty))
;; (gnus-group-mail-low (p f10))
;; (gnus-group-mail-low-empty (~ gnus-group-mail-3-empty))
(gnus-summary-cancelled (c "dark slate gray" nil) st)
(gnus-summary-selected (p warning) nul nbf)
(header-line (p hilite))
(magit-diff-context-highlight (p hilite) ex)
(mode-line (c "grey60" modeline-bg)
:box (:line-width 1 :color "#282b33"))
(mode-line-inactive (c "grey35" modeline-bg-inactive)
:box (:line-width 1 :color "#282b33"))
(mode-line-buffer-id (c yellow))
(org-hide (c 0 nil))
(org-code (c yellow))
(scroll-bar (c bg))
(show-paren-match (c "darkseagreen1" "#5f5f5f"))
(shr-link (c blue) (ul dark-blue))
(vertical-border (c "black") :inherit nil)
(vertico-group-separator (p dimm) :strike-through "#6f6f6f")))
;; (enable-theme 'jao-dark)
;; (jao-mode-line-adjust-faces)
(provide 'jao-dark-theme)
|