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
Protesilaos Stavrou
30cbfe27b5
Consolidate some colours in the modus-themes-common-palette-mappings
2026-03-15 21:47:09 +02:00
Protesilaos Stavrou
6beea7125e
Define new bg-popup named colour
...
This gives users and derivative themes the option to pick a suitable
value for those interfaces.
Thanks to aikrahguzar for making this suggestion in issue 70 of my
ef-themes repository (the ef-themes are built on top of the
modus-themes): <https://github.com/protesilaos/ef-themes/issues/70 >.
2026-03-15 21:28:05 +02:00
Protesilaos Stavrou
100533ab0f
Remove background value from company-preview face
...
This makes it consistent with the style I am applying to the built-in
completion-preview-mode.
2026-03-15 21:28:02 +02:00
Protesilaos Stavrou
a4264088b7
Make modus-themes-adjust-value return 6-digit colour
2026-03-14 10:57:29 +02:00
Protesilaos Stavrou
ed36e34132
Bring back the modus-themes-adjust-value
...
Derivative themes may need it.
2026-03-08 21:43:54 +02:00
Protesilaos Stavrou
cb20bbe83f
Remove needless comment
2026-03-08 21:30:46 +02:00
Protesilaos Stavrou
9d0226961d
Include the featurep check in modus-themes-theme
...
This is because our check involves this:
(let ((theme-exists-p (get name 'theme-feature)) ...) ...)
Thanks to Daniel Colascione for informing me about this in issue 201:
<https://github.com/protesilaos/modus-themes/issues/201 >.
2026-03-01 12:07:59 +02:00
Protesilaos Stavrou
b45b0d8a7c
Only disable 'color-schemes' with modus-themes-disable-other-themes
...
This is because Emacs 31 comes with a "newcomer" theme that we do not
want to disable by mistake.
2026-02-22 08:43:39 +02:00
Protesilaos Stavrou
ecd696daf8
Add support for my institution-calendar faces
2026-02-20 08:58:50 +02:00
Protesilaos Stavrou
127ed57f0e
Remove magit face that does not exist anymore
2026-02-17 09:26:40 +02:00
Mike Olson
c475454d87
Use color-values-from-color-spec instead of color-name-to-rgb
...
Replace `color-name-to-rgb' with a new internal helper
`modus-themes--hex-to-rgb' that uses `color-values-from-color-spec'
(a C built-in since Emacs 28.1) to parse hex RGB strings without
any display dependency.
This fixes a crash when loading a Modus theme during early-init.el
on GUI Emacs (e.g. macOS Homebrew emacs-plus), where
`color-name-to-rgb' fails because `color-values' returns nil before
the display is ready.
The fix applies to all three direct call sites:
- `modus-themes-wcag-formula' (the critical one, called during
theme loading)
- `modus-themes-generate-color-blend'
- `modus-themes-color-warm-p'
Fixes #198 .
2026-02-16 15:04:35 -05:00