Commit graph

1815 commits

Author SHA1 Message Date
Protesilaos f2b88b4d7f
Simplify the faces I just reinstated 2026-07-14 09:18:30 +03:00
Protesilaos a1d081256e
Bring back the Modus search facesc
Read the commit message of bf69c6c for the explanation.
2026-07-14 09:12:22 +03:00
Protesilaos 0cf5a2a52a
Bring back the Modus completion faces
Read the commit message of bf69c6c for the explanation.
2026-07-14 09:04:23 +03:00
Protesilaos bf69c6cbcc
Bring back the modus-themes-prompt face
At some point I removed all the :inherit entries out of concern that
we would run into problems with circular dependencies (there was that
case with button and link inheriting each other, which recent Emacs
versions treat as an error).

With the Modus faces that can happen if the user configures things
accordingly or if I make some mistake here.

My plan now is to rely on Modus faces for cases such as this one, but
to not use :inherit for other faces, since I do not control how those
are defined.
2026-07-14 08:56:56 +03:00
Protesilaos 21d97d4fe6
Remove trailing spaces from modus-themes--get-theme-palette-subr 2026-07-12 12:26:55 +03:00
Protesilaos 89294a9a6f
Merge pull request #225 from HeitorAugustoLN/patch-1
Improve core palette loading logic
2026-07-12 12:22:57 +03:00
Yuta Yamamoto b3bd04aca5 Update auto-dim-other-buffers faces to their new names
The package dropped the `-face' suffix: `auto-dim-other-buffers-face'
and `auto-dim-other-buffers-hide-face' are now obsolete aliases for
`auto-dim-other-buffers' and `auto-dim-other-buffers-hide'.
2026-07-08 15:13:27 +09:00
Heitor Augusto 89e40be4d8
Improve core palette loading logic
Enhance theme palette loading by ensuring core palette is loaded before accessing its value.
2026-07-06 21:17:13 +00:00
Protesilaos a378446107
Merge pull request #224 from shlemas/main
Improve mapping coverage for modus-themes-generate-palette + tests
2026-07-02 11:50:20 +03:00
Protesilaos 9172a0e8ef
Add support for vc-dir-key-binding-hint-label (Emacs 32) 2026-06-28 13:42:10 +03:00
Shawn LeMaster f28a5e5931 Add missing quotes on color names 2026-06-27 22:12:59 -05:00
Shawn LeMaster 50c42fe90d Add more mappings to modus-themes-generate-palette + test 2026-06-27 17:42:40 -05:00
Protesilaos 2d044ac89f
Update to modus-themes version 5.3.0 2026-06-21 16:25:01 +03:00
Protesilaos ef2fa82b12
Change read-multiple-choice-face to work with any combination of prompt colours 2026-05-22 10:20:20 +03:00
Protesilaos 87d5764ecc
Update elfeed faces to their new names
Thanks to Daniel Mendler for telling me about this change:
<https://github.com/emacs-elfeed/elfeed/pull/562#issuecomment-4511165960>.
2026-05-21 23:15:10 +03:00
Protesilaos c115002430
Change the fill-column-indicator background to unspecified
Thanks to vpxyz for telling me about the relevant warning. This was
done in issue 219: <https://github.com/protesilaos/modus-themes/issues/219>.
2026-05-19 13:38:17 +03:00
Protesilaos 124ba3168e
Make fill-column-indicator appear a thin line also on TTY
I am doing this in response to issue 218, as reported by Mike Crowe:
<https://github.com/protesilaos/modus-themes/issues/218>.
2026-05-17 13:34:20 +03:00
Protesilaos c6bb5eb8df
Use the correct form to deprecate the modus-themes-prompt face 2026-05-08 23:29:53 +03:00
Protesilaos a4b6ada971
Deprecate the user option modus-themes-completions 2026-05-08 23:29:53 +03:00
Protesilaos 634dcc3245
Deprecate the user option modus-themes-prompts 2026-05-08 23:15:03 +03:00
Protesilaos b242d43e6a
Make elfeed-show-entry-author-face conditionally bold 2026-05-06 08:27:53 +03:00
Protesilaos b4eca2c241
Add support for markdown-ts-mode 2026-05-05 22:40:37 +03:00
Protesilaos 806c894611
Add support for the margin face (Emacs 31) 2026-05-05 21:35:18 +03:00
Steven Allen 34c169a780 Add support for the new elfeed-show faces
The faces match the other elfeed faces where possible, and
notmuch/message faces otherwise (given that the elfeed interface is
inspired by notmuch).
2026-05-02 08:58:45 -07:00
Protesilaos cf0044518f
Deprecate modus-themes-generate-gradient and use modus-themes-adjust-value instead
They are meant to do the same thing.
2026-05-01 17:41:48 +03:00
Protesilaos 8d62a73f2a
Make modus-themes-adjust-value not depend on color-lighten-name
This is because that function relies on color-name-to-rgb which does
not seem to work in the early-init.el as reported by amano-kenji in
issue 215: <https://github.com/protesilaos/modus-themes/issues/215>.
2026-05-01 17:40:45 +03:00
Protesilaos 4b286c2b61
Change all HEX-COLOR parameters to COLOR in light of commit 488e913 2026-05-01 17:37:26 +03:00
Protesilaos 488e913b1e
Make helper function accept named colours as well as hex RGB
Otherwise we have a regression. Something like "gray50" is a valid
colour value (when list-colors-display returns it, anyway).
2026-05-01 17:35:30 +03:00
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 7c2ce1ff0d
Add support for the trust-manager package 2026-04-18 16:13:16 +03:00
Protesilaos Stavrou a2c40a9f92
Add support for tab-line-active and tab-line-inactive faces (Emacs 31) 2026-04-17 12:42:03 +03:00
Protesilaos Stavrou 657fd6f92d
Make modus-themes-retrieve-palette-value public 2026-04-13 15:33:08 +03:00
Elias Gabriel Perez 51c89ec604 * modus-themes.el (modus-themes-faces): Fix regression in mc/cursor-bar-face 2026-04-10 13:02:56 -06:00
Protesilaos Stavrou 0217c0dde5
Refine modus-themes--color-eight-to-six-digits
Thanks to Stefan Monnier for pointing this in a message to the
emacs-devel mailing list: <https://lists.gnu.org/archive/html/emacs-devel/2026-04/msg00358.html>.
2026-04-10 18:57:57 +03:00
Protesilaos Stavrou df74b73a60
Write a test for modus-themes--color-eight-to-six-digits and use its name instead of the older symbol 2026-04-10 14:58:24 +03:00
Protesilaos Stavrou 282dbd66b5
Improve modus-themes-adjust-value and write a test for it 2026-04-10 14:58:06 +03:00
Protesilaos Stavrou b31966fe65
Change name of ancillary function to be more precise and refine its implementation 2026-04-10 14:57:36 +03:00
Protesilaos Stavrou c63be80d3b
Refine modus-themes-contrast and write a test for it 2026-04-10 14:48:51 +03:00
Protesilaos Stavrou 953ec93841
Refine modus-themes-wcag-formula and write a test for it 2026-04-10 14:48:14 +03:00
Protesilaos Stavrou a134889772
Add missing parenthesis to a doc string 2026-04-10 14:16:29 +03:00
Protesilaos Stavrou 2e19f038c3
Update the modus-themes--hex-to-rgb doc string 2026-04-10 14:03:51 +03:00
Protesilaos Stavrou 937ee8047b
Make stylistic change to modus-themes--hex-to-rgb 2026-04-10 12:45:32 +03:00
Protesilaos Stavrou 7d234fd65f
Make blink-matching-paren-offscreen the same as show-paren-match
Thanks to Troy Brown for suggesting this change in issue 209:
<https://github.com/protesilaos/modus-themes/issues/209>.
2026-04-05 21:15:09 +03:00
Protesilaos Stavrou 84528d1f3e
Refine the typst-ts-script-char-face to use bold conditionally
This is about the user option modus-themes-bold-constructs.
2026-04-05 15:53:21 +03:00
Protesilaos Stavrou 5e69da089a
Make font-latex-script-char-face look like escape-glyph 2026-04-05 15:52:37 +03:00
Protesilaos Stavrou bbb43a6f62
Add initial support for typst-ts-mode
Thanks to Pranshu Sharma for making this suggestion in issue 208:
<https://github.com/protesilaos/modus-themes/issues/208>.
2026-04-05 15:52:05 +03:00
Protesilaos Stavrou e0f42f2740
Extend support for my lin package faces 2026-03-25 10:09:07 +02:00
Protesilaos Stavrou 83501bcd50
Correct the modus-themes-toggle behaviour to match its doc string
I want to prompt for a theme only if modus-themes-to-toggle is not
right.

Thanks Morten Kjeldgaard for bringing this matter to my attention in
issue 44 in the ef-themes repository (those are built on top of the
modus-themes): <https://github.com/protesilaos/ef-themes/issues/44>.
2026-03-20 08:15:02 +02:00
Protesilaos Stavrou 5e1621d638
Make the breadcrumb faces inherit from their base face
This way users can apply, say, a font height that carries over to all
the faces.

Thanks to baconabo for making this suggestion in issue 204:
<https://github.com/protesilaos/modus-themes/issues/204>.
2026-03-16 20:17:51 +02:00
Protesilaos Stavrou c865abc82d
Remove blank line 2026-03-15 21:48:02 +02:00