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

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

[elpa] externals/ef-themes ed97726b08 1/5: Make whitespace-mode consider


From: ELPA Syncer
Subject: [elpa] externals/ef-themes ed97726b08 1/5: Make whitespace-mode considerably more subtle; add palette mappings
Date: Thu, 8 Jun 2023 03:58:05 -0400 (EDT)

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

    Make whitespace-mode considerably more subtle; add palette mappings
    
    The previous style involved the use of a dim grey background.  While
    this is good to spot invisible characters quickly, it is bad for users
    who want to run 'whitespace-mode' at all times (e.g. for Python which
    is space-sensitive).
    
    We thus remove the backgrounds by default but provide the option to
    reinstate them via palette overrides (as documented at length in the
    manual).  To this end, we have new semantic colour mappings for
    ordinary negative space and its invisible characters:
    
    - bg-space
    - fg-space
    - bg-space-err
---
 ef-autumn-theme.el             |  6 ++++++
 ef-bio-theme.el                |  6 ++++++
 ef-cherie-theme.el             |  6 ++++++
 ef-cyprus-theme.el             |  6 ++++++
 ef-dark-theme.el               |  6 ++++++
 ef-day-theme.el                |  6 ++++++
 ef-deuteranopia-dark-theme.el  |  6 ++++++
 ef-deuteranopia-light-theme.el |  6 ++++++
 ef-duo-dark-theme.el           |  6 ++++++
 ef-duo-light-theme.el          |  6 ++++++
 ef-frost-theme.el              |  6 ++++++
 ef-kassio-theme.el             |  6 ++++++
 ef-light-theme.el              |  6 ++++++
 ef-night-theme.el              |  6 ++++++
 ef-spring-theme.el             |  6 ++++++
 ef-summer-theme.el             |  6 ++++++
 ef-symbiosis-theme.el          |  6 ++++++
 ef-themes.el                   | 24 ++++++++++++------------
 ef-trio-dark-theme.el          |  6 ++++++
 ef-trio-light-theme.el         |  6 ++++++
 ef-tritanopia-dark-theme.el    |  6 ++++++
 ef-tritanopia-light-theme.el   |  6 ++++++
 ef-winter-theme.el             |  6 ++++++
 23 files changed, 144 insertions(+), 12 deletions(-)

diff --git a/ef-autumn-theme.el b/ef-autumn-theme.el
index 02cc66ae72..65508aa518 100644
--- a/ef-autumn-theme.el
+++ b/ef-autumn-theme.el
@@ -231,6 +231,12 @@
       (mail-subject green-cooler)
       (mail-other yellow)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-bio-theme.el b/ef-bio-theme.el
index 18e4f86a52..286f21500d 100644
--- a/ef-bio-theme.el
+++ b/ef-bio-theme.el
@@ -231,6 +231,12 @@
       (mail-subject blue)
       (mail-other green-warmer)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-cherie-theme.el b/ef-cherie-theme.el
index ab2c39afa9..3e1570f513 100644
--- a/ef-cherie-theme.el
+++ b/ef-cherie-theme.el
@@ -231,6 +231,12 @@
       (mail-subject red)
       (mail-other yellow-warmer)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-cyprus-theme.el b/ef-cyprus-theme.el
index dd537c8b32..be5c16db47 100644
--- a/ef-cyprus-theme.el
+++ b/ef-cyprus-theme.el
@@ -231,6 +231,12 @@
       (mail-subject yellow-warmer)
       (mail-other green)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-dark-theme.el b/ef-dark-theme.el
index 7a3548b152..366f47d1d8 100644
--- a/ef-dark-theme.el
+++ b/ef-dark-theme.el
@@ -231,6 +231,12 @@
       (mail-subject blue-cooler)
       (mail-other cyan)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-day-theme.el b/ef-day-theme.el
index 09d9722a79..7820cb0760 100644
--- a/ef-day-theme.el
+++ b/ef-day-theme.el
@@ -231,6 +231,12 @@
       (mail-subject red-warmer)
       (mail-other green-warmer)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-deuteranopia-dark-theme.el b/ef-deuteranopia-dark-theme.el
index 06c9eeb6a1..4d84a5dae9 100644
--- a/ef-deuteranopia-dark-theme.el
+++ b/ef-deuteranopia-dark-theme.el
@@ -234,6 +234,12 @@
       (mail-subject cyan-cooler)
       (mail-other cyan)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-deuteranopia-light-theme.el b/ef-deuteranopia-light-theme.el
index 0b74da6ac8..defb573ca5 100644
--- a/ef-deuteranopia-light-theme.el
+++ b/ef-deuteranopia-light-theme.el
@@ -234,6 +234,12 @@
       (mail-subject blue-cooler)
       (mail-other cyan)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-duo-dark-theme.el b/ef-duo-dark-theme.el
index cb60360dec..c84f0abc35 100644
--- a/ef-duo-dark-theme.el
+++ b/ef-duo-dark-theme.el
@@ -234,6 +234,12 @@
       (mail-subject yellow-warmer)
       (mail-other cyan-warmer)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-duo-light-theme.el b/ef-duo-light-theme.el
index f76f92472e..a7bbb0ab27 100644
--- a/ef-duo-light-theme.el
+++ b/ef-duo-light-theme.el
@@ -234,6 +234,12 @@
       (mail-subject yellow-warmer)
       (mail-other cyan)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-frost-theme.el b/ef-frost-theme.el
index fe2428b1a0..3ac89a8059 100644
--- a/ef-frost-theme.el
+++ b/ef-frost-theme.el
@@ -231,6 +231,12 @@
       (mail-subject blue-cooler)
       (mail-other cyan)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-kassio-theme.el b/ef-kassio-theme.el
index 594a25ebdd..7928449b41 100644
--- a/ef-kassio-theme.el
+++ b/ef-kassio-theme.el
@@ -231,6 +231,12 @@
       (mail-subject blue)
       (mail-other magenta-faint)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-light-theme.el b/ef-light-theme.el
index fbc4507367..a8f15e6492 100644
--- a/ef-light-theme.el
+++ b/ef-light-theme.el
@@ -231,6 +231,12 @@
       (mail-subject blue-cooler)
       (mail-other cyan)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-night-theme.el b/ef-night-theme.el
index bdba8c1d97..68ca22d4d5 100644
--- a/ef-night-theme.el
+++ b/ef-night-theme.el
@@ -231,6 +231,12 @@
       (mail-subject cyan-cooler)
       (mail-other cyan-warmer)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-spring-theme.el b/ef-spring-theme.el
index ecbca07bd3..6c32b6e124 100644
--- a/ef-spring-theme.el
+++ b/ef-spring-theme.el
@@ -231,6 +231,12 @@
       (mail-subject cyan)
       (mail-other cyan-cooler)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-summer-theme.el b/ef-summer-theme.el
index 76e174e685..2760ae278a 100644
--- a/ef-summer-theme.el
+++ b/ef-summer-theme.el
@@ -231,6 +231,12 @@
       (mail-subject magenta-cooler)
       (mail-other magenta)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-symbiosis-theme.el b/ef-symbiosis-theme.el
index 3c9408bca6..521fa4dd4b 100644
--- a/ef-symbiosis-theme.el
+++ b/ef-symbiosis-theme.el
@@ -231,6 +231,12 @@
       (mail-subject magenta-cooler)
       (mail-other blue-warmer)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-themes.el b/ef-themes.el
index 8f14ef84ba..0a594267c3 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -6,7 +6,7 @@
 ;; Maintainer: Ef-Themes Development <~protesilaos/ef-themes@lists.sr.ht>
 ;; URL: https://git.sr.ht/~protesilaos/ef-themes
 ;; Mailing-List: https://lists.sr.ht/~protesilaos/ef-themes
-;; Version: 1.0.2
+;; Version: 1.0.3
 ;; Package-Requires: ((emacs "27.1"))
 ;; Keywords: faces, theme, accessibility
 
@@ -2221,17 +2221,17 @@ Optional prefix argument MAPPINGS has the same meaning 
as for
 ;;;; which-function-mode
     `(which-func ((,c :inherit bold :foreground ,fg-intense)))
 ;;;; whitespace-mode
-    `(whitespace-big-indent ((,c :background ,bg-err :foreground ,err)))
-    `(whitespace-empty ((,c :inherit whitespace-big-indent)))
-    `(whitespace-hspace ((,c :inherit whitespace-indentation)))
-    `(whitespace-indentation ((,c :background ,bg-dim :foreground ,fg-dim)))
-    `(whitespace-line ((,c :background ,bg-dim :foreground ,warning)))
-    `(whitespace-newline ((,c :inherit whitespace-indentation)))
-    `(whitespace-space ((,c :inherit whitespace-indentation)))
-    `(whitespace-space-after-tab ((,c :inherit whitespace-space-before-tab)))
-    `(whitespace-space-before-tab ((,c :background ,bg-red-intense)))
-    `(whitespace-tab ((,c :inherit whitespace-indentation)))
-    `(whitespace-trailing ((,c :inherit whitespace-space-before-tab)))
+    `(whitespace-big-indent ((,c :background ,bg-space-err)))
+    `(whitespace-empty ((,c :inherit modus-themes-intense-magenta)))
+    `(whitespace-hspace ((,c :background ,bg-space :foreground ,fg-space)))
+    `(whitespace-indentation ((,c :background ,bg-space :foreground 
,fg-space)))
+    `(whitespace-line ((,c :background ,bg-space :foreground ,warning)))
+    `(whitespace-newline ((,c :background ,bg-space :foreground ,fg-space)))
+    `(whitespace-space ((,c :background ,bg-space :foreground ,fg-space)))
+    `(whitespace-space-after-tab ((,c :inherit modus-themes-subtle-magenta)))
+    `(whitespace-space-before-tab ((,c :inherit modus-themes-subtle-cyan)))
+    `(whitespace-tab ((,c :background ,bg-space :foreground ,fg-space)))
+    `(whitespace-trailing ((,c :background ,bg-space-err)))
 ;;;; widget
     `(widget-button ((,c :inherit bold :foreground ,link)))
     `(widget-button-pressed ((,c :inherit widget-button :foreground 
,link-alt)))
diff --git a/ef-trio-dark-theme.el b/ef-trio-dark-theme.el
index e7054dd2eb..4acdbc6d58 100644
--- a/ef-trio-dark-theme.el
+++ b/ef-trio-dark-theme.el
@@ -231,6 +231,12 @@
       (mail-subject magenta)
       (mail-other cyan)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-trio-light-theme.el b/ef-trio-light-theme.el
index 9444170758..afe9a19a09 100644
--- a/ef-trio-light-theme.el
+++ b/ef-trio-light-theme.el
@@ -231,6 +231,12 @@
       (mail-subject magenta)
       (mail-other cyan)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-tritanopia-dark-theme.el b/ef-tritanopia-dark-theme.el
index d8e51f3364..9c7918dc0d 100644
--- a/ef-tritanopia-dark-theme.el
+++ b/ef-tritanopia-dark-theme.el
@@ -234,6 +234,12 @@
       (mail-subject red-warmer)
       (mail-other magenta-cooler)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-red-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-tritanopia-light-theme.el b/ef-tritanopia-light-theme.el
index 7b218ab089..cd6543e307 100644
--- a/ef-tritanopia-light-theme.el
+++ b/ef-tritanopia-light-theme.el
@@ -234,6 +234,12 @@
       (mail-subject red-warmer)
       (mail-other magenta-cooler)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-red-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)
diff --git a/ef-winter-theme.el b/ef-winter-theme.el
index 9c3541dadc..d8b0f994a6 100644
--- a/ef-winter-theme.el
+++ b/ef-winter-theme.el
@@ -231,6 +231,12 @@
       (mail-subject blue-warmer)
       (mail-other magenta-cooler)
 
+;;;; Space mappings
+
+      (bg-space unspecified)
+      (fg-space border)
+      (bg-space-err bg-yellow-intense)
+
 ;;;; Tab mappings
 
       (bg-tab-bar      bg-alt)



reply via email to

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