summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--themes.el
blob: abf9887c762713e79dbbf1d6d8f9c5496b92c985 (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
;; -*- lexical-binding: t; -*-


(defun modus-themes-custom-faces ()
  (modus-themes-with-colors
    (custom-set-faces
     `(vertical-border ((,class :background ,bg-main
                                :foreground ,bg-main)))

     `(mode-line-inactive ((,class :background ,bg-main
                                   :foreground ,fg-active)))
     `(mode-line-active ((,class :background ,bg-main
                                 :foreground ,fg-active)))

     `(hl-line ((,class :background ,magenta-nuanced-bg)))

     `(emms-playlist-track-face ((,class :foreground ,blue-nuanced-fg)))
     `(emms-playlist-selected-face ((,class :foreground ,fg-special-cold)))
     `(emms-browser-track-face ((,class :foreground ,blue-nuanced-fg))))))

(add-hook 'modus-themes-after-load-theme-hook #'modus-themes-custom-faces)

(setopt modus-themes-italic-constructs t
        modus-themes-bold-constructs t
        modus-themes-hl-line '(accented)
        modus-themes-subtle-line-numbers t
        modus-themes-paren-match '(intense)
        modus-themes-region '(bg-only)
        modus-themes-syntax '(faint)
        modus-themes-mode-line '(borderless)
        modus-themes-org-blocks 'gray-background
        modus-themes-headings '(
                                (1 . (rainbow overline))))

(load-theme 'modus-vivendi t)

(modus-themes-custom-faces)


(provide 'bd--themes)