Commit graph

2729 commits

Author SHA1 Message Date
Protesilaos Stavrou 3f3655451b
Make a small clarification to the Commentary of each file 2025-11-01 07:03:21 +02:00
Protesilaos Stavrou 98c3e0b815
Document the modus-themes-preview-mode and its key bindings 2025-11-01 06:10:50 +02:00
Protesilaos Stavrou d05bd5dde5
Extend modus-themes-preview-mode with commands to copy colors or palette entries 2025-11-01 06:10:50 +02:00
Protesilaos Stavrou 83c34e9726
Make the elisp-feature face use the constant mapping
Normally features get the font-lock-constant-face, but there may be
scenaria where the generic font-lock is not doing the right thing,
whereas the semantic highlighting will. So having this face takes care
of the latter.

Thanks to Eshel Yaron for explaining this to me in the discussion
around Emacs bug 79677: <https://lists.gnu.org/archive/html/bug-gnu-emacs/2025-10/msg01156.html>.
2025-10-31 17:29:38 +02:00
Protesilaos Stavrou c2acde4a47
Merge pull request #168 from wyuenho/patch-1
Fix powerline theme definitions for inactive states
2025-10-31 10:14:23 +02:00
Jimmy Yuen Ho Wong e52f388522
Fix powerline theme definitions for inactive states 2025-10-30 22:47:47 +00:00
Protesilaos Stavrou 223e813805
Swap the style of elisp-shadowed-variable and elisp-shadowing-variable
This is in response to further feedback from Eshel Yaron in Emacs bug
79677: <https://lists.gnu.org/archive/html/bug-gnu-emacs/2025-10/msg01156.html>.
2025-10-30 12:27:17 +02:00
Protesilaos Stavrou acc01872a3
Make the org-list-dt foreground slightly different than the main one 2025-10-30 11:30:21 +02:00
Protesilaos Stavrou 920f7ae8b2
Tweak the org-dispatcher-highlight 2025-10-30 11:29:02 +02:00
Protesilaos Stavrou 0648a01dee
Simplify the minibuffer-depth-indicator 2025-10-30 11:19:27 +02:00
Protesilaos Stavrou 51e067c9df
Change the modus-vivendi-tinted mapping for variable-use 2025-10-30 07:29:15 +02:00
Protesilaos Stavrou 39e2c01cc0
Tweak modus-operandi-tritanopia slate value 2025-10-30 07:28:20 +02:00
Protesilaos Stavrou 19b21a3876
Add support for Emacs Lisp semantic highlighting (Emacs 31)
Thanks to Eshel Yaron, the author of this feature, for (i) asking me
to add theme support and (ii) helping me understand the intended use
of semantic highlighting.

This was done in Emacs bug 79677 and on the emacs-devel mailing list:

- <https://lists.gnu.org/archive/html/bug-gnu-emacs/2025-10/msg01156.html>.
- <https://lists.gnu.org/archive/html/emacs-devel/2025-10/msg00728.html>.
2025-10-30 06:50:24 +02:00
Protesilaos Stavrou 1eb95eac3c
Tweak the modus-vivendi-tinted variable use mapping 2025-10-30 06:37:35 +02:00
Protesilaos Stavrou 71ba12c4d7
Tweak the modus-operandi-tritanopia variable use mapping 2025-10-30 06:37:21 +02:00
Protesilaos Stavrou db6c6b5e97
Tweak the modus-operandi-tritanopia function call mapping 2025-10-30 06:37:06 +02:00
Protesilaos Stavrou f4ada31861
Tweak the modus-operandi-deuteranopia function call mapping 2025-10-30 06:36:41 +02:00
Protesilaos Stavrou 60b99c1a7c
Make eglot-highlight-symbol-face more subtle 2025-10-30 06:35:57 +02:00
Protesilaos Stavrou 388f92e2d7
Make modus-vivendi-tinted rust a bit more orange 2025-10-30 05:41:25 +02:00
Protesilaos Stavrou e5f23ca184
Make all light variants of gold and olive a bit more dark 2025-10-30 05:41:20 +02:00
Protesilaos Stavrou effaf91b9c
Tweak modus-vivendi-tinted fg-sage value 2025-10-29 21:20:22 +02:00
Protesilaos Stavrou b15e40987f
Tweak modus-vivendi fg-ochre value 2025-10-29 21:19:58 +02:00
Protesilaos Stavrou 2dbcc8f903
Support font-lock-function-call-face and font-lock-variable-use-face with bespoke mappings 2025-10-29 21:19:02 +02:00
Protesilaos Stavrou 8b4e9d9ccd
Make forge-topic-unread and gnus-summary-high-read unconditionally bold
This is the intended style. I made a mistake to use modus-themes-bold.
2025-10-29 09:20:01 +02:00
Protesilaos Stavrou 33a8ca40b5
Make elfeed-search-unread-title-face always be bold
It needs it. More generally, we have this style for "unread" items in
mu4e and notmuch.
2025-10-29 09:17:07 +02:00
Protesilaos Stavrou c4b5b27ad1
Remove an old make-obsolete-variable 2025-10-29 06:44:30 +02:00
Protesilaos Stavrou 9fc269c0a6
Sort all the define-obsolete-face-alias we have for the new version 2025-10-29 06:43:09 +02:00
Protesilaos Stavrou 94878dbd9c
Move modus-themes-completion-selected closer to its related faces 2025-10-29 06:42:29 +02:00
Protesilaos Stavrou 4f707d9a53
Deprecate "key binding" face we define
This was the old way of doing things before we had the semantic
palette overrides. Back then it made sense to have a face and then
inherit it, otherwise it was impossible to track was "means" what.
2025-10-29 06:40:12 +02:00
Protesilaos Stavrou 85101fb4ab
Deprecate all the "prominent error" faces we define
This was the old way of doing things before we had the semantic
palette overrides. Back then it made sense to have a face and then
inherit it, otherwise it was impossible to track was "means" what.
2025-10-29 06:40:12 +02:00
Protesilaos Stavrou 8f39cafdda fixup! Deprecate all the "mark" faces we define 2025-10-29 06:30:00 +02:00
Protesilaos Stavrou fce1a5e835
Remove the declaration of faces that are already obsolete 2025-10-29 06:29:25 +02:00
Protesilaos Stavrou d90dffe3cf
Deprecate all the "prose markup" faces we define
This was the old way of doing things before we had the semantic
palette overrides. Back then it made sense to have a face and then
inherit it, otherwise it was impossible to track was "means" what.
2025-10-29 06:18:26 +02:00
Protesilaos Stavrou d25d0318ad
Deprecate all the "mark" faces we define
This was the old way of doing things before we had the semantic
palette overrides. Back then it made sense to have a face and then
inherit it, otherwise it was impossible to track was "means" what.
2025-10-29 06:14:40 +02:00
Protesilaos Stavrou 589b49cea0
Deprecate all the "lang error" faces we define
This was the old way of doing things before we had the semantic
palette overrides. Back then it made sense to have a face and then
inherit it, otherwise it was impossible to track was "means" what.
2025-10-29 05:57:25 +02:00
Protesilaos Stavrou 7183244783
Deprecate all the "search rx" faces we define
This was the old way of doing things before we had the semantic
palette overrides. Back then it made sense to have a face and then
inherit it, otherwise it was impossible to track was "means" what.
2025-10-29 05:54:40 +02:00
Protesilaos Stavrou f8514d5e15
Deprecate all the "search" faces we define
This was the old way of doing things before we had the semantic
palette overrides. Back then it made sense to have a face and then
inherit it, otherwise it was impossible to track was "means" what.
2025-10-29 05:51:34 +02:00
Protesilaos Stavrou 8803f696cd
Update the Commentary of all the files 2025-10-29 05:43:01 +02:00
Protesilaos Stavrou 647f117506
Add FIXME to autoload the theme palettes
There has to be a way. I feel I am missing some detail.
2025-10-29 05:38:19 +02:00
Protesilaos Stavrou f7ac5a6aa0
Tweak the fg-alt value of modus-themes-operandi-tritanopia-palette 2025-10-27 07:28:09 +02:00
Protesilaos Stavrou ae80e32ea7
Deprecate all remaining colour-specific faces that we define
These should be replaced with semantic palette mappings. But I can do
that for version 5.1.0. Right now, I am interested in the groundwork.
2025-10-26 10:10:17 +02:00
Protesilaos Stavrou ea426e5c90
Acknowledge Kevin Fleming for commit c681422
The change is small, meaning that Kevin does not need to assign
copyright to the Free Software Foundation.

This was done in pull request 166, fixing a regression that I
introduced in commit 08820b2: <https://github.com/protesilaos/modus-themes/pull/166>.
2025-10-26 07:15:51 +02:00
Protesilaos Stavrou e6463c0e21
Reinstate the generic typography faces
This is to ensure that we do not get unwanted styles in some cases, as
reported by chainedghost in issue 167:
<https://github.com/protesilaos/modus-themes/issues/167>.
2025-10-26 07:14:10 +02:00
Protesilaos Stavrou f6d56513dd
Merge pull request #166 from ktfleming/main
Add missing parentheses on proced faces
2025-10-26 07:12:01 +02:00
Kevin Fleming c681422305
Add missing parentheses on proced faces 2025-10-25 18:44:58 +01:00
Protesilaos Stavrou f6fe42f046
Use the 'comment' mapping instead of 'fg-dim' for three more comment-related faces 2025-10-25 16:32:38 +03:00
Protesilaos Stavrou a8d8332398
Set the missing foreground for the Git commit/rebase comment headers
This fixes a regression that was introduced by commit 08820b2.
2025-10-25 16:30:10 +03:00
Protesilaos Stavrou 493bd7a243
Fix broken parentheses 2025-10-25 10:56:12 +03:00
Protesilaos Stavrou 08820b2599
BREAKING Be much more conservative with :inherit
This is related to Emacs bug#79672: <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79672>.

What I did was to review ALL the uses of :inherit and try to do the
following:

- Limit recursive inheritence.
- Inherit from Modus faces.
- Do not inherit when semantic palette mappings can be used directly.

There are some exceptions, but the idea is to rely less on :inherit
and more on the palette entries we provide. This is anyway good for
us: I needed to make this change since I introduce the semantic
palette mappings.

In the process of doing this I also reviewed lots of faces. I might
have made some mistakes, but things are looking good overall.
2025-10-25 08:30:08 +03:00
Protesilaos Stavrou 0a2c7b84b1
Make the escape-glyph use a more appropriate semantic colour mapping
Also make it bold if modus-themes-bold-constructs is non-nil.
2025-10-25 06:48:47 +03:00