emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-operandi-theme 6a605b5 010/112: Add support for H


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 6a605b5 010/112: Add support for HL-TODO (issue #17)
Date: Mon, 30 Mar 2020 15:59:27 -0400 (EDT)

branch: externals/modus-operandi-theme
commit 6a605b5b9050118b6acbe72a418e57e15016030b
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>

    Add support for HL-TODO (issue #17)
---
 README.org              |  1 +
 modus-operandi-theme.el | 22 ++++++++++++++++++++++
 modus-vivendi-theme.el  | 22 ++++++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/README.org b/README.org
index 2ef5b65..6620590 100644
--- a/README.org
+++ b/README.org
@@ -249,6 +249,7 @@ the "full support" may not be 100% true…
 + highlight-numbers
 + hl-fill-column
 + hl-line-mode
++ hl-todo
 + hydra
 + ido-mode
 + iedit
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index dad8534..1c4c037 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -139,6 +139,7 @@
 ;;     highlight-numbers
 ;;     hl-fill-column
 ;;     hl-line-mode
+;;     hl-todo
 ;;     hydra
 ;;     ido-mode
 ;;     iedit
@@ -1371,6 +1372,8 @@ between foreground and background is >= 7:1)."
    `(highlight-numbers-number ((,class (:foreground ,blue-alt-other))))
    ;;;; hl-fill-column
    `(hl-fill-column-face ((,class (:background ,bg-active :foreground 
,fg-active))))
+   ;;;; hl-todo
+   `(hl-todo ((,class (:foreground ,red-alt-other :weight bold))))
    ;;;; hydra
    `(hydra-face-amaranth ((,class (:foreground ,yellow-intense :weight bold))))
    `(hydra-face-blue ((,class (:foreground ,blue-intense :weight bold))))
@@ -2276,6 +2279,25 @@ between foreground and background is >= 7:1)."
     ;;;; ibuffer
     `(ibuffer-deletion-face 'dired-flagged)
     `(ibuffer-marked-face 'dired-marked)
+    ;;;; hl-todo
+    `(hl-todo-keyword-faces
+      '(("HOLD" . ,yellow-alt)
+        ("TODO" . ,magenta)
+        ("NEXT" . ,magenta-alt-other)
+        ("THEM" . ,magenta-alt)
+        ("PROG" . ,cyan)
+        ("OKAY" . ,cyan-alt)
+        ("DONT" . ,green-alt)
+        ("FAIL" . ,red)
+        ("DONE" . ,green)
+        ("NOTE" . ,yellow-alt-other)
+        ("KLUDGE" . ,yellow)
+        ("HACK" . ,yellow)
+        ("TEMP" . ,red-nuanced)
+        ("FIXME" . ,red-alt-other)
+        ("XXX+" . ,red-alt)
+        ("REVIEW" . ,cyan-alt-other)
+        ("DEPRECATED" . ,blue-nuanced)))
     ;;;; xterm-color
     `(xterm-color-names [,fg-main ,red ,green ,yellow ,blue ,magenta ,cyan 
,bg-alt])
     `(xterm-color-names-bright [,fg-alt ,red-alt ,green-alt ,yellow-alt 
,blue-alt ,magenta-alt ,cyan-alt ,bg-main]))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 0e16ec6..faa9921 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -139,6 +139,7 @@
 ;;     highlight-numbers
 ;;     hl-fill-column
 ;;     hl-line-mode
+;;     hl-todo
 ;;     hydra
 ;;     ido-mode
 ;;     iedit
@@ -1371,6 +1372,8 @@ between foreground and background is >= 7:1)."
    `(highlight-numbers-number ((,class (:foreground ,blue-alt-other))))
    ;;;; hl-fill-column
    `(hl-fill-column-face ((,class (:background ,bg-active :foreground 
,fg-active))))
+   ;;;; hl-todo
+   `(hl-todo ((,class (:foreground ,red-alt-other :weight bold))))
    ;;;; hydra
    `(hydra-face-amaranth ((,class (:foreground ,yellow-intense :weight bold))))
    `(hydra-face-blue ((,class (:foreground ,blue-intense :weight bold))))
@@ -2276,6 +2279,25 @@ between foreground and background is >= 7:1)."
     ;;;; ibuffer
     `(ibuffer-deletion-face 'dired-flagged)
     `(ibuffer-marked-face 'dired-marked)
+    ;;;; hl-todo
+    `(hl-todo-keyword-faces
+      '(("HOLD" . ,yellow-alt)
+        ("TODO" . ,magenta)
+        ("NEXT" . ,magenta-alt-other)
+        ("THEM" . ,magenta-alt)
+        ("PROG" . ,cyan)
+        ("OKAY" . ,cyan-alt)
+        ("DONT" . ,green-alt)
+        ("FAIL" . ,red)
+        ("DONE" . ,green)
+        ("NOTE" . ,yellow-alt-other)
+        ("KLUDGE" . ,yellow)
+        ("HACK" . ,yellow)
+        ("TEMP" . ,red-nuanced)
+        ("FIXME" . ,red-alt-other)
+        ("XXX+" . ,red-alt)
+        ("REVIEW" . ,cyan-alt-other)
+        ("DEPRECATED" . ,cyan-nuanced)))
     ;;;; xterm-color
     `(xterm-color-names [,bg-main ,red ,green ,yellow ,blue ,magenta ,cyan 
,fg-alt])
     `(xterm-color-names-bright [,bg-alt ,red-alt ,green-alt ,yellow-alt 
,blue-alt ,magenta-alt ,cyan-alt ,fg-main]))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]