Commit graph

75 commits

Author SHA1 Message Date
Protesilaos a2e896223b
Use "Protesilaos" instead of "Protesilaos Stavrou"
As I announced here: <https://protesilaos.com/news/2026-04-21-omitting-the-surname/>.
2026-04-24 13:26:56 +03:00
Protesilaos Stavrou da4229a615
Reinstate 'provide' in all theme files
I thought this was not needed, but Ihor Radchenko showed me a useful
example. This was done in issue 207: <https://github.com/protesilaos/modus-themes/issues/207>.
2026-04-05 16:36:50 +03:00
Protesilaos Stavrou e9ec05043a
Add support for the bg-popup palette entry
This is now introduced in the modus-themes.git. Thanks to aikrahguzar
for suggesting this in issue 70: <https://github.com/protesilaos/ef-themes/issues/70>.
2026-03-15 21:37:13 +02:00
Protesilaos Stavrou 9f68c1be9d
Add back theme-autoload cookies to all theme files
I tried to do this with a recent commit but that broke things because
I also included a deftheme declaration. Having that meant that
modus-themes-theme would not declare the theme with all its data,
including its palette.

I looked at loaddefs-generate--emacs-batch and it seems that having
just the theme-autoload line is enough.
2026-02-19 08:47:38 +02:00
Protesilaos Stavrou 2c1e997ea1
Revert "Reinstate the theme-autoload cookie with the deftheme in place"
This reverts commit a4b5f93530.

The reason is that this breaks the package when trying to load a theme
at startup. This was reported by Eamonn Sullivan in issue 69 in the
ef-themes repository: <https://github.com/protesilaos/ef-themes/issues/69>.
2026-02-18 20:42:21 +02:00
Protesilaos Stavrou a4b5f93530
Reinstate the theme-autoload cookie with the deftheme in place
We need this because otherwise the autolaods are not generated
properly, which can cause problems for other packages that need to
read the theme data.
2026-02-18 18:46:12 +02:00
Protesilaos Stavrou f3f074d5fb
Revise the bg-inactive value in most themes
It was too subtle.
2026-02-17 09:55:52 +02:00
Protesilaos Stavrou e6653f5345
Remove ef-themes-custom-faces
It is not needed. I had it there because some colour no longer had the
same mappings after refactoring the themes to be built on top of
Modus. But I am in the process of reviewing those colours now.
2026-02-17 09:48:12 +02:00
Protesilaos Stavrou 0412300d2f
Update copyright years 2026-01-11 12:46:45 +02:00
Protesilaos Stavrou 70c81a9574
Use modus-themes-generate-palette in all themes
I did the changes with keyboard macros as usual. I now notice that
some themes have 26 changes while others have 28. This should probably
be due to some older inconsequential irregularities. I loaded each
theme right now and they all seem okay, so I will let this pass. If
anybody reports a bug, I am always happy to fix it.

At any rate, the main point for this change is to (i) ensure that we
get a complete palette while (ii) that we register the theme's palette
as a "core palette" because these are the correct semantics (e.g. that
ef-light ultimately may have inherited something from modus-operandi
is not relevant to the question "what is your core theme?").
2025-11-26 18:51:08 +02:00
Protesilaos Stavrou 42d202b6a9
Fix all prompt and mark mappings 2025-11-13 11:30:41 +02:00
Protesilaos Stavrou ef5e81af58
Update the copyright years in all the theme files
ef-kassio also had a different notice about whether this file is part
of Emacs. I remember reading before that GNU ELPA packages are part of
Emacs, though I prefer to have that notice only if they are part of
emacs.git.
2025-11-09 07:28:48 +02:00
Protesilaos Stavrou a39b134911
Support the fnname-call and variable-use mappings
Those are used by tree-sitter and related faces.
2025-10-30 18:14:29 +02:00
Protesilaos Stavrou 8837e72d4e
Make the ef-themes work with modus-themes-theme as a function 2025-10-20 16:09:05 +03:00
Protesilaos Stavrou e6d6814758
Rename bg-search-match to bg-search-static
This is supported in the latest version of the modus-themes.
2025-10-04 08:00:30 +03:00
Protesilaos Stavrou 2312d160d0
Make sure the themes support the Modus link mappings 2025-09-30 10:59:32 +03:00
Protesilaos Stavrou 94824db97e
Rename all the partial palette symbols for consistency 2025-09-29 10:24:50 +03:00
Protesilaos Stavrou faf705ebaf
Fix all the palette symbols 2025-09-28 15:45:24 +03:00
Protesilaos Stavrou fe3f938410
Fix the symbols of the overrides options 2025-09-28 14:09:10 +03:00
Protesilaos Stavrou 90221408cc
BREAKING: Make proof-of-concept for the redesign on top of the modus-themes
I still need to re-implement the relevant commands to switch themes,
but this is already an important step forward.
2025-09-28 11:59:15 +03:00
Protesilaos Stavrou b77b26eb0b
Revise colours for deadlines and scheduled tasks (Org agenda)
The goal is two-fold:

1. Improve the semantics of relevant faces. This now covers the Org
   agenda. We want pending/urgent tasks to be rendered in a bold font
   and use a vivid colour. Whereas tasks that are not urgent should
   have a subtle colour and a normal weight. Thanks to Adam
   Porter (GitHub @alphapapa) for discussing this with me in issue
   102 on the Modus themes repository (the same principles apply
   here): <https://github.com/protesilaos/modus-themes/issues/102>.

2. Make the applicable colours be more consistent with the rest of the
   theme. In practice, this means that the colour values are cooler
   overall and the intensity is lower.
2024-11-14 07:47:47 +02:00
Protesilaos Stavrou 466d1b7444
Revise all "subtle" accented backgrounds for thematic consistency 2024-09-17 09:30:12 +03:00
Protesilaos Stavrou a8f93da378
Define new bg-search-match mapping and use it 2024-08-27 09:10:23 +03:00
Protesilaos Stavrou 4d11f40d46
Add semantic mappings for terminal colours 2024-03-05 12:30:17 +02:00
Protesilaos Stavrou 2fbe1def5d
Make all dark theme bg-{err,warning,info} a bit more pronounced 2024-02-23 07:46:44 +02:00
Protesilaos Stavrou 14d3622647
Update development links 2024-01-17 04:45:32 +02:00
Protesilaos Stavrou 26cad139ba
Update copyright years 2024-01-12 08:25:19 +02:00
Protesilaos Stavrou 809b3c5b8e
Use 'bg-fringe' and 'fg-fringe' as semantic colour mappings 2024-01-11 07:15:10 +02:00
Protesilaos Stavrou 4695feba80
emacs: implement semantic colour mappings for search constructs 2024-01-10 17:02:19 +02:00
Protesilaos Stavrou 67c49210e2
ef-cherie: tweak prose-table-formula mapping 2024-01-04 14:15:11 +02:00
Protesilaos Stavrou d6981a1c1c
Add 'fringe' semantic colour mapping 2023-12-13 09:45:02 +02:00
Protesilaos Stavrou 0a2f0078b0
Add 'prose-table-formula' semantinc colour mapping; use it in 'org-formula' 2023-11-24 10:26:20 +02:00
Protesilaos Stavrou e4feb5f9c2
BREAKING: remove 'ef-themes-region' and document how to use overrides
I am introducing the new 'fg-region' entry in each theme's palette. It
is semantic colour mapping for the region's foreground. By default, it
is set to the special 'unspecified' symbol, meaning that the region's
underlying text colour is not overriden. Setting 'fg-region' to a
colour will override all underlying region foregrounds with that one.

Using palette overrides instead of hardcoded toggles gives users
maximum flexibility over the choice of colour and exact intensity they
need.
2023-10-25 12:13:40 +03:00
Protesilaos Stavrou 559de2d160
Expand 'deftheme' with metadata
This is to support new features in Emacs where themes can specify
the set they belong to, as well as whether they are light or dark.
The built-in command is 'theme-choose-variant'.

This is in response to Emacs bug#65468:
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65468>.  Thanks to
Mauro Aranda for bringing this matter to my attention.
2023-08-25 06:45:25 +03:00
Protesilaos Stavrou fa1c39d19e
Add support for Avy; include relevant semantic colour mappings 2023-06-30 09:30:37 +03:00
Protesilaos Stavrou ed97726b08
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
2023-06-08 08:20:19 +03:00
Protesilaos Stavrou 3ea80756c3
Introduce semantic palette entries for tabs
This applies to tab-bar-mode, tab-line-mode, and related.
2023-06-04 06:58:01 +03:00
Protesilaos Stavrou 23c7ec8afd
Convert all palette override variables into user options 2023-05-16 18:40:39 +03:00
Protesilaos Stavrou 443d37bbee
BREAKING Rename coloured backgrounds to bg-NAME-intense
This is a breaking change for anyone usign palette overrides.
2023-05-16 18:33:13 +03:00
Protesilaos Stavrou 983881eb46
Introduce 'date-range' semantic mapping; support new Org face 2023-05-03 20:54:18 +03:00
Protesilaos Stavrou c5b706a271
Recalibrate "graph" colours
These tweaks ensure better contrast between adjacent colours.

The colours are most notably used by the 'org-habit' consistency
graph, which is displayed in the Org agenda.
2023-05-03 08:24:53 +03:00
Protesilaos Stavrou acb8401e32
Add missing "NOT" in some file headers 2023-04-23 13:06:42 +03:00
Protesilaos Stavrou 0a089ee975
Remove bg-accent mapping
It was only used by one face and there is no need to keep it there.
2023-04-23 08:21:20 +03:00
Protesilaos Stavrou a5904ede4d
Add outline heading for all rainbow mappings 2023-03-13 07:19:16 +02:00
Protesilaos Stavrou 30a7480634
Add outline headings for code and general mappings 2023-03-06 07:01:02 +02:00
Protesilaos Stavrou 44a6797a7d
Tweak the outline of every theme palette 2023-03-06 06:56:47 +02:00
Protesilaos Stavrou a7c9dccb94
Expand mail mappings; make tweaks to some patterns 2023-03-06 06:51:33 +02:00
Protesilaos Stavrou 0f59a5b5cb
Add outline headings for accent and mail mappings 2023-03-05 09:20:29 +02:00
Protesilaos Stavrou d281480061
Tweak prose-tag mapping in most themes 2023-03-01 15:05:45 +02:00
Protesilaos Stavrou 2ab1754f91
Add prose mappings (WORK-IN-PROGRESS)
The idea is to expand the palette to make semantic colour mappings
more "semantic" and to allow users more freedom to override what they
want.
2023-03-01 14:46:18 +02:00