[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-themes 6940c37554 5/5: Add semantic color mapping
From: |
ELPA Syncer |
Subject: |
[elpa] externals/modus-themes 6940c37554 5/5: Add semantic color mappings for active arguments/values |
Date: |
Sat, 9 Dec 2023 03:58:20 -0500 (EST) |
branch: externals/modus-themes
commit 6940c3755404ea6f918f377fda90e7571ee536ab
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add semantic color mappings for active arguments/values
---
modus-operandi-deuteranopia-theme.el | 5 +++++
modus-operandi-theme.el | 5 +++++
modus-operandi-tinted-theme.el | 5 +++++
modus-operandi-tritanopia-theme.el | 5 +++++
modus-themes.el | 10 +++++-----
modus-vivendi-deuteranopia-theme.el | 5 +++++
modus-vivendi-theme.el | 5 +++++
modus-vivendi-tinted-theme.el | 5 +++++
modus-vivendi-tritanopia-theme.el | 5 +++++
9 files changed, 45 insertions(+), 5 deletions(-)
diff --git a/modus-operandi-deuteranopia-theme.el
b/modus-operandi-deuteranopia-theme.el
index 0363fb2be1..d4217e8721 100644
--- a/modus-operandi-deuteranopia-theme.el
+++ b/modus-operandi-deuteranopia-theme.el
@@ -241,6 +241,11 @@ standard)."
(bg-prominent-note bg-cyan-intense)
(fg-prominent-note fg-main)
+ (bg-active-argument bg-yellow-nuanced)
+ (fg-active-argument yellow-warmer)
+ (bg-active-value bg-blue-nuanced)
+ (fg-active-value blue-warmer)
+
;;;; Code mappings
(builtin magenta-warmer)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 39cb6a90f6..88e4b49c82 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -239,6 +239,11 @@ which corresponds to a minimum contrast in relative
luminance of
(bg-prominent-note bg-cyan-intense)
(fg-prominent-note fg-main)
+ (bg-active-argument bg-yellow-nuanced)
+ (fg-active-argument yellow-warmer)
+ (bg-active-value bg-cyan-nuanced)
+ (fg-active-value cyan-warmer)
+
;;;; Code mappings
(builtin magenta-warmer)
diff --git a/modus-operandi-tinted-theme.el b/modus-operandi-tinted-theme.el
index c5c3e4329c..277bc60966 100644
--- a/modus-operandi-tinted-theme.el
+++ b/modus-operandi-tinted-theme.el
@@ -239,6 +239,11 @@ which corresponds to a minimum contrast in relative
luminance of
(bg-prominent-note bg-cyan-intense)
(fg-prominent-note fg-main)
+ (bg-active-argument bg-yellow-nuanced)
+ (fg-active-argument yellow-warmer)
+ (bg-active-value bg-cyan-nuanced)
+ (fg-active-value cyan-warmer)
+
;;;; Code mappings
(builtin magenta-warmer)
diff --git a/modus-operandi-tritanopia-theme.el
b/modus-operandi-tritanopia-theme.el
index 8ebc719921..96a6c9eb05 100644
--- a/modus-operandi-tritanopia-theme.el
+++ b/modus-operandi-tritanopia-theme.el
@@ -241,6 +241,11 @@ standard)."
(bg-prominent-note bg-cyan-intense)
(fg-prominent-note fg-main)
+ (bg-active-argument bg-red-nuanced)
+ (fg-active-argument red-warmer)
+ (bg-active-value bg-cyan-nuanced)
+ (fg-active-value cyan)
+
;;;; Code mappings
(builtin magenta)
diff --git a/modus-themes.el b/modus-themes.el
index d6d7aeaa24..65cbeaeeac 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -2234,7 +2234,7 @@ FG and BG are the main colors."
`(el-search-occur-match ((,c :inherit match)))
;;;;; eldoc
;; NOTE: see https://github.com/purcell/package-lint/issues/187
- (list 'eldoc-highlight-function-argument `((,c :inherit
modus-themes-mark-alt)))
+ (list 'eldoc-highlight-function-argument `((,c :inherit bold :background
,bg-active-argument :foreground ,fg-active-argument)))
;;;;; eldoc-box
`(eldoc-box-body ((,c :background ,bg-dim :foreground ,fg-main)))
`(eldoc-box-border ((,c :background ,border)))
@@ -2427,7 +2427,7 @@ FG and BG are the main colors."
`(font-lock-variable-name-face ((,c :foreground ,variable)))
`(font-lock-warning-face ((,c :inherit modus-themes-bold :foreground
,warning)))
;;;;; geiser
- `(geiser-font-lock-autodoc-current-arg ((,c :inherit
modus-themes-mark-alt)))
+ `(geiser-font-lock-autodoc-current-arg ((,c :inherit bold :background
,bg-active-argument :foreground ,fg-active-argument)))
`(geiser-font-lock-autodoc-identifier ((,c :foreground ,docstring)))
`(geiser-font-lock-doc-button ((,c :inherit button)))
`(geiser-font-lock-doc-link ((,c :inherit button)))
@@ -3184,7 +3184,7 @@ FG and BG are the main colors."
`(org-agenda-calendar-daterange ((,c :foreground ,date-range)))
`(org-agenda-calendar-event ((,c :foreground ,date-event)))
`(org-agenda-calendar-sexp ((,c :inherit (modus-themes-slant
org-agenda-calendar-event))))
- `(org-agenda-clocking ((,c :inherit modus-themes-mark-alt)))
+ `(org-agenda-clocking ((,c :inherit bold :background ,bg-active-argument
:foreground ,fg-active-argument)))
`(org-agenda-column-dateline ((,c :background ,bg-inactive)))
`(org-agenda-current-time ((,c :foreground ,date-now)))
`(org-agenda-date ((,c ,@(modus-themes--heading 'agenda-date
date-weekday))))
@@ -3697,7 +3697,7 @@ FG and BG are the main colors."
`(transient-amaranth ((,c :inherit bold :foreground ,yellow-warmer)))
;; Placate the compiler for what is a spurious warning. We also
;; have to do this with `eldoc-highlight-function-argument'.
- (list 'transient-argument `((,c :inherit (bold modus-themes-mark-alt))))
+ (list 'transient-argument `((,c :inherit bold :background
,bg-active-argument :foreground ,fg-active-argument)))
`(transient-blue ((,c :inherit bold :foreground ,blue)))
`(transient-disabled-suffix ((,c :inherit modus-themes-mark-del)))
`(transient-enabled-suffix ((,c :inherit modus-themes-subtle-cyan)))
@@ -3724,7 +3724,7 @@ FG and BG are the main colors."
`(transient-teal ((,c :inherit bold :foreground ,cyan-cooler)))
`(transient-unreachable ((,c :inherit shadow)))
`(transient-unreachable-key ((,c :inherit shadow)))
- `(transient-value ((,c :inherit (bold modus-themes-mark-sel))))
+ `(transient-value ((,c :inherit bold :background ,bg-active-value
:foreground ,fg-active-value)))
;;;;; trashed
`(trashed-deleted ((,c :inherit modus-themes-mark-del)))
`(trashed-directory ((,c :foreground ,accent-0)))
diff --git a/modus-vivendi-deuteranopia-theme.el
b/modus-vivendi-deuteranopia-theme.el
index 34f67d380f..79a0cb1b14 100644
--- a/modus-vivendi-deuteranopia-theme.el
+++ b/modus-vivendi-deuteranopia-theme.el
@@ -240,6 +240,11 @@ standard)."
(bg-prominent-note bg-cyan-intense)
(fg-prominent-note fg-main)
+ (bg-active-argument bg-yellow-nuanced)
+ (fg-active-argument yellow-warmer)
+ (bg-active-value bg-blue-nuanced)
+ (fg-active-value blue-warmer)
+
;;;; Code mappings
(builtin magenta-warmer)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 25a2593a18..fd87134332 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -238,6 +238,11 @@ which corresponds to a minimum contrast in relative
luminance of
(bg-prominent-note bg-cyan-intense)
(fg-prominent-note fg-main)
+ (bg-active-argument bg-yellow-nuanced)
+ (fg-active-argument yellow-cooler)
+ (bg-active-value bg-cyan-nuanced)
+ (fg-active-value cyan-cooler)
+
;;;; Code mappings
(builtin magenta-warmer)
diff --git a/modus-vivendi-tinted-theme.el b/modus-vivendi-tinted-theme.el
index 5120ce40ce..c99cd32059 100644
--- a/modus-vivendi-tinted-theme.el
+++ b/modus-vivendi-tinted-theme.el
@@ -238,6 +238,11 @@ which corresponds to a minimum contrast in relative
luminance of
(bg-prominent-note bg-cyan-intense)
(fg-prominent-note fg-main)
+ (bg-active-argument bg-yellow-nuanced)
+ (fg-active-argument yellow-cooler)
+ (bg-active-value bg-cyan-nuanced)
+ (fg-active-value cyan-cooler)
+
;;;; Code mappings
(builtin magenta-warmer)
diff --git a/modus-vivendi-tritanopia-theme.el
b/modus-vivendi-tritanopia-theme.el
index c922f84f70..d653ce311c 100644
--- a/modus-vivendi-tritanopia-theme.el
+++ b/modus-vivendi-tritanopia-theme.el
@@ -241,6 +241,11 @@ standard)."
(bg-prominent-note bg-cyan-intense)
(fg-prominent-note fg-main)
+ (bg-active-argument bg-red-nuanced)
+ (fg-active-argument red-warmer)
+ (bg-active-value bg-cyan-nuanced)
+ (fg-active-value cyan)
+
;;;; Code mappings
(builtin magenta)