forked from sjl/badwolf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
k9-theme.el
475 lines (413 loc) · 21 KB
/
k9-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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
;;; k9 is a theme based on the following efforts
;;; The licence is as-is. (GPLv3)
;;; badwolf-theme.el --- Bad Wolf color theme
;; Copyright (C) 2015 Bartłomiej Kruczyk
;; Author: bkruczyk <[email protected]>
;; Version: 1.2
;; Keywords: themes
;; Package-Requires: ((emacs "24"))
;; URL: https://github.com/bkruczyk/badwolf-emacs
;; 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 <http://www.gnu.org/licenses/>.
;;; Commentary:
;; An Emacs port of Steve's Losh theme for Vim:
;; https://github.com/sjl/badwolf
;;; Credits:
;; Steve Losh is creator of the original theme for Vim
;; (https://github.com/sjl/badwolf), on which this Emacs port was
;; based.
;; locojay is creator of the initial Emacs port
;; (https://github.com/locojay/badwolf).
;;; Code:
(deftheme k9 "Good Wolf colour theme")
(defgroup k9 nil
"K9 theme customization variables."
:group 'faces)
(defcustom k9-diff-hl-inverse nil
"Inverse diff-hl faces."
:type 'boolean
:group 'k9)
(defcustom k9-keywords-nobold nil
"Do not use bold for keywords."
:type 'boolean
:group 'k9)
(defcustom k9-is-dark-mode nil
"Switch to dark mode"
:type 'boolean
:group 'k9)
(defcustom k9-disable-highlight-indent nil
"Allow disabling highlight indent override configuration"
:type 'boolean
:group 'k9)
(defun k9-set-colour-scheme()
(custom-theme-set-variables
'k9
`(notmuch-search-line-faces
'(("unread" :foreground ,lime)
("flagged" :foreground ,tardis)
("deleted" :foreground ,dark-red :bold t))))
(custom-set-faces
;; '(term-color-black ((t (:foreground "#3F3F3F" :background "#2B2B2B"))))
;; '(term-color-red ((t (:foreground "#AC7373" :background "#8C5353"))))
;; '(term-color-green ((t (:foreground "#7F9F7F" :background "#9FC59F"))))
;; '(term-color-yellow ((t (:foreground "#DFAF8F" :background "#9FC59F"))))
`(ansi-color-blue ((t (:foreground ,tardis :background ,bg))))
`(ansi-color-bright-blue ((t (:foreground ,tardis :background ,bg))))
;; '(term-color-magenta ((t (:foreground "#DC8CC3" :background "#CC9393"))))
;; '(term-color-cyan ((t (:foreground "#93E0E3" :background "#8CD0D3"))))
;; '(term-color-white ((t (:foreground "#DCDCCC" :background "#656555"))))
;; '(term-default-fg-color ((t (:inherit term-color-white))))
;; '(term-default-bg-color ((t (:inherit term-color-black))))
`(flymake-errline ((t (:foreground ,snow :background ,dark-red :weight bold))))
`(flymake-warnline ((t (:foreground ,snow :background ,dark-orange :weight bold))))
)
(custom-theme-set-faces
'k9
;; font lock
`(default ((t (:inherit nil :foreground ,default-text-color :background ,bg))))
`(font-lock-builtin-face ((t (:foreground ,default-text-color))))
`(font-lock-comment-face ((t (:foreground ,light-grey-text))))
`(font-lock-comment-delimiter-face ((t (:foreground ,light-grey-text))))
`(font-lock-constant-face ((t (:foreground ,dark-red))))
`(font-lock-doc-face ((t (:foreground ,light-grey-text))))
`(font-lock-function-name-face ((t (:foreground ,fg))))
`(font-lock-variable-name-face ((t (:foreground ,fg))))
`(font-lock-keyword-face ((t (:foreground ,dark-red ,@(when (not k9-keywords-nobold) `(:weight bold))))))
`(font-lock-preprocessor-face ((t (:foreground ,lime))))
`(font-lock-string-face ((t (:foreground ,yellow :weight bold))))
`(font-lock-type-face ((t (:foreground ,yellow :weight bold))))
`(font-lock-warning-face ((t (:foreground ,pink :weight bold))))
`(shadow ((t (:foreground ,mediumgravel))))
`(success ((t (:foreground ,lime))))
`(error ((t (:foreground ,snow :background ,dark-red :weight bold))))
`(dape-repl-error-face ((t (:foreground ,snow :background ,dark-red :weight bold))))
`(warning ((t (:foreground ,snow :background ,dark-orange :weight bold))))
;; `(tab-bar ((,class (:background ,lambda-bg :foreground ,lambda-meek :height 1.0 :box (:line-width -1 :color ,lambda-bg)))))
`(tab-bar-tab ((t (:background ,tardis :foreground ,snow))))
;; `(tab-bar-tab-inactive ((,class (:background ,lambda-lowlight :foreground ,lambda-meek :height .95))))
;; `(tab-bar-tab-ungrouped ((,class (:background ,lambda-bg :foreground ,lambda-faint))))
;; `(tab-bar-tab-group-current ((,class (:background ,lambda-bg :foreground ,lambda-fg :underline t))))
;; `(tab-bar-tab-group-inactive ((,class (:background ,lambda-bg :foreground ,lambda-faint))))
;; avy
`(avy-lead-face-0 ((t (:foreground ,coal :background , dalespale))))
`(avy-lead-face-1 ((t (:foreground ,coal :background , dalespale))))
`(avy-lead-face-2 ((t (:foreground ,coal :background , dalespale))))
`(avy-lead-face ((t (:foreground ,coal :background , dalespale))))
;; ui
`(cursor ((t (:background ,tardis))))
`(region ((t (:background ,light-grey-selection-bg))))
`(secondary-selection ((t (:foreground ,darkgravel :background ,tardis))))
`(fringe ((t (:background ,bg))))
`(linum ((t (:foreground ,mediumgravel :background ,bg))))
`(vertical-border ((t (:foreground ,gravel))))
`(highlight ((t (:foreground ,snow :background ,tardis))))
`(completions-common-part ((t (:foreground ,blackgravel :background ,dalespale))))
`(escape-glyph ((t (:foreground ,tardis))))
`(hl-line ((t (:inherit nil :background ,hl-line))))
`(minibuffer-prompt ((t (:foreground ,default-text-color))))
;; `(mode-line ((t (:box nil :foreground ,snow :background ,tardis))))
`(mode-line-active ((t (:box nil :foreground ,snow :background ,tardis))))
;; `(mode-line-inactive ((t (:box nil :foreground ,gravel :background "white"))))
`(header-line ((t (:inherit mode-line))))
`(link ((t (:foreground ,light-grey-text :underline t))))
`(link-visited ((t (:inherit link :foreground ,orange))))
;; whitespace-mode
`(trailing-whitespace ((t (:background ,bg :foreground, lighter-grey-text))))
`(whitespace-trailing ((t (:background , bg :foreground, lighter-grey-text))))
`(whitespace-empty ((t (:background ,bg :foreground, lighter-grey-text))))
`(whitespace-line ((t (:background ,bg :foreground, lighter-grey-text))))
`(whitespace-hspace ((t (:foreground, lighter-grey-text))))
`(whitespace-space ((t (:foreground, lighter-grey-text))))
`(whitespace-tab ((t (:foreground, lighter-grey-text))))
`(whitespace-newline ((t (:foreground, lighter-grey-text))))
`(whitespace-indentation ((t (:background , bg :foreground , lighter-grey-text))))
`(whitespace-space-after-tab ((t (:background , bg :foreground, lighter-grey-text))))
`(whitespace-space-before-tab ((t (:background , bg :foreground, lighter-grey-text))))
;; ruler-mode
`(ruler-mode-default ((t :inherit linum :underline t)))
`(ruler-mode-column-number ((t (:foreground ,light-grey-text :background ,bg :underline ,mediumgravel))))
`(ruler-mode-fill-column ((t (:foreground ,yellow :background ,bg :underline ,mediumgravel))))
`(ruler-mode-goal-column ((t (:inherit 'ruler-mode-fill-column))))
`(ruler-mode-comment-column ((t (:inherit 'ruler-mode-fill-column))))
`(ruler-mode-tab-stop ((t (:inherit 'ruler-mode-fill-column))))
`(ruler-mode-current-column ((t (:foreground ,tardis :background ,bg :underline ,mediumgravel))))
`(ruler-mode-margins ((t (:inherit ruler-mode-default))))
`(ruler-mode-fringes ((t (:inherit ruler-mode-default))))
`(ruler-mode-pad ((t (:inherit ruler-mode-default))))
;; search
`(isearch ((t (:foreground ,bg :background ,pink :bold t))))
`(isearch-fail ((t (:foreground ,dark-red :background ,bg))))
`(lazy-highlight ((t (:foreground ,coal :background ,dalespale))))
;; show-paren-mode
`(show-paren-match ((t (:foreground ,bg :background ,fg :bold t))))
`(show-paren-mismatch ((t (:foreground ,coal :background ,dark-red))))
;; anzu
`(anzu-match-1 ((t (:background ,lime :foreground ,coal))))
`(anzu-match-2 ((t (:background ,dalespale :foreground ,coal))))
`(anzu-match-3 ((t (:background ,orange :foreground ,coal))))
`(anzu-mode-line ((t (:foreground ,pink))))
`(anzu-replace-to ((t (:background ,tardis :foreground ,coal))))
;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((t (:foreground ,mediumgravel))))
`(rainbow-delimiters-depth-2-face ((t (:foreground ,dalespale))))
`(rainbow-delimiters-depth-3-face ((t (:foreground ,pink))))
`(rainbow-delimiters-depth-4-face ((t (:foreground ,orange))))
`(rainbow-delimiters-depth-5-face ((t (:foreground ,tardis))))
`(rainbow-delimiters-depth-6-face ((t (:foreground ,lime))))
`(rainbow-delimiters-depth-7-face ((t (:foreground ,toffee))))
`(rainbow-delimiters-depth-8-face ((t (:foreground ,emerald-green))))
`(rainbow-delimiters-depth-9-face ((t (:foreground ,coffee))))
`(rainbow-delimiters-unmatched-face ((t (:foreground ,dark-red))))
;; eshell
`(eshell-prompt ((t (:foreground ,tardis))))
;; which-function-mode
`(which-func ((t (:foreground ,snow))))
;; eglot-mode
`(eglot-mode-line ((t (:foreground ,snow))))
;; company
`(company-echo-common ((t (:foreground ,default-text-color))))
; `(company-preview ((t (:background ,popup-bg :foreground ,gravel))))
`(company-preview-common ((t (:foreground , menu-selection-text))))
`(company-preview-search ((t (:foreground ,tardis))))
`(company-scrollbar-bg ((t (:background ,light-grey-selection-bg))))
`(company-scrollbar-fg ((t (:background ,mediumgravel))))
`(company-tooltip ((t (:foreground ,default-text-color :background ,popup-bg))))
`(company-tooltip-annotation ((t (:foreground ,pink :background ,popup-bg))))
`(company-tooltip-annotation-selection ((t (:foreground ,menu-selection-text :background , tardis))))
`(company-tooltip-common ((t (:foreground ,pink :background ,popup-bg))))
`(company-tooltip-common-selection ((t (:foreground ,menu-selection-text :background , tardis))))
`(company-tooltip-mouse ((t (:inherit highlight))))
`(company-tooltip-selection ((t (:background ,tardis :foreground ,menu-selection-text))))
`(company-template-field ((t (:inherit region))))
;; ido et al
`(ido-first-match ((t (:foreground ,yellow))))
`(ido-only-match ((t (:foreground ,orange))))
`(ido-subdir ((t (:foreground ,default-text-color))))
`(ido-indicator ((t (:foreground ,lime))))
`(ido-incomplete-regexp ((t (:foreground ,dark-red :weight bold))))
`(ido-vertical-match-face ((t (:weight normal :underline nil :foreground ,yellow))))
`(flx-highlight-face ((t (:foreground ,yellow :weight normal :underline nil))))
;; ivy
`(ivy-confirm-face ((t :foreground ,lime)))
`(ivy-current-match ((t (:foreground , menu-selection-text :background ,tardis))))
`(ivy-minibuffer-match-highlight ((t (:foreground ,dark-orange :background ,bg))))
`(ivy-match-required-face ((t :foreground ,dark-red)))
`(ivy-minibuffer-match-face-1 ((t :inherit nil)))
`(ivy-minibuffer-match-face-2 ((t :inherit nil)))
`(ivy-minibuffer-match-face-3 ((t :inherit nil)))
`(ivy-minibuffer-match-face-4 ((t :inherit nil)))
`(ivy-remote ((t :foreground ,tardis)))
`(ivy-highlight-face ((t (:foreground ,tardis :background ,bg))))
`(match ((t (:foreground ,bg :background ,yellow))))
`(swiper-match-face-1 ((t :foreground ,default-text-color)))
`(swiper-match-face-2 ((t :foreground ,bg :background ,pink :bold t)))
`(swiper-match-face-3 ((t :foreground ,bg :background ,lime :bold t)))
`(swiper-match-face-4 ((t :foreground ,bg :background ,tardis :bold t)))
;; helm
`(helm-source-header ((t :foreground ,bg :background ,bg :height 0.1)))
`(helm-selection ((t :foreground ,snow :background ,tardis)))
`(helm-ff-file-extension ((t :inherit helm-ff-file)))
`(helm-buffer-size ((t :foreground ,fg)))
`(helm-buffer-process ((t :foreground ,fg)))
`(helm-grep-file ((t :foreground ,fg)))
`(helm-match ((t :inherit isearch)))
;; for wgrep shouldn't be save as isearch
;; `(helm-grep-match ((t :inherit isearch)))
`(helm-buffer-saved-out ((t :background ,dalespale)))
;; eglot
`(eglot-highlight-symbol-face ((t :foreground ,default-text-color :background ,purple :bold t)))
`(eglot-inlay-hint-face ((t :foreground ,hint-text :background ,hint-bg :bold t)))
;; org
`(outline-1 ((t (:foreground ,orange :height 1.2))))
`(outline-2 ((t (:foreground ,yellow))))
`(outline-3 ((t (:foreground ,fg))))
`(outline-4 ((t (:foreground ,toffee))))
`(outline-5 ((t (:foreground ,pink))))
`(org-block ((t (:foreground ,fg))))
`(org-code ((t (:foreground ,fg))))
`(org-done ((t (:foreground ,pink :weight bold))))
`(org-todo ((t (:foreground ,dalespale :weight bold))))
`(org-date ((t (:foreground ,fg :underline t))))
`(org-table ((t (:foreground ,fg))))
`(org-link ((t (:foreground ,fg))))
`(org-special-keyword ((t (:foreground ,dark-red :weight bold))))
`(org-document-info ((t (:foreground ,light-grey-bg))))
`(org-document-title ((t (:foreground ,default-text-color :family "sans" :height 1.8 :weight bold))))
;; erc
`(erc-default-face ((t (:inherit default))))
`(erc-notice-face ((t (:inherit font-lock-comment-face))))
`(erc-nick-default-face ((t (:foreground ,dark-red :bold t))))
`(erc-nick-msg-face ((t (:inherit erc-nick-default-face))))
`(erc-my-nick-face ((t (:foreground ,orange :bold t))))
`(erc-current-nick-face ((t (:inherit erc-my-nick-face))))
`(erc-direct-msg-face ((t (:foreground ,snow))))
`(erc-input-face ((t (:foreground ,pink))))
`(erc-prompt-face ((t (:foreground ,fg))))
`(erc-button ((t (:inherit link))))
`(erc-timestamp-face ((t (:foreground ,lime))))
;; notmuch
`(notmuch-tag-face ((t (:foreground ,pink))))
;; message
`(message-cited-text ((t :foreground ,yellow)))
`(message-header-cc ((t (:foreground ,default-text-color))))
`(message-header-name ((t (:foreground ,dark-red))))
`(message-header-other ((t (:foreground ,default-text-color))))
`(message-header-subject ((t (:foreground ,orange))))
`(message-header-to ((t (:foreground ,default-text-color))))
`(message-header-xheader ((t (:foreground ,default-text-color))))
`(message-mml ((t (:foreground ,light-grey-text))))
;; magit
`(magit-bisect-bad ((t (:foreground ,dark-red))))
`(magit-bisect-good ((t (:foreground ,lime))))
`(magit-bisect-skip ((t (:foreground ,orange))))
`(magit-blame-heading ((t (:foreground ,tardis, :background ,magit-blame-user-colour))))
`(magit-branch-local ((t (:foreground ,orange))))
`(magit-branch-remote ((t (:foreground ,pink))))
`(magit-diff-added ((t (:background ,bg :foreground ,lime))))
`(magit-diff-added-highlight ((t (:background ,bg :foreground ,lime))))
`(magit-diff-base ((t (:background ,bg :foreground ,yellow))))
`(magit-diff-base-highlight ((t (:background ,bg :foreground ,yellow))))
`(magit-diff-context ((t (:foreground ,light-grey-text))))
`(magit-diff-context-highlight ((t (:background ,bg :foreground ,magit-highlight))))
`(magit-diff-removed ((t (:background ,bg :foreground ,dark-red))))
`(magit-diff-removed-highlight ((t (:background ,bg :foreground ,dark-red))))
`(magit-diff-lines-boundary ((t (:foreground ,bg :background ,dalespale))))
`(magit-diff-lines-heading ((t (:background ,dalespale :foreground ,bg))))
`(magit-diffstat-added ((t (:foreground ,lime :background ,bg))))
`(magit-diffstat-removed ((t (:foreground ,dark-red :background ,bg))))
`(magit-dimmed ((t (:inherit shadow))))
`(magit-header-line ((t (:foreground ,yellow :background, bg))))
`(magit-log-author ((t (:foreground ,yellow))))
`(magit-log-date ((t (:foreground ,magit-highlight))))
`(magit-process-ng ((t (:inherit error))))
`(magit-process-ok ((t (:foreground ,lime))))
`(magit-section-heading ((t (:foreground ,yellow))))
`(magit-section-heading-selection ((t (:foreground ,dalespale))))
`(magit-diff-revision-summary ((t (:foreground ,snow :background,darkroast :bold t))))
`(magit-diff-revision-summary-highlight ((t (:foreground ,snow :background,darkroast :bold t))))
`(diff-added ((t (:background ,lime :foreground ,bg))))
`(diff-changed ((t (:background ,yellow :foreground ,bg))))
`(diff-removed ((t (:background ,dark-red :foreground ,bg))))
`(diff-refine-added ((t (:background ,lime :foreground ,bg))))
`(diff-refine-changed ((t (:background ,dark-red :foreground ,bg))))
;; smart-mode-line
`(sml/global ((t (:foreground ,default-text-color))))
`(sml/vc-edited ((t (:foreground ,pink))))
`(sml/vc ((t (:foreground ,orange))))
`(sml/modified ((t (:foreground ,dark-red :bold t))))
`(sml/position-percentage ((t (:foreground ,orange))))
;; clojure
`(clojure-keyword-face ((t (:foreground ,orange))))
`(clojure-interop-method-face ((t (:foreground ,default-text-color))))
;; diff-hl
`(diff-hl-insert ((t ,(if k9-diff-hl-inverse
`(:background ,bg :foreground ,lime)
`(:background ,lime :foreground ,bg)))))
`(diff-hl-delete ((t ,(if k9-diff-hl-inverse
`(:background ,bg :foreground ,pink)
`(:background ,pink :foreground ,bg)))))
`(diff-hl-change ((t ,(if k9-diff-hl-inverse
`(:background ,bg :foreground ,yellow)
`(:background ,yellow :foreground ,bg)))))))
;; Set colours and call main
(let*
(
;; common colours
(beige "#ffffd7")
(snow "#ffffff")
(coal "#000000")
(gravel "#857f78")
(mediumgravel "#666462")
(deepergravel "#35322d")
(darkgravel "#242321")
(blackgravel "#1c1b1a")
(blackestgravel "#141413")
(dalespale "#fade3e")
(emerald-green "#8cffba")
(toffee "#b88853")
(coffee "#c7915b")
(dark-orange "#ff8c00")
(darkroast "#88633f")
(menu-selection-text snow)
;; default light mode
(purple "#afafff")
(default-text-color "#000000")
(light-grey-bg "#eeeeee")
(light-grey-text "#6b645c")
(lighter-grey-text "#b7b5b4")
(light-grey-selection-bg "#d9cec3")
(yellow "#755a00")
(dark-red "#800114")
(tardis "#005faf")
(orange "#cd5a00")
(lime "#5f8700")
(pink "#c6426a")
(bg snow)
(hl-line beige)
(popup-bg light-grey-bg)
(hint-text tardis)
(hint-bg light-grey-bg)
(magit-highlight coal)
(fg coal)
(magit-blame-user-colour lighter-grey-text)
(indent-line-colour lighter-grey-text)
(highlight-colour light-grey-bg))
(progn
(when k9-is-dark-mode
(setf purple "#943487")
(setf default-text-color "#f8f6f2")
(setf light-grey-bg "#d9cec3")
(setf light-grey-text "#998f84")
(setf light-grey-selection-bg "#45413b")
(setf lighter-grey-text "#e5e3e1")
(setf yellow "#f4cf86")
(setf dark-red "#ff2c4b")
(setf tardis "#0a9dff")
(setf orange "#ffa724")
(setf lime "#aeee00")
(setf pink "#ff9eb8")
(setf bg blackgravel)
(setf hl-line darkgravel)
(setf popup-bg light-grey-selection-bg)
(setf hint-text light-grey-text)
(setf hint-bg darkgravel)
(setf magit-highlight light-grey-bg)
(setf fg snow)
(setf magit-blame-user-colour darkgravel)
(setf indent-line-colour mediumgravel)
(setf highlight-colour mediumgravel))
;; Colours with common variables // to be removed
(k9-set-colour-scheme)
(unless k9-disable-highlight-indent
(when (package-installed-p 'highlight-indent-guides)
(require 'highlight-indent-guides)
(setopt highlight-indent-guides-method 'bitmap)
(setopt highlight-indent-guides-bitmap-function #'highlight-indent-guides--bitmap-line)
(setopt highlight-indent-guides-auto-enabled nil)
(set-face-background 'highlight-indent-guides-odd-face highlight-colour)
(set-face-background 'highlight-indent-guides-even-face highlight-colour)
(set-face-foreground 'highlight-indent-guides-character-face highlight-colour))
(when (package-installed-p 'indent-bars)
(setopt indent-bars-prefer-character t)
(setq-default indent-bars-no-stipple-char 166)
(setopt indent-bars-color (list indent-line-colour))
(setopt indent-bars-color-by-depth nil)
(setopt indent-bars-highlight-current-depth nil)
(setopt indent-bars-display-on-blank-lines nil)))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'k9)
;; Local Variables:
;; no-byte-compile: t
;; End:
;;; k9-theme.el ends here