branch: externals/ef-themes
commit d778ec565a3a54bbc5175703993582129b9add31
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Add support for writegood-mode
---
 README.org   | 1 +
 ef-themes.el | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/README.org b/README.org
index 1b5eda791a..37ec103c8f 100644
--- a/README.org
+++ b/README.org
@@ -975,6 +975,7 @@ everything most users need.
 - which-function-mode
 - whitespace-mode
 - widget
+- writegood-mode [Part of {{{development-version}}}.]
 - woman
 
 ** Implicitly supported packages or face groups
diff --git a/ef-themes.el b/ef-themes.el
index 7133aa5e3f..2ad890454a 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1787,6 +1787,10 @@ Helper function for `ef-themes-preview-colors'."
     `(widget-field ((,c :background ,bg-alt :foreground ,fg-main :extend nil)))
     `(widget-inactive ((,c :inherit shadow :background ,bg-dim)))
     `(widget-single-line-field ((,c :inherit widget-field)))
+;;;; writegood-mode
+    `(writegood-duplicates-face ((,c :inherit ef-themes-underline-error)))
+    `(writegood-passive-voice-face ((,c :inherit ef-themes-underline-info)))
+    `(writegood-weasels-face ((,c :inherit ef-themes-underline-warning)))
 ;;;; woman
     `(woman-addition ((,c :foreground ,accent-2)))
     `(woman-bold ((,c :inherit bold :foreground ,accent-0)))

Reply via email to