Commit graph

161 commits

Author SHA1 Message Date
Protesilaos f71db69bad
Use "Protesilaos" instead of "Protesilaos Stavrou"
As I announced here: <https://protesilaos.com/news/2026-04-21-omitting-the-surname/>.
2026-04-24 13:27:23 +03:00
Protesilaos Stavrou b07a5d5001
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:33:11 +03:00
Protesilaos Stavrou 789cb7ea32
Revert "Add back theme-autoload cookies to all theme files"
This reverts commit b2e0aff5ed.

It does not work as intended, as reported by Daniel Colascione in
issue 202: <https://github.com/protesilaos/modus-themes/issues/202>. I
will need to make a wider revision here.
2026-03-01 12:05:46 +02:00
Protesilaos Stavrou b2e0aff5ed
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:43:20 +02:00
Protesilaos Stavrou 1343ea9947
Revert "Reinstate the theme-autoload cookie with the deftheme in place"
This reverts commit 122d53333f.

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:44:05 +02:00
Protesilaos Stavrou 122d53333f
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:48:27 +02:00
Protesilaos Stavrou 4d9a19513d
Update the copyright years 2026-01-11 12:45:54 +02:00
Protesilaos Stavrou 3f3655451b
Make a small clarification to the Commentary of each file 2025-11-01 07:03:21 +02:00
Protesilaos Stavrou 8803f696cd
Update the Commentary of all the files 2025-10-29 05:43:01 +02:00
Protesilaos Stavrou 149da8e473
Reindent the theme files after commit 085ee06
That commit removed the 'eval-and-compile' they were wrapped in, but I
did not want to also introduce spacing changes there.
2025-10-20 07:28:05 +03:00
Protesilaos Stavrou 085ee06c57
Make the modus-themes-theme a defun instead of a defmacro
I have been facing issues with the macro where certain palette entries
are not known at compile time. I want to experiment with the defun, as
it is always going to be called at runtime.
2025-10-20 07:26:37 +03:00
Protesilaos Stavrou c2016385f9
Reinstate a change that I messed up with the botched rebase 2025-09-29 21:34:54 +03:00
Protesilaos Stavrou 91b9b3f9ae
Move the theme palettes out of their respective files into modus-themes.el
This way any other package can build on top of Modus without having to
load any of those themes.
2025-09-29 20:00:44 +03:00
Protesilaos Stavrou d0a4d673ee
Revert "Redefine how themes are registered (the macro) and retrieved"
This reverts commit 6be21f1119.
2025-09-28 20:16:31 +03:00
Protesilaos Stavrou 53df07e5e8
Revert "Remove the Custom :set function from all theme files (continue from e32af5e)"
This reverts commit da5d701f6c.
2025-09-28 20:16:31 +03:00
Protesilaos Stavrou da5d701f6c
Remove the Custom :set function from all theme files (continue from e32af5e) 2025-09-28 10:46:00 +03:00
Protesilaos Stavrou 6be21f1119
Redefine how themes are registered (the macro) and retrieved 2025-09-28 10:43:02 +03:00
Protesilaos Stavrou 1fe0a3c9c4
Introduce 'property' mapping
Thanks to Alexandr Semenov for requesting this in issue 141:
<https://github.com/protesilaos/modus-themes/issues/141>.
2025-04-25 08:25:12 +03:00
Protesilaos Stavrou 792ebec01a
Make small refinements to modus-vivendi-tinted bg-paren-match value 2025-04-24 07:54:08 +03:00
Protesilaos Stavrou 16fc1ed7b0
Revert "Revise all "paren" colours to be mappings"
This reverts commit 80b8de398f.

I wanted to put this in a separate branch for me to test things, but
did it on the main branch and then released it... Reverting as this
causes problems, such as what Morgan Willcock reported in issue 139:
<https://github.com/protesilaos/modus-themes/issues/139>.
2025-04-24 07:49:03 +03:00
Protesilaos Stavrou 51c7c4dc21
Tweak modus-vivendi-tinted mail mappings for consistency 2025-04-23 13:26:57 +03:00
Protesilaos Stavrou a7a018c016
Make modus-vivendi-tinted 'mail-cite-2' more teal 2025-04-17 09:04:15 +03:00
Protesilaos Stavrou fc3c16f1da
Make modus-vivendi-tinted 'mail-cite-0' more blue 2025-04-17 09:03:56 +03:00
Protesilaos Stavrou 38b7b353ef
Change hue of accent-2 mapping in modus-vivendi-tinted 2025-04-17 09:01:45 +03:00
Protesilaos Stavrou 9e51b1b678
Make modus-vivendi-tinted 'green-cooler' a bit more bright 2025-04-17 09:01:36 +03:00
Protesilaos Stavrou 87e84aac7d
Make modus-vivendi-tinted type a bit more blue 2025-04-17 08:54:58 +03:00
Protesilaos Stavrou 5df9c6c98d
Make modus-vivendi-tinted strings blue instead of teal 2025-04-17 08:54:29 +03:00
Protesilaos Stavrou 0c03c3b34a
Use slightly different colour for mail-cite-2 in modus-vivendi-tinted 2025-04-16 14:11:33 +03:00
Protesilaos Stavrou 9966f9fd60
Tweak the mail mappings in the tinted variants 2025-04-15 08:14:52 +03:00
Protesilaos Stavrou 063ae646f0
Refine 'green-warmer' in modus-vivendi-tinted 2025-04-15 08:14:40 +03:00
Protesilaos Stavrou 4c82e40fb4
Refine the value of bg-hover-secondary in most themes 2025-04-10 13:00:41 +03:00
Protesilaos Stavrou 6725de0b9f
Further tweak the value of modus-vivendi-tinted 'green-warmer' 2025-04-10 11:17:45 +03:00
Protesilaos Stavrou e520baff18
Tweak the value of modus-vivendi-tinted 'green-warmer' 2025-04-10 11:10:56 +03:00
Protesilaos Stavrou 3c3096178d
Make modus-vivendi-tinted 'green-warmer' less intense 2025-04-08 08:45:51 +03:00
Protesilaos Stavrou 453f69b436
Make modus-vivendi-tinted 'red-faint' a bit darker 2025-04-08 08:45:42 +03:00
Protesilaos Stavrou 42e161138b
REMOVE bg-char mappings and use search faces for Avy and related
These are like search matches, anyway, plus we make the code more
simple on our end.
2025-04-07 08:32:47 +03:00
Protesilaos Stavrou 80b8de398f
Revise all "paren" colours to be mappings 2025-04-07 08:23:51 +03:00
Protesilaos Stavrou 03312ad25c
REVISE the style of modus-vivendi-tinted
I am changing some colour mappings to make the theme more consistent.
It should still feel close to how it was before.
2025-04-06 09:21:05 +03:00
Protesilaos Stavrou 5341ab74e7
Refine green-warmer in modus-vivendi-tinted 2025-04-06 09:17:30 +03:00
Protesilaos Stavrou 4661315930
Update copyright header years in the theme files 2025-04-06 08:50:52 +03:00
Protesilaos Stavrou 55609222f9
Change the accent mappings in modus-vivendi-tinted for stylistic consistency 2025-03-27 10:43:01 +02:00
Protesilaos Stavrou 9f3dba14ec
Make further changes to the red-cooler value in the dark themes (extends 414de69) 2024-10-19 12:31:16 +03:00
Protesilaos Stavrou 414de6955c
Tweak the red-cooler value in all the Vivendi variants 2024-10-18 20:15:52 +03:00
Protesilaos Stavrou 77a0310b5c
Revise colours for deadlines and scheduled tasks
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: <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-10-18 13:14:24 +03:00
Protesilaos Stavrou a9f709e344
Add more semantic palette mappings for code constructs 2024-07-09 09:38:40 +03:00
Protesilaos Stavrou 573db128a0
Implement "user" palette extension (common or per-theme) 2024-06-24 23:11:37 +03:00
Protesilaos Stavrou 1090a80a76
Define more special colour pairs 2024-06-03 18:54:16 +03:00
Protesilaos Stavrou d28a6af77b
Fix the value of fg-prose-code which I changed by accident 2024-03-17 15:16:17 +02:00
Protesilaos Stavrou d33c545153
Add semantic mappings for inline code backgrounds in addition to foregrounds; plus docs 2024-03-17 08:20:29 +02:00
Protesilaos Stavrou 6179c6b29c
Tweak the modus-vivendi-tinted cursor colour
The idea is to make it stand out a bit more.
2024-03-15 07:16:24 +02:00