summary refs log tree commit diff
path: root/emacs.d/lib/basic-theme.el
blob: 4d49e69c27f7b8f154f5ac8f5e2f8cf860a1b024 (plain) (blame)
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
;;; basic-theme.el --- Black and light yellow theme without syntax highlighting

;;; Code:

(deftheme basic)

(defvar basic-faces
  `(default
    font-lock-builtin-face
    font-lock-function-name-face
    font-lock-keyword-face
    font-lock-negation-char-face
    font-lock-function-name-face
    font-lock-keyword-face
    font-lock-negation-char-face
    font-lock-preprocessor-face
    font-lock-regexp-grouping-backslash
    font-lock-regexp-grouping-construct
    font-lock-string-face
    font-lock-type-face
    font-lock-variable-name-face
    font-lock-warning-face
    sh-quoted-exec
    fringe))

(let ((bg           "#fdfaf5")
      (black        "#000")
      (white        "#fff"))
  (apply 'custom-theme-set-faces 'basic
         `(default ((t (:foreground ,black :background ,bg))))
         `(mode-line ((t (:foreground: black :background "#CACACA" :box nil))))
         `(mode-line-inactive ((t (:foreground "grey20" :background "grey90" :box nil))))
         `(cursor ((t (:background ,black :foreground ,white))))
         `(hl-line ((t (:background "#e5e4e2"))))
         `(font-lock-comment-face ((t (:foreground ,black :weight bold))))
         `(font-lock-comment-delimiter-face ((t (:foreground ,black :weight bold))))
         `(font-lock-doc-face ((t (:foreground ,black :weight bold))))
         `(region ((t (:background "#f9b593"))))
         `(highlight ((t (:background "darkseagreen2"))))
         (mapcar (lambda (n) `(,n ((t (:background ,bg :foreground ,black))))) basic-faces)))

;;;###autoload
(when load-file-name
  (add-to-list 'custom-theme-load-path
               (file-name-as-directory (file-name-directory load-file-name))))

(provide-theme 'basic)

;;; basic-theme.el ends here