summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2023-01-11 01:24:34 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2023-01-11 01:24:34 +0100
commit2b3266f5f5fe83c94f7d6bd38648260e41c871e1 (patch)
treeb4b9d34d34d396a0e0bd84ff233db6ae5bcd0382
parentbef5eacaa7afb610f2b8dc008df85117831a620a (diff)
downloaddotfiles-2b3266f5f5fe83c94f7d6bd38648260e41c871e1.tar.xz
Add faces for whitespace-mode
-rw-r--r--.emacs.d/eighters-theme.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/eighters-theme.el b/.emacs.d/eighters-theme.el
index f97f899..b0f0ef1 100644
--- a/.emacs.d/eighters-theme.el
+++ b/.emacs.d/eighters-theme.el
@@ -272,6 +272,13 @@
`(transient-unreachable-key ((t :inherit (shadow help-key-binding))))
`(vertical-border ((t (:foreground ,bg-hl))))
`(warning ((t (:foreground ,fg-yellow :weight bold))))
+ `(whitespace-hspace ((t (:weight bold :inherit whitespace-space))))
+ `(whitespace-indentation ((t (:background ,bg-yellow-dim :foreground ,fg-red))))
+ `(whitespace-newline ((t (:foreground ,fg-blue-dim))))
+ `(whitespace-space ((t (:background ,bg-blue-dimmer :foreground ,fg-blue-dim))))
+ `(whitespace-space-after-tab ((t (:inherit whitespace-indentation))))
+ `(whitespace-tab ((t (:inherit whitespace-space))))
+ `(whitespace-trailing ((t (:background ,bg-red-dim :foreground ,fg-yellow :weight bold))))
`(widget-field ((t (:background ,bg-hl-dim))))
;;;; Diff faces.
`(diff-header ((t (:background ,bg-hl-dimmer :foreground ,fg-dim))))