Commit graph

1977 commits

Author SHA1 Message Date
Protesilaos Stavrou 6b2e660e14
Fix markup in the CHANGELOG 2023-09-22 08:30:20 +03:00
Protesilaos Stavrou 3f5953b17b
Reword statement in the manual 2023-09-22 08:30:05 +03:00
Protesilaos Stavrou 69b67b77af
Add section in the manual with modus-themes-to-toggle 2023-09-22 08:30:05 +03:00
Protesilaos Stavrou fe08a02c4c
Update to modus-themes version 4.3.0 2023-09-19 15:53:41 +03:00
Protesilaos Stavrou 562e27b23d
Document correct name of japanese-holidays package 2023-09-19 15:40:59 +03:00
Protesilaos Stavrou 457e8cfe94
Add support for nerd-icons-completion 2023-09-19 10:45:48 +03:00
Protesilaos Stavrou 9c8d863f3f
Fix regression in modus-themes--heading about t value
Thanks to Lasse Lindner for bringing this matter to my attention.
This was done in issue 312 on the GitLab mirror:
<https://gitlab.com/protesilaos/modus-themes/-/issues/312>.
2023-09-18 08:14:49 +03:00
Protesilaos Stavrou 76109e4a28
Add support for new appt-notification face (Emacs 30) 2023-09-16 12:05:00 +03:00
Protesilaos Stavrou b4ae827560
Fix typo in modus-themes-preset-overrides-intense
Thanks to Nicolas Semrau for bringing this matter to my attention.  It
was done in issue 90 on the GitHub mirror:
<https://github.com/protesilaos/modus-themes/issues/90>.
2023-09-13 18:40:12 +03:00
Protesilaos Stavrou 70bbeed80f
Add support for breadcrumb package
A new package by João Távora:
<https://elpa.gnu.org/packages/breadcrumb.html>.
2023-09-13 13:18:07 +03:00
Protesilaos Stavrou b23c84e6b4
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:37:18 +03:00
Protesilaos Stavrou ad36c88feb
Add support for corfu-candidate-overlay
Thanks to Nicolas Semrau for mentioning this package.  It was done in
issue 89 on the GitHub mirror:
<https://github.com/protesilaos/modus-themes/issues/89>.
2023-08-21 09:55:14 +03:00
Protesilaos Stavrou 7b65e735b8
Add semantic colour mappings for terminal emulators
These are used by ansi-term, vterm, and the like.  The idea is to
empower users to differentiate background and foreground values.  By
convention, terminal emulators use the same value for both background
and foreground, although this is not optimal with high contrast themes
because what works as a foreground does not necessarily look nice as a
background.

The default values of the new mappings retain the prior state, just to
not break existing configurations.

Thanks to Tony Zorman for reporting the bug that provided the impetus
for this change:
<https://lists.sr.ht/~protesilaos/modus-themes/%3C87fs4wforf.fsf%40hyperspace%3E>.
2023-08-10 12:28:08 +03:00
Protesilaos Stavrou 69f6ad2545
Tweak string mapping of modus-themes-preset-overrides-warmer 2023-08-10 12:08:13 +03:00
Protesilaos Stavrou a42240aa71
Update Acknowledgements for commit f6f0ef6
The change is about one line and thus does not require copyright
assignment to the Free Software Foundation.
2023-08-04 12:33:55 +03:00
fluentpwn f6f0ef6680
Set org-document-info-keyword back to fixed pitch font 2023-08-04 12:33:03 +03:00
Protesilaos Stavrou 221bfffdc1
Remove "hover" overrides from "faint" preset
Those contradict the changes done in commit 4e331d2.  In short, we
want a different colour for the hover effects so that it is not
mistaken for other elements.

Thanks to Daniel Mendler[1] for bringing this matter to my attention.
This was done via a private channel and the information is shared with
permission.

[1] <https://github.com/minad>
2023-08-04 12:23:04 +03:00
Protesilaos Stavrou c00930f4ff
Revise prose-metadata and prose-table in "intense" preset overrides
The previous colours did not combine nicely with all structural
elements.  For example, Org clocktables would obscure timestamps by
being the same colour as them, while the table formula would not stand
out.  These styles did not fit into the concept of "intense" colours.
2023-08-04 11:21:41 +03:00
Protesilaos Stavrou b9fdda5e5d
Make completion candidates a table with 'theme' category
This allows the user to target the 'theme' completion category in
order to affect the relevant functions.  For example, to set
completion styles with 'completion-category-overrides' or define a
custom annotation function with the 'marginalia' package.
2023-07-18 07:12:42 +03:00
Protesilaos Stavrou 3f330da835
Simplify modus-themes-toggle 2023-07-18 07:11:43 +03:00
Protesilaos Stavrou b0f35918ef
Reformat modus-themes--toggle-theme-p 2023-07-18 07:11:31 +03:00
Protesilaos Stavrou 561497cafa
Make modus-themes--annotate-theme more robust 2023-07-18 07:11:10 +03:00
Protesilaos Stavrou b8d38c3b06
Acknowledge Stephen Berman for commit 430a812 2023-07-16 06:13:46 +03:00
Protesilaos Stavrou 430a812d41
Backport emacs.git commit 4cf33b6bd02b868ebbf112da7926d7c3c64517ce
It removed the space from the front matter because the Org export did
not produce the right results, per Emacs bug#64548.
2023-07-16 06:12:01 +03:00
Protesilaos Stavrou 4e331d27de
Revise bg-hover hue in all themes except tritanopia
The previous colour was not sufficiently distinct from bg-completion.
This would make it hard to spot the difference while, for example,
using 'vertico-mode' in tandem with 'vertico-mouse-mode'.

Same principle for the difference between the mouse hover and lazy
isearch highlights (e.g. in Dired or Occur buffers).

Changing the hue here follows the same principle that underpinned the
redesign of the grey backgrounds for version 4 of the project:
depending on hardware capabilities, colour reproduction may not be
optimal, so we need to be more considerate with the choice of colour
values.

The tritanopia themes are not affected by this, as they already use
highly distinct hues.

Thanks to Daniel Mendler[1] for bringing this matter to my attention
and for testing the proposed alternatives.  This was done via a
private channel and the information is shared with permission.

[1] <https://github.com/minad>
2023-07-07 09:52:13 +03:00
Protesilaos Stavrou 960571c1ec
Add support for erts-mode
Thanks to Kevin Fleming for informing me about this built-in mode.
This was done in issue 85 on the GitHub mirror:
<https://github.com/protesilaos/modus-themes/issues/85>.
2023-07-04 22:10:36 +03:00
Protesilaos Stavrou 7ef62b72fc
modus-operandi-deuteranopia: tweak bg-removed-refine value 2023-06-30 16:15:41 +03:00
Protesilaos Stavrou eb59dcc178
modus-vivendi-deuteranopia: tweak bg-removed-refine value 2023-06-30 16:15:27 +03:00
Protesilaos Stavrou ea9c8ba7bb
Update docs to remove long-unsupported 'sx' package 2023-06-30 09:42:10 +03:00
Protesilaos Stavrou 114c17568c
REMOVE explicit support for css-mode
Its default faces are decent and they inherit from standard font-lock
faces that the themes already cover.
2023-06-30 09:40:48 +03:00
Protesilaos Stavrou 576f902613
Use more appropriate style for Git commit summary
The 'success' face is designed to contrast with the 'warning' face
that is used to show overlong summaries.  Furthermore, we must not
hardcode the blue colour, as it is not suitable for tritanopia.
2023-06-30 09:22:02 +03:00
Protesilaos Stavrou ce84d5261a
modus-operandi-tritanopia: refine bg-char (used by Avy) 2023-06-30 09:21:51 +03:00
Protesilaos Stavrou 70e3d983a7
modus-vivendi-tritanopia: refine bg-char (used by Avy) 2023-06-30 09:21:03 +03:00
Protesilaos Stavrou ae602dda25
Make bg-dim marginally brighter in all modus-operandi variants
After extensive testing and side-by-side comparisons, I have concluded
that the marginal increase in brightness improves the affected
interfaces.

The 'bg-dim' background is used, among others, in the header-line, the
company/corfu popup, and the Org source blocks (when the user option
'modus-themes-org-blocks' is configured appropriately).
2023-06-25 16:27:29 +03:00
Protesilaos Stavrou 5f5be291f0
Make reference in the manual to my spacious-padding package
Read about it on my website:
<https://protesilaos.com/codelog/2023-06-03-emacs-spacious-padding/>.
2023-06-25 16:15:13 +03:00
Protesilaos Stavrou 99b23d6983
Add support for japanese-holidays
Thanks to Olaf Meeuwissen for bringing this package to my attention
and showing me how traditional Japanese calendars style Saturdays.
This was done in issue 311 on the GitLab mirror:
<https://gitlab.com/protesilaos/modus-themes/-/issues/311>.
2023-06-15 07:22:14 +03:00
Protesilaos Stavrou 4ef638c53b
Rewrite docs about Org custom faces
Thanks to soaringbird for reporting the issue with the incorrect use
of a quoted list.  This was done on the mailing list:
<https://lists.sr.ht/~protesilaos/modus-themes/%3CNXPVkVk--3-9%40tuta.io%3E>.
2023-06-10 05:43:25 +03:00
Protesilaos Stavrou 0f3e96982c
Revise "orange" mapping for all-the-icons and nerd-icons 2023-06-02 07:18:36 +03:00
Protesilaos Stavrou 3d3bb621a8
Add support for nerd-icons, nerd-icons-dired, nerd-icons-ibuffer 2023-06-02 07:13:55 +03:00
Protesilaos Stavrou a672fb6720
Correct some mistakes in all-the-icons faces 2023-06-02 07:12:24 +03:00
Protesilaos Stavrou 5082d4363c
Add support for blink-matching-paren-highlight-offscreen (Emacs 30) 2023-06-02 07:12:02 +03:00
Protesilaos Stavrou 1fdb0676f9
Add missing keywords to modus-vivendi-tritanopia header 2023-06-02 06:08:29 +03:00
Basil L. Contovounesios db6ea48ac9
Mark up nil as ~nil~ in manual 2023-06-02 06:07:47 +03:00
Protesilaos Stavrou b4ef90bb95
Update to version 4.2.0 2023-05-30 09:27:58 +03:00
Protesilaos Stavrou f9c83600a9
Tweak deuteranopia mail-cite-2 colour mapping
This makes nested quotes in mail/message buffers easier to spot, while
still being consistent with the requirements of those themes.
2023-05-29 08:13:24 +03:00
Protesilaos Stavrou 0557146806
Tone down the holiday mapping in some themes 2023-05-28 06:20:44 +03:00
Protesilaos Stavrou aa437e1a35
Add links to web pages for the manual and pictures 2023-05-27 20:09:53 +03:00
Protesilaos Stavrou bca906855d
Update the defgroup doc string 2023-05-27 20:04:23 +03:00
Protesilaos Stavrou e213a88f35
Make 'modus-themes-load-theme' return the THEME it acts on
The intent is to allow other functions that call this one to capture
the return value for their purposes.

Thank to Oliver Epper for the feedback in issue 78 on the GitHub
mirror: <https://github.com/protesilaos/modus-themes/issues/78>.
2023-05-23 11:34:29 +03:00
Protesilaos Stavrou ae1d68d4b9
Ensure diary and holiday colours are distinct and legible 2023-05-22 09:10:57 +03:00