[GNU ELPA] Modus-Themes version 5.0.0
ELPA update <[email protected]>
| Newsgroups | gmane.emacs.sources |
|---|---|
| Message-ID | <[email protected]> |
Version 5.0.0 of package Modus-Themes has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.
Modus-Themes describes itself as:
===============================================
Elegant, highly legible and customizable themes
===============================================
More at https://elpa.gnu.org/packages/modus-themes.html
## Summary:
# Modus themes for GNU Emacs
IMAGES HERE: <https://protesilaos.com/emacs/modus-themes-pictures>.
Highly accessible themes, conforming with the highest standard for
colour contrast between background and foreground values (WCAG AAA).
They also are optimised for users with red-green colour deficiency.
The themes are very customisable and provide support for a very wide
range of packages. Their manual is detailed so that new users can get
started, while it also provides custom code for all sorts of more
advanced customisations.
## Recent NEWS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CHANGE LOG OF THE MODUS THEMES FOR GNU EMACS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This document contains the release notes that are included in each
tagged commit on the project's main git repository:
<https://github.com/protesilaos/modus-themes>.
The newest release is at the top. Since the notes are meant to be in
plain text format, I copy them verbatim.
For further details, please consult these additional resources:
Manual
<https://protesilaos.com/emacs/modus-themes>
Screenshots
<https://protesilaos.com/emacs/modus-themes-pictures>
5.0.0 on 2025-11-01
═══════════════════
This is a major release. There are some small breaking changes. The
big new feature is that Modus can be used as the basis for other theme
projects. Two of my other theme packages, the `ef-themes' and the
`standard-themes' are already done in this way: their next major
versions will formalise what I have been developing for a while now
(though the `doric-themes' will remain their own thing for the time
being).
Build on top of Modus
─────────────────────
This is of immediate interest to package developers or advanced users.
It changes nothing for existing users of the Modus themes. Please
refer to the manual on the matter and feel welcome to contact me if
you have any questions—I am happy to help.
Evaluate:
┌────
│ (info "(modus-themes) Build on top of the Modus themes")
└────
Or visit:
<https://protesilaos.com/emacs/modus-themes#h:86eb375b-9be4-43ce-879a-0686a524a63b>.
Why build on top of Modus? To benefit from (i) the wide face coverage
and extensive detail-oriented testing, (ii) the use of palette
mappings, (iii) the palette preview done with
`modus-themes-list-colors' or related, (iv) the inclusion of the
derivative theme in the workings of all Modus commands that load a
theme, like `modus-themes-rotate' and `modus-themes-select' (see the
new minor mode `modus-themes-include-derivatives-mode').
Derivative themes can be as simple as a few extra colours on top of,
say, `modus-operandi'. They can also be more involved, with new
palette mappings and custom faces that use them. Such themes can
define commands which load only their own themes (see
`modus-themes-define-derivative-command') and they can even take over
the Modus themes completely, in terms of becoming the only ones that
are exposed to the commands that load a theme, like
`modus-themes-rotate' and `modus-themes-select'.
Thanks to Suleyman Boyar for fixing an intermediate omission with an
earlier version of the code that derives a theme. I did eventually
change the whole approach to use a function instead of a macro, but
Suleyman's contribution was still useful at the time. This was done in
pull request 156:
<https://github.com/protesilaos/modus-themes/pull/156>. The change is
small, meaning that Suleyman does not need to assign copyright to the
Free Software Foundation.
Colours can be copied from the palette preview buffer
─────────────────────────────────────────────────────
The commands `modus-themes-list-colors' and
`modus-themes-list-colors-current' display the given theme's palette
in a tabulated listing. Each line visualises the colour it
references. From that buffer it is now possible to call the following
commands (bound to the `modus-themes-preview-mode-map'):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Default key binding Name of the command
─────────────────────────────────────────────────────────────
`w' `modus-themes-preview-mode-copy-color'
`W' `modus-themes-preview-mode-copy-entry'
`m' `modus-themes-preview-mode-mark'
`M' `modus-themes-preview-mode-mark-all'
`u' `modus-themes-preview-mode-unmark'
`U' `modus-themes-preview-mode-unmark-all'
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
… …