blob: 715a47537744025c87383fb80bf31ce381876ea2 (
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
|
(deftheme materia "Materia Dark")
(defun materia--face (name &rest args)
(list name `((t, args))))
(let ((bg "#121212")
(fg "#dfdfdf")
(black "#474747")
(red "#f44336")
(green "#4caf50")
(yellow "#ff9800")
(blue "#1a73e8")
(purple "#9c27b0")
(cyan "#0097a7")
(white "#ffffff"))
(custom-theme-set-faces 'materia
(materia--face 'default :background bg :foreground fg)
(materia--face 'vertical-border :inherit 'default)
(materia--face 'fringe :inherit 'default)
(materia--face 'cursor :inherit 'default)
(materia--face 'bold :inherit 'default :bold t)
(materia--face 'italic :inherit 'default)
(materia--face 'bold-italic :inherit 'default :bold t)
(materia--face 'region :inherit 'default)
(materia--face 'underline :inherit 'default)
(materia--face 'custom-face-tag :inherit 'default)
(materia--face 'custom-state :inherit 'default)
;; VTerm colors
(materia--face 'vterm-color-white :background white :foreground white)
(materia--face 'vterm-color-black :background black :foreground black)
(materia--face 'vterm-color-red :background red :foreground red)
(materia--face 'vterm-color-green :background green :foreground green)
(materia--face 'vterm-color-yellow :background yellow :foreground yellow)
(materia--face 'vterm-color-blue :background blue :foreground blue)
(materia--face 'vterm-color-magenta :background purple :foreground purple)
(materia--face 'vterm-color-cyan :background cyan :foreground cyan)
(materia--face 'vterm-color-bright-black :background black :foreground black)
(materia--face 'vterm-color-bright-red :background red :foreground red)
(materia--face 'vterm-color-bright-green :background green :foreground green)
(materia--face 'vterm-color-bright-yellow :background yellow :foreground yellow)
(materia--face 'vterm-color-bright-blue :background blue :foreground blue)
(materia--face 'vterm-color-bright-magenta :background purple :foreground purple)
(materia--face 'vterm-color-bright-cyan :background cyan :foreground cyan
))
(provide-theme 'materia)
|