From f32f8ca03b9ffe9f12e49f28d647e666bacb8553 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 5 Feb 2023 17:47:38 +0100 Subject: Set compilation directory faces explicitly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .emacs.d/eighters-theme.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.emacs.d/eighters-theme.el') 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) -- cgit v1.2.3