-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathdoom-rogue-dark-theme.el
200 lines (185 loc) · 9.06 KB
/
doom-rogue-dark-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
;;; doom-rogue-dark-theme.el --- Personal dark theme -*- lexical-binding: t; no-byte-compile: t; -*-
;; Author: Abhinav Tushar <[email protected]>
;;
;;; Commentary:
;;; Code:
(require 'doom-themes)
;;
;;; Variables
(defgroup doom-rogue-dark-theme nil
"Options for the `doom-rogue-dark' theme."
:group 'doom-themes)
(defcustom doom-rogue-dark-variable-label-face "Source Sans Pro"
"Variable pitch font for tags, labels, etc."
:type 'string
:group 'doom-rogue-dark-theme)
;;
;;; Theme definition
(def-doom-theme doom-rogue-dark
"A personal dark theme"
;; name default 256 16
((bg '("#1B2028" nil nil ))
(bg-alt '("#0D141A" nil nil ))
(base0 '("#0A0F14" "black" "black" ))
(base1 '("#13181F" "#0A0F14" "brightblack" ))
(base2 '("#1B2028" "#1B2028" "brightblack" ))
(base3 '("#232A32" "#232A32" "brightblack" ))
(base4 '("#2B343C" "#2B343C" "brightblack" ))
(base5 '("#3D4750" "#3D4750" "brightblack" ))
(base6 '("#525D68" "#525D68" "brightblack" ))
(base7 '("#6B7684" "#6B7684" "brightblack" ))
(base8 '("#86909D" "#86909D" "white" ))
(fg-alt '("#A0A8B4" "#A0A8B4" "brightwhite" ))
(fg '("#CCD4DE" "#BCC4CE" "white" ))
;; Core palette
(primary '("#3A6A99" "#3A6A99" "brightblue" ))
(primary-light '("#90BEED" "#507EAD" "cyan" ))
(secondary '("#2F5A83" "#2F5A83" "brightblack" ))
(secondary-light '("#476C97" "#476C97" "brightblack" ))
(grey '("#41505E" "#ff6655" "red" ))
(red '("#D95468" "#ff6655" "red" ))
(orange '("#D98E48" "#dd8844" "brightred" ))
(green '("#8BD49C" "#99bb66" "green" ))
(teal '("#33CED8" "#33CCDD" "brightgreen" ))
(yellow '("#EBBF83" "#EEBB88" "yellow" ))
(blue '("#5EC4FF" "#55CCFF" "brightblue" ))
(bright-blue '("#539AFC" "#5599FF" "blue" ))
(dark-blue '("#718CA1" "#7788AA" "blue" ))
(magenta '("#E27E8D" "#EE7788" "magenta" ))
(violet '("#B62D65" "#BB2266" "brightmagenta"))
(cyan '("#70E1E8" "#77EEEE" "brightcyan" ))
(dark-cyan '("#008B94" "#008899" "cyan" ))
;; face categories -- required for all themes
(highlight base4)
(vertical-bar (doom-darken base1 0.5))
(selection dark-blue)
(builtin blue)
(comments base7)
(doc-comments (doom-lighten fg-alt 0.25))
(constants magenta)
(functions teal)
(keywords blue)
(methods cyan)
(operators blue)
(type primary-light)
(strings fg-alt)
(variables blue)
(numbers magenta)
(region base3)
(error red)
(warning yellow)
(success green)
(vc-modified orange)
(vc-added green)
(vc-deleted red)
;; custom categories
(hidden `(,(car bg) "black" "black"))
(modeline-fg 'unspecified)
(modeline-fg-alt base5)
(modeline-bg base3)
(modeline-bg-l modeline-bg)
(modeline-bg-inactive `(,(car bg) ,@(cdr base1)))
(modeline-bg-inactive-l (doom-darken bg 0.1)))
;;;; Base theme face overrides
(((font-lock-doc-face &override) :slant 'italic)
((font-lock-keyword-face &override) :weight 'bold)
((font-lock-builtin-face &override) :weight 'bold)
((font-lock-type-face &override) :slant 'italic)
((line-number &override) :foreground base6)
((line-number-current-line &override) :foreground fg)
((rainbow-delimiters-depth-1-face &override) :foreground primary-light)
((rainbow-delimiters-depth-2-face &override) :foreground secondary-light)
((rainbow-delimiters-depth-3-face &override) :foreground primary-light)
((rainbow-delimiters-depth-4-face &override) :foreground secondary-light)
((rainbow-delimiters-depth-5-face &override) :foreground primary-light)
((rainbow-delimiters-depth-6-face &override) :foreground secondary-light)
((rainbow-delimiters-depth-7-face &override) :foreground primary-light)
((rainbow-delimiters-depth-8-face &override) :foreground secondary-light)
((rainbow-delimiters-depth-9-face &override) :foreground primary-light)
(show-paren-match :background fg :foreground bg)
(mode-line
:background modeline-bg :foreground modeline-fg
:box nil)
(mode-line-inactive
:background modeline-bg-inactive :foreground modeline-fg-alt
:box nil)
(mode-line-emphasis :foreground base8)
(hl-line :background highlight)
((link &override) :foreground fg :weight 'normal)
;;;; doom-modeline
(doom-modeline-bar :background modeline-bg)
;;;; magit
(magit-diff-hunk-heading-highlight :foreground fg :background base4 :weight 'bold)
(magit-diff-hunk-heading :foreground fg-alt :background base3 :weight 'normal)
;;;; markdown-mode
(markdown-markup-face :foreground base5)
(markdown-header-face :inherit 'bold :foreground red)
(markdown-url-face :foreground teal :weight 'normal)
(markdown-reference-face :foreground base6)
((markdown-bold-face &override) :foreground fg)
((markdown-italic-face &override) :foreground fg-alt)
;;;; outline <built-in>
((outline-1 &override) :foreground blue)
((outline-2 &override) :foreground green)
((outline-3 &override) :foreground teal)
((outline-4 &override) :foreground (doom-darken blue 0.2))
((outline-5 &override) :foreground (doom-darken green 0.2))
((outline-6 &override) :foreground (doom-darken teal 0.2))
((outline-7 &override) :foreground (doom-darken blue 0.4))
((outline-8 &override) :foreground (doom-darken green 0.4))
;;;; org <built-in>
((org-block &override) :background base2)
((org-block-begin-line &override) :background base2)
(org-hide :foreground hidden)
((org-link &override) :foreground fg)
((org-document-title &override) :family doom-rogue-dark-variable-label-face :height 2.5 :foreground fg :weight 'unspecified)
((org-level-1 &override) :family doom-rogue-dark-variable-label-face :height 1.9)
((org-level-2 &override) :family doom-rogue-dark-variable-label-face :height 1.6)
((org-level-3 &override) :family doom-rogue-dark-variable-label-face :height 1.5 :slant 'italic)
((org-level-4 &override) :family doom-rogue-dark-variable-label-face :height 1.5 :slant 'italic)
((org-level-5 &override) :family doom-rogue-dark-variable-label-face :height 1.5 :slant 'italic)
((org-level-6 &override) :family doom-rogue-dark-variable-label-face :height 1.5 :slant 'italic)
((org-level-7 &override) :family doom-rogue-dark-variable-label-face :height 1.5 :slant 'italic)
((org-level-8 &override) :family doom-rogue-dark-variable-label-face :height 1.5 :slant 'italic)
;;;; treemacs
((treemacs-async-loading-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-directory-collapsed-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-directory-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-file-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-fringe-indicator-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-root-face &override) :family doom-rogue-dark-variable-label-face :weight 'bold :foreground fg)
((treemacs-git-added-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-git-conflict-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-git-ignored-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-git-modified-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-git-renamed-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-git-unmodified-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-git-untracked-face &override) :family doom-rogue-dark-variable-label-face)
((treemacs-tags-face &override) :family doom-rogue-dark-variable-label-face :height 0.8 :foreground fg-alt)
(nano-vertico-header-face :foreground fg :background bg :box `(:line-width 1 :color ,fg-alt :style nil))
(nano-vertico-mode-line-face :foreground fg-alt :overline fg-alt)
(nano-vertico-buffer-face :foreground fg-alt :background bg)
(nano-vertico-prompt-face :foreground bg :background fg-alt)
(nano-vertico-region-face :inherit 'region)
(nano-vertico-annotation-face :foreground fg-alt)
(nano-vertico-cursor-face :foreground bg :background fg-alt)
(cursor :foreground fg)
;;;; solaire-mode
(solaire-default-face :background "black")
(solaire-fringe-face :background "black")
(solaire-mode-line-face
:inherit 'mode-line
:background modeline-bg-l
:box nil)
(solaire-mode-line-inactive-face
:inherit 'mode-line-inactive
:background modeline-bg-inactive-l
:box nil)
;;;; eros
(eros-result-overlay-face :background bg-alt :foreground fg :box `(:line-width -1 :color ,fg-alt))
;;;; indent-guide
((indent-guide-face &override) :foreground fg-alt :slant 'normal))
;;;; Base theme variable overrides
())
(provide 'doom-rogue-dark-theme)
;;; doom-rogue-dark-theme.el ends here