Commit graph

2725 commits

Author SHA1 Message Date
Protesilaos 634dcc3245
Deprecate the user option modus-themes-prompts 2026-05-08 23:15:03 +03:00
Protesilaos c8925cd23b
Modify the manual about the version of the themes in Emacs 31
I wanted to get this done, but I had no time for it.
2026-05-07 20:39:44 +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
Protesilaos 02a339ab2d
Mention my modus-themes-exporter in the README.md 2026-05-03 22:19:04 +03:00
Protesilaos c2be0f59b5
Rewrite the manual about modus-themes-mixed-fonts
Okay, this is enough for tonight. I still have a long way to go with this...
2026-05-03 22:11:42 +03:00
Protesilaos 211a72b708
Rewrite the manual about modus-themes-to-rotate 2026-05-03 22:03:44 +03:00
Protesilaos b7f64effe5
Rewrite the manual about modus-themes-to-toggle 2026-05-03 22:01:21 +03:00
Protesilaos 7c3c48b6dd
Rewrite the manual about modus-themes-italic-constructs 2026-05-03 21:59:03 +03:00
Protesilaos 1fc28ad804
Rewrite the manual about modus-themes-bold-constructs 2026-05-03 21:58:58 +03:00
Protesilaos 3ab7b22105
Rewrite the manual about modus-themes-disable-other-themes 2026-05-03 21:51:31 +03:00
Protesilaos 7f146f8826
Continue making stylistic changes to the manual 2026-05-03 21:45:36 +03:00
Protesilaos 5efd13653a
Merge pull request #217 from Stebalien/steb/elfeed
Add support for the new elfeed-show faces
2026-05-03 10:07:09 +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 010ed94527
Start rewriting the manual
I will review the entire document, but this is enough for the evening.
2026-05-01 21:52:03 +03:00
Protesilaos 0164619a09
Be consistent about letter casing in the manual's Org PROPERTIES drawers 2026-05-01 20:18:09 +03:00
Protesilaos 8ebdc208ae
Mention in the README.md the Modus derivatives I am aware of 2026-05-01 20:01:25 +03:00
Protesilaos 2156e94a40
Same small rewording to the README.md 2026-05-01 20:01:13 +03:00
Protesilaos 15c77ce939
Update the test for modus-themes-wcag-formula
I prefer to have an error if the wrong colour is provided.
2026-05-01 17:44:49 +03:00
Protesilaos 0775c7ee92
Update test for modus-themes--hex-or-name-to-rgb
It is called differently now and also throws an error if it must.
2026-05-01 17:44:15 +03:00
Protesilaos c9c0974747
Write test for modus-themes-color-hex-p 2026-05-01 17:43:28 +03: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 7950791b52
Clarify the comment about evaluating user options before loading a theme 2026-04-17 22:51:55 +03:00
Protesilaos Stavrou 195011352e
Reword a heading in the manual 2026-04-17 22:49:56 +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
Protesilaos Stavrou 9e87779b5e
Replace "doc string" with "docstring" 2026-04-13 08:45:14 +03:00
Protesilaos Stavrou ea87862946
Add a comment about the use of format in two tests 2026-04-12 18:46:25 +03:00
Protesilaos Stavrou 8635304365
Acknowledge Elias Gabriel Perez for commit 51c89ec
This was done in pull request 213: <https://github.com/protesilaos/modus-themes/pull/213>.

The change is small, meaning that Elias does not need to assign
copyright to the Free Software Foundation.
2026-04-10 23:44:16 +03:00
Protesilaos Stavrou ef4197d5ae
Merge pull request #213 from DevelopmentCool2449/main
Fix regression in mc/cursor-mc/cursor-bar-face
2026-04-10 23:43:14 +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 4ca21529ae
Make stylistic tweaks to modus-themes-test--define-test (mtt-define-test) 2026-04-10 21:39:21 +03:00
Protesilaos Stavrou 704edc5af3
Update the "Author:" field in modus-themes-test.el 2026-04-10 21:33:18 +03:00
Protesilaos Stavrou 551f4254c8
Acknowledge Benjamin Kästner for commit 44cc370
This was done in pull request 212: <https://github.com/protesilaos/modus-themes/pull/212>.

The change is within the ~15-line limit for non-trivial changes,
meaning that Benjamin does not need to assign copyright to the Free
Software Foundation.
2026-04-10 21:30:37 +03:00
Protesilaos Stavrou 44cc370313
Merge pull request #212 from bkaestner/main
Make DOCSTRING in mtt-define-test optional
2026-04-10 21:29:03 +03:00
Benjamin Kästner f90869584a Remove explicit optional DOCSTRING `nil's
The explicit `nil's actually don't break the previously introduced
functionality. As (stringp nil) is `nil', it was interpreted as a
missing DOCSTRING.

However, they now contain only noise.
2026-04-10 18:29:24 +02:00
Benjamin Kästner 742054c713 Make DOCSTRING in mtt-define-test optional
This commit removes mtt-define-test's explicit DOCSTRING argument and
instead inspects the first entry of the given ARGS:

- if (car args) is a string, it is interpreted as a DOCSTRING
- otherwise, it is considered to be part of the test's BODY

Examples:

;; No docstring
(macroexpand-1
 '(mtt-define-test trivial-check
    (should (= 1 1))))
=> (ert-deftest mtt-trivial-check nil "Test that `trivial-check' does the right thing." (should (= 1 1)))

;; With docstring
(macroexpand-1
 '(mtt-define-test trivial-check-with-docstring
    "This tests a trivial thing."
    (should (= 1 1))))
=> (ert-deftest mtt-trivial-check-with-docstring nil "This tests a trivial thing." (should (= 1 1)))

mtt-define-test's own docstring follows the usual \(fn ARGLIST)
feature used for macros, see "(elisp) Function Documentation".
2026-04-10 18:29:24 +02: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 8a8ed85ae7
Make stylistic change to the test of modus-themes-sort 2026-04-10 16:26:12 +03:00
Protesilaos Stavrou d2f64a8a4f
Write test for modus-themes-sort 2026-04-10 16:24:52 +03:00
Protesilaos Stavrou f430f287bd
Write macro to express tests how I want them 2026-04-10 16:24:38 +03:00
Protesilaos Stavrou ec4c79c472
Write test for modus-themes--background-p 2026-04-10 15:59:50 +03:00
Protesilaos Stavrou 087b419503
Write a test for modus-themes--belongs-to-family-p 2026-04-10 15:57:36 +03:00
Protesilaos Stavrou d76bbf9865
Write test for modus-themes--belongs-to-family-p 2026-04-10 15:55:31 +03:00