diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2023-02-05 17:47:38 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2023-02-12 10:26:12 +0100 |
| commit | f32f8ca03b9ffe9f12e49f28d647e666bacb8553 (patch) | |
| tree | e6ef287e1373646e913ba70611c72968fed369a8 /.emacs.d/eighters-theme.el | |
| parent | 1969b132b7803fa1a7443ef89fc9555221125fee (diff) | |
| download | dotfiles-f32f8ca03b9ffe9f12e49f28d647e666bacb8553.tar.xz | |
Set compilation directory faces explicitly
OT1H it's likely I'll always keep font-lock's function & built-in
faces somewhat close together (although thinking more about it, the
former is for highlighting declaration, and the latter for
highlighting usage, so… worth challenging that assumption), OTOH I'd
rather not keep the implicit function = directory association.
Diffstat (limited to '.emacs.d/eighters-theme.el')
| -rw-r--r-- | .emacs.d/eighters-theme.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.emacs.d/eighters-theme.el b/.emacs.d/eighters-theme.el index 8f070ae..6692c1e 100644 --- a/.emacs.d/eighters-theme.el +++ b/.emacs.d/eighters-theme.el @@ -1,6 +1,7 @@ ;; -*- lexical-binding: t -*- (require 'color) +(require 'compile) ; compilation-*-directory-face (require-theme 'modus-themes) (deftheme eighters @@ -212,6 +213,7 @@ `(custom-variable-tag ((t (:inherit eighters-title-3)))) `(default ((t (:background ,bg :foreground ,fg)))) `(dired-broken-symlink ((t (:background ,bg-red :foreground ,fg-yellow :weight bold)))) + `(dired-directory ((t (:weight bold :foreground ,fg-blue)))) `(dired-header ((t (:inherit eighters-title-1)))) `(dired-special ((t (:foreground ,fg-yellow-dim)))) `(eldoc-highlight-function-argument ((t (:background ,bg-yellow :foreground ,fg-yellow :weight bold)))) @@ -462,6 +464,10 @@ `(git-commit-keyword ((t (:inherit font-lock-constant-face)))) `(git-commit-known-pseudo-header ((t (:inherit message-header-name)))) `(git-commit-summary ((t (:inherit eighters-title-1)))) - `(git-commit-pseudo-header ((t (:inherit eighters-identity)))))) + `(git-commit-pseudo-header ((t (:inherit eighters-identity))))) + (custom-theme-set-variables + 'eighters + '(compilation-enter-directory-face 'dired-directory) + `(compilation-leave-directory-face '(:foreground ,fg-blue-dim)))) (provide-theme 'eighters) |
