Commit graph

925 commits

Author SHA1 Message Date
Protesilaos Stavrou 794593afd9
Add missing parenthesis in the manual 2024-02-27 07:50:08 +02:00
Protesilaos Stavrou 9be57d9d6e
Add support for ztree package 2024-02-12 07:49:24 +02:00
Protesilaos Stavrou a0019a75bf
Note that debbugs is part of the current development version 2024-02-03 08:14:43 +02:00
Protesilaos Stavrou 9e66703606
Add a missing unbreakable space in a name 2024-02-03 07:35:12 +02:00
Protesilaos Stavrou 89a796d30e
Fix spelling of "colour" to "color" because core Emacs uses the latter 2024-02-03 07:34:16 +02:00
Protesilaos Stavrou f4237bdb02
Update development links 2024-01-17 04:54:30 +02:00
Protesilaos Stavrou 64823c7767
Simplify imenu-list to only use four colours
This is because the only difference between the two types of faces it
provides is whether the heading has a sublevel or not.

Thanks to ltmsyvag for pointing this out in issue 95 on the GitHub
mirror of the modus-themes: <https://github.com/protesilaos/modus-themes/issues/95>.
2024-01-04 13:22:59 +02:00
Protesilaos Stavrou 3019731405
Cover the mct-highlight-candidate face 2023-12-25 13:29:03 +02:00
Protesilaos Stavrou c85ac37c7b
Acknowledge Niall Dooley for commit ae1b452 2023-12-16 11:59:11 +02:00
Protesilaos Stavrou 642cc5f835
Add explicit support for 'denote' package
It already inherits from basic faces that we cover, but with these
tweaks we get to optimise the view for the Modus themes in particular.
2023-12-05 06:00:33 +02:00
Protesilaos Stavrou 084f88bea0
Add clarifications to the "Enable and Load" section of the manual
I am doing this after realising it could be improved, thanks to the
comment/question made by John Wick on the mailing list:
<https://lists.sr.ht/~protesilaos/modus-themes/%3CCABjcPOxPX5hFUM-MQ2+omqvsVb0x7ij-UPsJra6Y9sGH21%3DGaQ%40mail.gmail.com%3E>.
2023-09-22 08:30:32 +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 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 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 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
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 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 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 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 3d3bb621a8
Add support for nerd-icons, nerd-icons-dired, nerd-icons-ibuffer 2023-06-02 07:13:55 +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 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 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
Protesilaos Stavrou 12b0eb0ea2
Use American English in two occasions (needed for core Emacs) 2023-05-16 19:01:12 +03:00
Protesilaos Stavrou b31b6f7999
Use modus-related symbol names in some code samples 2023-05-15 20:35:56 +03:00
Protesilaos Stavrou 4be8ac678b
Add support for new vundo-saved and vundo-last-saved faces
They are part of the latest release of vundo.  Thanks to Nicolas
Semrau for bringing this matter to my attention in issue 79 on the
GitHub mirror: <https://github.com/protesilaos/modus-themes/issues/79>.
2023-05-08 22:06:16 +03:00
Protesilaos Stavrou df7749bbed
Reword some statements about frame padding 2023-05-07 07:43:32 +03:00
Protesilaos Stavrou 7ee0bcba71
Document how to add padding to Emacs frames and windows 2023-05-06 12:34:36 +03:00
Protesilaos Stavrou b70f754ca6
Add modus-themes-collection alias of modus-themes-items 2023-05-06 11:51:16 +03:00
Protesilaos Stavrou 46919766bc
Acknowledge Gautier Ponsinet for commit 55d1651
The commit in question introduces the org-agenda-calendar-daterange
face, which is part of the yet-to-be-released Org version 9.7.  The
change is below the ~15 line limit and thus does not require copyright
assignment to the Free Software Foundation.

I received the patch via a private channel.  Thanks to Gautier for
doing this!

Also see commit 9869041 that introduces the semantic colour mapping in
each theme's palette.
2023-05-02 14:47:44 +03:00
Protesilaos Stavrou 716a275255
Add support for Emacs 29 'proced' faces 2023-04-30 09:46:37 +03:00
Protesilaos Stavrou aa995a97f7
Note that rst-mode is now supported (per ee32b1a)
Thanks to David Edmondson for the patch:
<https://lists.sr.ht/~protesilaos/modus-themes/patches/40625>.

The change is within the ~15 line limit and thus does not require
copyright assignment to the Free Software Foundation.  Furthermore,
the commit is signed-off by David Edmondson <dme@dme.org>.
2023-04-25 07:43:10 +03:00
Protesilaos Stavrou c3ed8a6e2f
Update documentation that moody is not supported
We stopped supporting it since version 4 of the themes that removed
the relevant user option.  The idea is that the mode line is better
handled by the user without interference from the theme.

Thanks to Nicolas De Jaeghere for reminding me to remove moody from
the manual:
<https://lists.sr.ht/~protesilaos/modus-themes/%3Cypi9jzyclqxy.fsf%40gmail.com%3E#%3C87jzybdgg1.fsf@dejaeghe.re%3E>.
2023-04-23 13:42:20 +03:00
Protesilaos Stavrou b3f39e8d10
Add warmer and cooler preset overrides 2023-04-21 13:24:17 +03:00
Christian Tietze ab1394e0d2
Change -intense suffix to -fringe in docs
In accordance with the renaming introduced in 1ee4c9576f
2023-04-13 15:02:49 +03:00
Protesilaos Stavrou 45ef111a58
Make minor tweak to the manual 2023-04-12 08:14:08 +03:00
Protesilaos Stavrou 518a99cd00
Acknowledge Steve Downey for commit 8d4c307
This was done in pull request 74 on the GitHub mirror:
<https://github.com/protesilaos/modus-themes/pull/74>.
2023-04-09 06:52:20 +03:00
Protesilaos Stavrou be5fa4b2a3
Put some names in the right order 2023-04-09 06:51:47 +03:00
Protesilaos Stavrou fd81d2c2ea
Document overrides+configs to get my tweaks 2023-04-08 18:57:50 +03:00
Protesilaos Stavrou ede2ab0e0f
Fix typo in 'widget-buton'
Thanks to Steve Downey for pointint it out in issue 73 on the GitHub
mirror: <https://github.com/protesilaos/modus-themes/issues/73>.
2023-04-05 07:56:43 +03:00
Protesilaos Stavrou a380f86397
Acknowledge Tomasz Hołubowicz for commit 128acb1
The contribution was made in pull request 71 on the GitHub mirror:
<https://github.com/protesilaos/modus-themes/pull/71>.

The change is small and is below the ~15 line limit.  As such, it does
not require copyright assignment to the Free Software Foundation.
2023-03-28 07:07:05 +03:00
Tomasz Hołubowicz 128acb1664 Add support for jinx
A new package by Daniel Mendler : <https://github.com/minad/jinx>.
2023-03-27 18:12:59 +02:00
Protesilaos Stavrou 2c34f81b83
Clarify that disk-usage support is part of development-version 2023-03-20 06:49:48 +02:00
Protesilaos Stavrou 90167ee9f2
Acknowledge Nacho Barrientos for commit 70adc47
The change is below the ~15 line limit and thus does not require
copyright assignment to the Free Software Foundation.

This patch was sent to the mailing list:
<https://lists.sr.ht/~protesilaos/modus-themes/patches/39822>.
2023-03-20 06:48:26 +02:00
Nacho Barrientos 70adc47676
Add support for disk-usage
This patch adds support for most of the faces provided by
disk-usage.el [0], aligning them to dired's look when possible.

[0] https://elpa.gnu.org/packages/disk-usage.html
2023-03-20 06:47:47 +02:00
Protesilaos Stavrou df3e2a80de
Document yet another way to override Org agenda styles 2023-03-13 10:31:50 +02:00
Protesilaos Stavrou d4e70e069b
Add support for jit-spell
A new package by Augusto Stoffel: <https://github.com/astoff/jit-spell>.
2023-03-08 07:47:43 +02:00
Protesilaos Stavrou 7f951714ae
Fix typo in the manual 2023-03-08 07:47:30 +02:00
Protesilaos Stavrou c340c5b019
Refile some headings in the manual for better organisation 2023-02-23 09:17:01 +02:00
Protesilaos Stavrou 829d06d9d3
Update to modus-themes version 4.1.0 2023-02-22 19:56:22 +02:00
Protesilaos Stavrou 18e36949cf
Make sure Ediff faces do not depend on diff-mode
Thanks to Bernd Rellermeyer for pointing out this implicit dependency
in issue 68 on the GitHub mirror:
<https://github.com/protesilaos/modus-themes/issues/68>.
2023-02-22 11:38:04 +02:00
Protesilaos Stavrou 9aed34e909
Use correct semantic markup for texi conversion
This is because the modus-themes.org is part of core Emacs and needs
to conform with the Texinfo conventions.
2023-02-06 13:32:47 +02:00
Protesilaos Stavrou 962cc2c274
Simplify sample config of the themes with 'use-package'
Thanks to Zoltan Kiraly for informing me about the fact that the
':bind' keyword delays the load of the package until the given command
is invoked: <https://github.com/protesilaos/modus-themes/pull/67>.

Streamlining the configuration makes it easier for me to propose one
set of basic configurations without the need to know what a
configuration macro is doing behind the scenes.
2023-02-05 17:37:20 +02:00
Protesilaos Stavrou a68e4236bd
Make 'dashboard' icons retain their underlying colour
The default value of the 'dashboard-items-face' made all icons use the
same colour, detracting from their distinctiveness.  Thanks to Thanos
Apollo for bringing this matter to my attention.  It was done via a
private channel and the information is shared with permission.
2023-02-05 17:36:30 +02:00
Protesilaos Stavrou ca4d92aa0d
Document red+blue deuteranopia diffs
Thanks to Andrew Tropin for requesting this feature.  We used to
provide this style in earlier versions of the themes.  Andrew's
request was done via a private channel and the information is shared
with permission.
2023-02-04 14:53:22 +02:00
Protesilaos Stavrou 87289b0918
Document foreground-only diffs via overrides 2023-02-04 14:44:38 +02:00
Protesilaos Stavrou 7b0460dc4a
Update docs about modus-themes-list-colors 2023-01-31 15:19:04 +02:00
Protesilaos Stavrou 1121193dc5
Make modus-themes-get-color-value accept a THEME argument 2023-01-31 12:05:30 +02:00
Protesilaos Stavrou 9a89ce136b
Add link to palette overrides in modus-themes-get-color-value node 2023-01-31 08:33:59 +02:00
Protesilaos Stavrou c26d5a641c
Clarify docs about modus-themes-get-color-value 2023-01-28 07:05:57 +02:00
Protesilaos Stavrou 0ca79257ef
Add function modus-themes-get-color-value and document it
I already had the functionality internally, but it is good to expose
it to users.  I am inspired to do so after checking Sacha Chua's blog
post "Making highlight-sexp follow modus-themes-toggle".[1] Sacha is
using a private function from the themes, which will be problematic if
I ever move things around.

[1] <https://sachachua.com/blog/2023/01/making-highlight-sexp-follow-modus-themes-toggle/>
2023-01-27 08:30:57 +02:00
Protesilaos Stavrou 2dacdf9013
Acknowledge TitusMu for commit 211d711
This was done in issue 64 on the GitHub mirror:
<https://github.com/protesilaos/modus-themes/issues/64>.
2023-01-23 20:08:56 +02:00
Protesilaos Stavrou 9e1b5dfce3
Document how to make tabs more or less colorful 2023-01-20 11:26:37 +02:00
Protesilaos Stavrou b061a7b038
Document how not to extend region background 2023-01-15 05:45:51 +02:00
Protesilaos Stavrou eddf79d2a3
Make Org agenda deadline and today schedule optionally bold
They will use a bold weight only if the user option
'modus-themes-bold-constructs' is set to a non-nil value.

Thanks to Marko Kocic for reporting an issue that brought this matter
to my attention:

- <https://lists.sr.ht/~protesilaos/modus-themes/%3C35588839.256749.1673272214728%40office.mailbox.org%3E>
- <https://lists.sr.ht/~protesilaos/modus-themes/%3C874jszvk5g.fsf%40protesilaos.com%3E>
- <https://lists.sr.ht/~protesilaos/modus-themes/%3C87ilhfu101.fsf%40protesilaos.com%3E>
2023-01-10 06:15:39 +02:00
Protesilaos Stavrou 4e9c88bdb5
Acknowledge Sergey Nichiporchik for commit 1fd126d
Sergey's contribution is within the ~15 line limit and thus does not
require copyright assignment to the Free Software Foundation.

This was done in merge request 59 on the GitLab mirror:
<https://gitlab.com/protesilaos/modus-themes/-/merge_requests/59>.

The prepatory discussion took place in issue 310 on the same mirror:
<https://gitlab.com/protesilaos/modus-themes/-/issues/310>.
2023-01-10 05:20:56 +02:00
Sergey Nichiporchik 1fd126d0bc Update sample configuration with use-package 2023-01-10 03:19:11 +00:00
Protesilaos Stavrou 0dc7854103
Rephrase "*Completions* buffer" in the docs
Thanks to Rudolf Adamkovič for the suggestion:
<https://lists.sr.ht/~protesilaos/modus-themes/%3Cm2tu1211qz.fsf%40me.com%3E#%3Cm2eds43htz.fsf@me.com%3E>.
2023-01-09 02:43:56 +02:00
Protesilaos Stavrou b3302411a1
Add comment to clarify point in sample code 2023-01-08 04:52:21 +02:00
Protesilaos Stavrou 3cb41ff0d3
Clarify docs of 'modus-themes-completions'
There was (i) an outdated reference to the 'background' value, which
is no longer supported, and (ii) no reference to the standard
Completions' buffer.

Thanks to Rudolf Adamkovič for informing me about this:
<https://lists.sr.ht/~protesilaos/modus-themes/%3Cm2tu1211qz.fsf%40me.com%3E>.
2023-01-08 04:48:30 +02:00
Protesilaos Stavrou 76c9a218b8
Update sample configuration 2023-01-05 05:07:00 +02:00
Protesilaos Stavrou 2b046eceb4
Add user option modus-themes-disable-other-themes
In the past, we used to disable all other themes while loading a Modus
theme.  I revised this for version 4 because I learnt that some users
use "themes" as bundles of arbitrary configurations.  This was
supported by the fact that the Modus themes are built into Emacs so we
need to accommodate every workflow that Emacs supports.

With this addition, I am reverting to the old way of doing things:
loading a Modus theme should disable all others.  Users who need to
run multiple themes can set this option to a nil value.

Thanks to Tony Zorman for the feedback on the mailing list:
<https://lists.sr.ht/~protesilaos/modus-themes/%3C874jtew0gp.fsf%40hyperspace%3E#%3C87bkne84d2.fsf@hyperspace%3E>.
2023-01-05 04:59:50 +02:00
Protesilaos Stavrou 5a624267a5
Fix example colour in the documentation
Thanks to Russell Sim for spotting the error of me using 'bg-blue'
instead of 'bg-blue-intense':
<https://lists.sr.ht/~protesilaos/modus-themes/%3Cyger0wa9gsn.fsf%40simopolis.xyz%3E>.
2023-01-05 04:38:18 +02:00
Protesilaos Stavrou c634edec0a
Update documentation for borderless mode line overrides 2023-01-04 12:28:28 +02:00
Protesilaos Stavrou 188f68ba43
Make it possible to have recursive palette mapping
This means that a semantic colour mapping in the palette can have as
its value another mapping.  The function will find the underlying
colour.

This solves a problem reported by Imran Khan on the mailing list:
<https://lists.sr.ht/~protesilaos/modus-themes/%3Cb7ca4702162fd575593f8ded28d9a888.contact%40imrankhan.live%3E>.

I was aware of it from before the release of version 4.0.0 but I was
hesitant to implement recursion prior to getting some feedback on the
new palette overriding feature.

Also thanks to Christian Tietze for participating in that discussion
on the mailing list.
2023-01-04 12:28:06 +02:00
Protesilaos Stavrou 031d2d943f
Make 'compilation-warning' also inherit 'modus-themes-bold'
This was always the intention for all three of
'compilation-{error,info,warning}'.  They will use a bold weight when
the user option 'modus-themes-bold-constructs' is non-nil.

Thanks to Manuel Giraud for informing me about the inconsistency in
'compilation-warning'.  It was done via a private channel and the
information is shared with permission.
2023-01-03 12:43:09 +02:00
Protesilaos Stavrou 59a8361c95
Clarify modus-themes-with-colors setup for custom faces
Thanks to bangedorrunt for the feedback in issue 59 on the GitHub
mirror: <https://github.com/protesilaos/modus-themes/issues/59>.
2023-01-03 03:33:13 +02:00
Protesilaos Stavrou 399d3eaa74
Refine some aspects of sample code 2023-01-03 02:25:59 +02:00
Protesilaos Stavrou f5b5f05d1c
Be explicit about 'require-theme' for built-in themes
Thanks to Koen van Greevenbroek for reporting the problem that helped
me identify this issue:
<https://lists.sr.ht/~protesilaos/modus-themes/%3C31038fd76868fa3d07c9a429dfed8fd6ac374bb8.camel%40posteo.net%3E>.
2023-01-03 02:19:04 +02:00
Protesilaos Stavrou d7970e71eb
Simplify markup in a sample comment 2023-01-03 02:07:07 +02:00
Utkarsh Singh c82b58f4b3
Use modus-themes-with-colors for commit 23b1fc9 2023-01-03 02:04:19 +02:00
Utkarsh Singh 23b1fc95dd
Fix document on how to change pdf-tools backdrop 2023-01-02 11:13:11 +02:00
Protesilaos Stavrou 6ae40baacc
Update copyright years 2023-01-01 14:01:57 +02:00
Protesilaos Stavrou 476445b8f2
Update to modus-themes version 4 2023-01-01 13:40:05 +02:00
Protesilaos Stavrou 70c6ae4386
Document how to override prose colours 2023-01-01 07:56:00 +02:00
Protesilaos Stavrou 6652156eb4
Document how to override line numbers 2023-01-01 07:35:57 +02:00
Protesilaos Stavrou e0db9b3aea
One a node further down in the manual 2023-01-01 07:24:06 +02:00
Protesilaos Stavrou 40351943d0
Document how to affect linter underlines via overrides 2023-01-01 07:18:51 +02:00
Protesilaos Stavrou 207cd6e4e0
Document how to override mouse hover effect 2023-01-01 07:06:01 +02:00
Protesilaos Stavrou c7d03a3a38
Document how to make padded mode line
Thanks to Christian Tietze for reminding me about it:
<https://lists.sr.ht/~protesilaos/modus-themes/%3Cm1fscxrr0s.fsf%40christiantietze.de%3E>.
2022-12-30 19:59:11 +02:00
Protesilaos Stavrou 3a27ce30fe
Rename heading of section about modus-themes-with-colors 2022-12-30 19:49:00 +02:00
Protesilaos Stavrou 687a7941e3
Document how to change region with overrides (also see 32dc7f9)
The 'modus-themes-region' option is deprecated, so we know follow this
approach with the overrides.
2022-12-30 19:05:20 +02:00
Protesilaos Stavrou 32dc7f9bc1
Deprecate modus-themes-region; use overrides
This is the last user option that we need to deprecate for the release
of version 4.  Now all colour-related changes happen through palette
overrides.

Thanks to Christian Tietze for reminding me about it:
<https://lists.sr.ht/~protesilaos/modus-themes/%3Cm1ilhtrs09.fsf%40christiantietze.de%3E>.
2022-12-30 18:56:51 +02:00
Protesilaos Stavrou 1bf2713e1d
Add documentation on mail citation+header overrides
I don't know about you, but I just found my new favourite:

    (setq modus-themes-common-palette-overrides
          '((mail-cite-0 fg-dim)
            (mail-cite-1 fg-alt)
            (mail-cite-2 fg-dim)
            (mail-cite-3 fg-alt)
            (mail-part yellow-cooler)
            (mail-recipient green-cooler)
            (mail-subject red-cooler)
            (mail-other green)))
2022-12-30 17:42:32 +02:00
Protesilaos Stavrou 9c9347683b
Document how to recreate old "alt-syntax" style
Thanks to Charlotte Van Petegem for reminding me about it:
<https://lists.sr.ht/~protesilaos/modus-themes/%3C877cy917jw.fsf%40vanpetegem.me%3E>.
2022-12-30 13:36:15 +02:00
Protesilaos Stavrou 0618486c41
Acknowledge soaringbird for commits 112e40b, 257db66, d6afeff
They brought those inconsistencies to my attention:
<https://lists.sr.ht/~protesilaos/modus-themes/%3CNKXY2k1--3-9%40tuta.io%3E>.
2022-12-30 12:40:08 +02:00
Protesilaos Stavrou 8f670279af
Add samples for yellow comments, green strings (or inverse!) 2022-12-30 11:06:18 +02:00
Protesilaos Stavrou 9b025c00f8
Add code samples to make fringe invisible or colourful 2022-12-30 10:56:29 +02:00
Protesilaos Stavrou 4f1456c955
Add all links to theme sources 2022-12-30 07:23:54 +02:00
Protesilaos Stavrou 5ddf26d58d
Add example to use preset overrides as a basis 2022-12-30 07:04:50 +02:00
Protesilaos Stavrou 76efc86315
Simplify example for borderless mode lines 2022-12-30 06:55:21 +02:00
Protesilaos Stavrou 492d31db41
Add documentation for paren match overrides 2022-12-30 06:03:30 +02:00
Protesilaos Stavrou 93401ca2c8
Clarify that mappings cannot be recursive
Thanks to tumashu for reminding me of this in issue 56 on the GitHub
mirror: <https://github.com/protesilaos/modus-themes/issues/56>.
2022-12-29 14:47:42 +02:00
Protesilaos Stavrou 0e3262d068
Use A-Z in acknowledgements for two names 2022-12-29 10:23:52 +02:00
Protesilaos Stavrou 9a7d47b9be
Use correct names for coloured backgrounds
This is a regression caused by commit 7c74495.

Thanks to Aleksei Pirogov for reporting the problem in issue 55 on the
GitHub mirror: <https://github.com/protesilaos/modus-themes/issues/55>.
2022-12-29 10:23:06 +02:00
Protesilaos Stavrou 6ee797ba04
Fix typo in the manual 2022-12-29 00:38:56 +02:00
Protesilaos Stavrou adf85ae831
Fill a couple of paragraphs 2022-12-28 19:38:35 +02:00
Protesilaos Stavrou 93c2ae3da4
Rename versions of current dev target 2022-12-28 19:23:39 +02:00
Protesilaos Stavrou f36fd67831
Update sample configuration to match latest changes 2022-12-28 16:12:37 +02:00
Protesilaos Stavrou 3dc825382f
Add cross links for completion color overrides/option 2022-12-28 15:47:47 +02:00
Protesilaos Stavrou 2fa9a272fe
Simplify modus-themes-prompts; add overrides for its colors 2022-12-28 15:47:18 +02:00
Protesilaos Stavrou 871b8ae533
Add code samples for more/less intense completion matches 2022-12-28 15:09:17 +02:00
Protesilaos Stavrou f5b5f1c26e
Add missing comment from overrides' code block 2022-12-28 15:08:34 +02:00
Protesilaos Stavrou 380e60cf49
Simplify modus-themes-completions; use overrides 2022-12-28 14:59:55 +02:00
Protesilaos Stavrou 81cf29f227
Fix typo 2022-12-28 14:35:52 +02:00
Protesilaos Stavrou 01f7fcac2d
Remove completed TODO 2022-12-28 09:01:22 +02:00
Protesilaos Stavrou b0b052e605
Update more named colors in sample code 2022-12-28 08:59:52 +02:00
Protesilaos Stavrou 1adbf9838f
Update named colors in sample code 2022-12-28 08:55:03 +02:00
Protesilaos Stavrou 63ceefc5cf
Update reference to my 'fontaine' package 2022-12-28 08:50:39 +02:00
Protesilaos Stavrou df10f50e94
Update the "sources of the themes" section 2022-12-28 08:48:45 +02:00
Protesilaos Stavrou bbadce06bb
Make minor rewordings in the manual 2022-12-28 08:47:20 +02:00
Protesilaos Stavrou 81953a3355
Remove section with old publications 2022-12-28 08:42:05 +02:00
Protesilaos Stavrou 2f6cfd68e5
Reword FAQ entry for clarity 2022-12-28 08:41:08 +02:00
Protesilaos Stavrou 398e8fa2be
Remove obsolete link; add TODO to review text 2022-12-28 08:37:11 +02:00
Protesilaos Stavrou d5b8d103e8
Rewrite modus-themes-with-colors section 2022-12-28 08:35:25 +02:00
Protesilaos Stavrou bb07fe14cf
Use current names for some colors 2022-12-28 07:19:08 +02:00
Protesilaos Stavrou da5d9835e9
Mention corfu in company-mode popup section 2022-12-28 07:19:08 +02:00
Protesilaos Stavrou 879beb8386
Update named colors in Solaire node 2022-12-28 07:19:08 +02:00
Protesilaos Stavrou e5697a3155
Update prism.el node with current color names 2022-12-28 07:19:08 +02:00
Protesilaos Stavrou 0b8026e24d
Remove some inapplicable sections from the manual 2022-12-28 07:19:08 +02:00
Protesilaos Stavrou 983f974ff9
Give better heading to modus-themes-with-colors section 2022-12-28 07:02:04 +02:00
Protesilaos Stavrou af9a6a8861
Add a link to preview colors in section about terminals 2022-12-28 06:59:12 +02:00
Protesilaos Stavrou 737253a0bd
Remove some of the uncommon colors from the palettes 2022-12-28 06:34:13 +02:00
Protesilaos Stavrou 04783252a6
Fix typo 2022-12-28 06:33:48 +02:00
Protesilaos Stavrou d98c31d519
Update samples for Org agenda overrides 2022-12-28 06:07:56 +02:00
Protesilaos Stavrou 1cc172c3c9
Mention overrides in modus-themes-headings section 2022-12-27 18:13:03 +02:00
Protesilaos Stavrou 6d19d3cdc6
Clarify note about refactoring of modus-themes-region 2022-12-27 18:10:00 +02:00
Protesilaos Stavrou 0ff34a73c2
Clarify note about refactoring of modus-themes-completions 2022-12-27 18:09:57 +02:00
Protesilaos Stavrou 61d5397648
Reword documentation for font mixing 2022-12-27 18:06:29 +02:00
Protesilaos Stavrou b9b7b3b487
Reword documentation about bold constructs 2022-12-27 18:04:30 +02:00
Protesilaos Stavrou f981d57bb5
Update sample for customization options 2022-12-27 14:57:45 +02:00
Protesilaos Stavrou 882a384a14
Clarify when modus-themes-completions 'text-also' applies 2022-12-27 14:57:08 +02:00
Protesilaos Stavrou c8f1682d51
Reword section on Customization options 2022-12-27 14:43:51 +02:00
Protesilaos Stavrou d6fd5e685f
Reword differences between load and enable 2022-12-27 14:36:46 +02:00
Protesilaos Stavrou 15cd7f7ef3
Mention the disable-theme command 2022-12-27 14:33:03 +02:00
Protesilaos Stavrou 76c5bb03b4
Reword section with sample use-package configuration 2022-12-27 14:30:13 +02:00
Protesilaos Stavrou e55ddd7bbe
Reword section on "Enable and load" 2022-12-27 14:29:44 +02:00
Protesilaos Stavrou e80497a2ab
Reword intro section on installing the themes 2022-12-27 14:29:15 +02:00
Protesilaos Stavrou 99e434afbd
Reword section on how the themes look like 2022-12-27 14:29:01 +02:00
Protesilaos Stavrou 93781a4436
Rewrite the manual's overview 2022-12-27 14:12:14 +02:00
Protesilaos Stavrou 191bc74656
Update manual's note on Doom and git-gutter 2022-12-27 13:53:29 +02:00
Protesilaos Stavrou fda40b5c07
Expand example with TODO and DONE overrides 2022-12-26 04:06:01 +02:00
Protesilaos Stavrou e478002d82
Use overrides for heading background and overline 2022-12-24 09:09:33 +02:00
Protesilaos Stavrou 71674e0126
Add example of overrides for link underlines 2022-12-24 05:27:05 +02:00
Protesilaos Stavrou 4f3b512e17
Add example of overrides for colorful mode line 2022-12-24 05:26:55 +02:00
Protesilaos Stavrou 448701868a
Add example of overrides for borderless mode line 2022-12-24 05:26:33 +02:00
Protesilaos Stavrou 5c63e6d10b
Add override samples for syntax highlighting 2022-12-23 05:34:26 +02:00
Protesilaos Stavrou 24fd053845
Remove faint samples from the manual
Now we provide the modus-themes-preset-overrides-faint which the users
can assign to the user options for palette overrides.
2022-12-23 05:20:24 +02:00
Protesilaos Stavrou 9cd3314018
Deprecate modus-themes-links; use mappings instead 2022-12-22 12:15:15 +02:00
Protesilaos Stavrou 5a12068494
Add presets of color overrides
Try either of those:

(setq modus-themes-common-palette-overrides modus-themes-preset-overrides-faint)
(setq modus-themes-common-palette-overrides modus-themes-preset-overrides-intense)
2022-12-22 08:07:18 +02:00
Protesilaos Stavrou 53e98dd349
Deprecate modus-themes-subtle-line-numbers; add mappings 2022-12-22 07:09:16 +02:00
Protesilaos Stavrou 53070c7d09
Add missing property drawers to the manual 2022-12-21 12:05:33 +02:00
Protesilaos Stavrou 718557503a
Make box buttons respond to palette overrides 2022-12-21 12:05:23 +02:00
Protesilaos Stavrou 37b634989c
Make it possible to also preview color mappings 2022-12-21 09:35:35 +02:00
Protesilaos Stavrou aa8e982cbc
Add some practical examples of palette overrides 2022-12-20 11:53:05 +02:00
Protesilaos Stavrou 383836f6b8
Clarify wording about list colors buffer name 2022-12-20 11:51:59 +02:00
Protesilaos Stavrou 76f81d0ad8
Add aliases for preview palette commands 2022-12-20 08:34:19 +02:00
Protesilaos Stavrou ca4c8f6e31
Add support for font-lock-doc-markup-face
Thanks to Mattias Engdegård for bringing 'font-lock-doc-markup-face'
to my attention and for explaining the stylistic demands it has.
2022-12-19 16:38:42 +02:00
Protesilaos Stavrou 0a8c4cdcd4
Acknowledge James Ferguson for change to tab mappings
This was done in commit 889c5dc where I introduced palette entries
specifically for tabs and also refined how the mode line entries are
implemented.

James provided feedback on the mailing list:
<https://lists.sr.ht/~protesilaos/modus-themes/%3CCAMtGdSnrKDGdagT7vGC9DnBZnOvkbM%3D4Nxwn3ts2tdO8YmUnxw%40mail.gmail.com%3E>.
2022-12-19 06:25:14 +02:00
Protesilaos Stavrou dedbc595e4
Write entry in the manual about palette overrides 2022-12-18 09:32:33 +02:00
Protesilaos Stavrou 5f28f98709
Remove entry of obsolete user option 2022-12-18 08:45:34 +02:00
Protesilaos Stavrou 749322fdc3
Remove outdated information in sample config 2022-12-18 08:45:14 +02:00
Protesilaos Stavrou 31c1ab8e92
Add support for rcirc-color
Thanks to Philip Kaludercic for bringing this matter to my attention:
<https://lists.sr.ht/~protesilaos/modus-themes/%3C87mt7m6k6z.fsf%40posteo.net%3E>.
2022-12-18 06:56:25 +02:00
Protesilaos Stavrou 3fcf136507
Deprecate modus-themes-fringes; add 'fringe' mapping
The user can thus override the 'fringe' mapping to whatever colour
they prefer, instead of us hardcoding it to two shades of gray.

To make the 'fringe' invisible, set it to the main background.

Video tutorial on colour mappings:
<https://protesilaos.com/codelog/2022-12-17-modus-themes-v4-demo/>.
2022-12-18 06:13:46 +02:00
Protesilaos Stavrou 1b4238f51d
Add deuteranopia THEMES; remove the user option
Providing bespoke themes gives us the freedom to implement changes
wherever necessary without making the code more complex.  The now
discontinued 'modus-themes-deuteranopia' was a user option with
limited scope: it simply replaced green with blue in some contexts.
But a proper design for deuteranopia requires more than that.  These
new themes are the right solution and I am sure the people who need
them will greatly appreciate them.
2022-12-16 05:58:12 +02:00
Protesilaos Stavrou a736eebd67
Allow any weight in all relevant user options
Prior to this change some user options provided for a 'bold' style
which would apply a heavy typographic weight.  Since we have the
mechanism to add an arbitrary font weight, there is no reason to limit
those options to 'bold'.
2022-12-16 04:14:17 +02:00
Protesilaos Stavrou 7021b96548
Ensure modus-themes-org-blocks doc is up-to-date 2022-12-16 03:41:49 +02:00
Protesilaos Stavrou 24af1c4dff
Remove obsolete references from the manual (more TODOs) 2022-12-15 11:06:57 +02:00
Protesilaos Stavrou 6bf02afced
Remove "accented" from modus-themes-completions
The user has the option to override the bg-completion colour, which
gives them all they need.  I had already deprecated the "intense"
style earlier, though not from the docs.
2022-12-15 11:04:06 +02:00
Protesilaos Stavrou 5b73fc3059
Deprecate modus-themes-mode-line; add mode line mappings
Version 4 of the modus-themes is abstracting each theme's palette,
introduces semantic colour mappings, and expands the scope of the
palette overrides.  I am removing user options, but am actually giving
user more power over how to tweak the theme.  Overview:
<https://protesilaos.com/codelog/2022-12-07-modus-themes-4-colour-values-mappings/>.

As this diff demonstrates, we remove a lot of the complexity from the
themes.
2022-12-15 10:40:22 +02:00
Protesilaos Stavrou 04e2c1e1d5
Reinstate functionality of auto theme reload upon option switch
The 'modus-themes-custom-auto-reload' is the successor to the
now-deprecated 'modus-themes-inhibit-reload'.  The new name is more
descriptive and easier to reason about.

The functionality is now enabled by default.  I am using it with
'setopt' (Emacs 29) and think it is a user-friendly feature.

Thanks to Philip Kaludercic for the feedback on the mailing list:
<https://lists.sr.ht/~protesilaos/modus-themes/%3C87h6y3gyxx.fsf%40posteo.net%3E>.

Philip is the author of the original 'modus-themes-inhibit-reload' and
the relevant setup.  I just made some minor tweaks for this "version
4" rewrite of the themes.  Any mistakes are my own.
2022-12-12 05:28:53 +02:00
Protesilaos Stavrou ddf4a812af
Remove explicit support for icomplete-vertical (default is OK) 2022-12-11 09:16:47 +02:00
Protesilaos Stavrou e896bebd38
Remove support for hl-defined
I cannot find the package anymore.
2022-12-11 09:12:06 +02:00
Protesilaos Stavrou a044561789
Remove explicit support for forge (default is OK) 2022-12-11 09:06:39 +02:00
Protesilaos Stavrou 38523f05ac
Remove explicit support for freeze-it (default is OK) 2022-12-11 09:04:52 +02:00
Protesilaos Stavrou 35e67b0b94
Reinstate support for annotate
I removed lots of packages to make things work (they were using
colours that I removed).  Now that I have a stable basis, I am
bringing some of them back.
2022-12-11 08:48:29 +02:00
Protesilaos Stavrou 7003edbade
Remove modus-themes-headings foreground variants
The user has more flexibility now by overriding the colour mappings
directly.  The "rainbow" we provided before was limited to
predetermined colours.

Read this for the general idea (I will provided detailed documentation
as well): <https://protesilaos.com/codelog/2022-12-07-modus-themes-4-colour-values-mappings/>.
2022-12-08 09:17:46 +02:00
Protesilaos Stavrou 7c770559a6
Simplify modus-themes-region; refine colours 2022-12-08 09:01:15 +02:00
Protesilaos Stavrou 1ae96698ec
Document indirect support for lin, pulsar (my packages)
Their faces are okay.
2022-12-03 11:25:04 +02:00
Protesilaos Stavrou 76929394f5
Remove support for Denote (I write Denote's faces)
It already uses styles that work well with the modus-themes.
2022-12-03 11:24:12 +02:00