Commit graph

10 commits

Author SHA1 Message Date
Protesilaos Stavrou 186d808464
Recalibrate all nuanced backgrounds
They now are more consistent in terms of their overall intensity.
2023-12-09 09:35:43 +02:00
Protesilaos Stavrou b7b60365fb
Add 'prose-table-formula' semantinc colour mapping; use it in 'org-formula' 2023-11-24 10:14:21 +02: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 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 ce84d5261a
modus-operandi-tritanopia: refine bg-char (used by Avy) 2023-06-30 09:21:51 +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 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 ae1d68d4b9
Ensure diary and holiday colours are distinct and legible 2023-05-22 09:10:57 +03:00
Protesilaos Stavrou db13063e10
Tritanopia: swap prose-code and prose-verbatim colours
This is how modus-operandi and modus-vivendi are.  There is no reason
to deviate from that paradigm.
2023-05-21 05:55:50 +03:00
Protesilaos Stavrou acd951f8cb
Add two new themes optimised for tritanopia (blue-yellow colour deficiency)
Check my website for screenshots.  I will post them on the coding
blog.  Also on this page: <https://protesilaos.com/emacs/modus-themes-pictures>.
2023-05-18 08:19:39 +03:00