Commit graph

113 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 8ef5148c99
Revise the rainbow mappings of a few themes
This is because the colours they use are not thematically consistent.
I realised this after seeing the Info interface that aikrahguzar
showed me in issue 70: <https://github.com/protesilaos/ef-themes/issues/70>.
2026-03-08 18:21:57 +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 be24e3c93e
Fix the bg-paren-match symbol 2025-10-01 05:41:20 +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 e56f644407
ef-light: tweak the value of red-cooler 2024-11-14 07:47:19 +02:00
Protesilaos Stavrou be0b331b3e
ef-light: make rainbow-2 mapping a bit less intense 2024-09-16 10:00:50 +03:00
Protesilaos Stavrou 437b18b150
ef-light: tone down fg-alt 2024-09-16 09:59:12 +03:00
Protesilaos Stavrou f6aaa94238
ef-light: make the link map to blue-warmer
It looks a bit better in context.
2024-09-16 09:56:27 +03:00
Protesilaos Stavrou d878152ef5
ef-light: make blue-faint a bit less intense 2024-09-16 09:56:10 +03:00
Protesilaos Stavrou 972a9b3e08
ef-light: make the diff added colours a bit more intense 2024-09-16 09:48:53 +03:00
Protesilaos Stavrou 08ee181bb9
ef-light: refine the fg-dim value to stand out a bit more 2024-09-16 09:45:39 +03:00
Protesilaos Stavrou a8f93da378
Define new bg-search-match mapping and use it 2024-08-27 09:10:23 +03:00
Protesilaos Stavrou 040c83b458
ef-light: make blue a bit darker 2024-04-26 21:20:08 +03:00
Protesilaos Stavrou 3f25c4a30a
ef-light: tweak blue-faint value and use it for rainbow-1 mappings 2024-04-26 21:19:42 +03:00
Protesilaos Stavrou 2d683fbd84
ef-light: slight tone down the preprocessor red 2024-04-22 15:59:44 +03:00
Protesilaos Stavrou fad7cc60e3
Make refinements to some graph colours in all light themes 2024-03-22 07:26:32 +02:00
Protesilaos Stavrou 4d11f40d46
Add semantic mappings for terminal colours 2024-03-05 12:30:17 +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 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 4a26140e21
ef-light: make minor tweaks to diff colours 2023-06-18 09:42:53 +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 6eef76fd65
Ensure diary and holiday colours are distinct and legible 2023-05-22 09:08:59 +03:00
Protesilaos Stavrou 23c7ec8afd
Convert all palette override variables into user options 2023-05-16 18:40:39 +03:00