From 4bd5e91ee0afbc392b9768d041264e810075bf68 Mon Sep 17 00:00:00 2001 From: Protesilaos Date: Tue, 14 Jul 2026 09:41:05 +0300 Subject: [PATCH] Add support for the synaxis package by Thanos Apollo --- doc/modus-themes.info | 83 ++++++++++++++++++++++--------------------- doc/modus-themes.org | 1 + modus-themes.el | 9 +++++ 3 files changed, 52 insertions(+), 41 deletions(-) diff --git a/doc/modus-themes.info b/doc/modus-themes.info index 1244c5d..457a4d2 100644 --- a/doc/modus-themes.info +++ b/doc/modus-themes.info @@ -5269,6 +5269,7 @@ have lots of extensions, so the "full support" may not be 100% true… • switch-window • swiper • symbol-overlay + • synaxis [Part of 5.4.0-dev] • syslog-mode • tab-bar-mode • tab-line-mode @@ -7469,47 +7470,47 @@ Node: Create convenience commands to load a derivative theme219556 Node: Arrange to activate your derivative themes221895 Node: Face coverage223982 Node: Supported packages224446 -Node: Indirectly covered packages230401 -Node: Notes on individual packages231759 -Node: Note on calendarel weekday and weekend colors232861 -Node: Note on git-gutter in Doom Emacs234011 -Node: Note on php-mode multiline comments236533 -Node: Note on underlines in compilation buffers237295 -Node: Note on inline Latex in Org buffers238169 -Node: Note on dimmerel238780 -Node: Note on display-fill-column-indicator-mode240265 -Node: Note on highlight-parenthesesel241716 -Node: Note on mmm-modeel background colors247795 -Node: Note for prism250146 -Node: Note on company-mode overlay pop-up253357 -Ref: Note on company-mode overlay pop-up-Footnote-1254087 -Ref: Note on company-mode overlay pop-up-Footnote-2254154 -Node: Note on ERC escaped color sequences254209 -Ref: Note on ERC escaped color sequences-Footnote-1255637 -Node: Note on powerline or spaceline255747 -Node: Note on SHR colors256163 -Node: Note on SHR fonts256584 -Node: Note on Ement colors and fonts257273 -Node: Note on pdf-tools link hints258793 -Node: Note on the Notmuch logo261251 -Node: Note on goto-address-mode faces261785 -Node: Frequently Asked Questions262905 -Node: Is the contrast ratio about adjacent colors?263535 -Node: What does it mean to avoid exaggerations?265040 -Node: Why are colors mostly variants of blue magenta cyan?266890 -Node: What is the best setup for legibility?271302 -Node: Are these color schemes?273943 -Node: Port the Modus themes to other platforms?277586 -Node: Contributing280476 -Node: Sources of the themes280875 -Node: Issues you can help with281616 -Node: Patches require copyright assignment to the FSF282938 -Node: Acknowledgements285152 -Node: GNU Free Documentation License290067 -Node: Indices315230 -Node: Function index315409 -Node: Variable index320018 -Node: Concept index324595 +Node: Indirectly covered packages230436 +Node: Notes on individual packages231794 +Node: Note on calendarel weekday and weekend colors232896 +Node: Note on git-gutter in Doom Emacs234046 +Node: Note on php-mode multiline comments236568 +Node: Note on underlines in compilation buffers237330 +Node: Note on inline Latex in Org buffers238204 +Node: Note on dimmerel238815 +Node: Note on display-fill-column-indicator-mode240300 +Node: Note on highlight-parenthesesel241751 +Node: Note on mmm-modeel background colors247830 +Node: Note for prism250181 +Node: Note on company-mode overlay pop-up253392 +Ref: Note on company-mode overlay pop-up-Footnote-1254122 +Ref: Note on company-mode overlay pop-up-Footnote-2254189 +Node: Note on ERC escaped color sequences254244 +Ref: Note on ERC escaped color sequences-Footnote-1255672 +Node: Note on powerline or spaceline255782 +Node: Note on SHR colors256198 +Node: Note on SHR fonts256619 +Node: Note on Ement colors and fonts257308 +Node: Note on pdf-tools link hints258828 +Node: Note on the Notmuch logo261286 +Node: Note on goto-address-mode faces261820 +Node: Frequently Asked Questions262940 +Node: Is the contrast ratio about adjacent colors?263570 +Node: What does it mean to avoid exaggerations?265075 +Node: Why are colors mostly variants of blue magenta cyan?266925 +Node: What is the best setup for legibility?271337 +Node: Are these color schemes?273978 +Node: Port the Modus themes to other platforms?277621 +Node: Contributing280511 +Node: Sources of the themes280910 +Node: Issues you can help with281651 +Node: Patches require copyright assignment to the FSF282973 +Node: Acknowledgements285187 +Node: GNU Free Documentation License290102 +Node: Indices315265 +Node: Function index315444 +Node: Variable index320053 +Node: Concept index324630  End Tag Table diff --git a/doc/modus-themes.org b/doc/modus-themes.org index 553cf24..ac2e0ca 100644 --- a/doc/modus-themes.org +++ b/doc/modus-themes.org @@ -5071,6 +5071,7 @@ have lots of extensions, so the "full support" may not be 100% true… + switch-window + swiper + symbol-overlay ++ synaxis [Part of {{{development-version}}}] + syslog-mode + tab-bar-mode + tab-line-mode diff --git a/modus-themes.el b/modus-themes.el index 641744b..2af8ee9 100644 --- a/modus-themes.el +++ b/modus-themes.el @@ -6841,6 +6841,15 @@ If COLOR is unspecified, then return :box unspecified." `(symbol-overlay-face-6 ((,c :background ,bg-green-intense :foreground ,fg-main))) `(symbol-overlay-face-7 ((,c :background ,bg-red-subtle :foreground ,fg-main))) `(symbol-overlay-face-8 ((,c :background ,bg-cyan-subtle :foreground ,fg-main))) +;;;;; synaxis + `(synaxis-search-date-face ((,c :foreground ,date-common))) + `(synaxis-search-feed-face ((,c :foreground ,name))) ; TODO 2026-07-14: maybe make this the same as `elfeed-search-feed-face' + `(synaxis-search-marked-face ((,c :inherit bold :background ,bg-mark-select :foreground ,fg-mark-select))) + `(synaxis-search-read-face (( ))) + `(synaxis-search-tag-face ((,c :foreground ,identifier))) ; TODO 2026-07-14: maybe make this the same as `elfeed-search-tag-face' + `(synaxis-search-unread-face ((,c :inherit bold :foreground ,fg-main))) ; same as `elfeed-search-unread-title-face' + `(synaxis-show-meta-face ((,c :inherit modus-themes-heading-2))) + `(synaxis-show-title-face ((,c :inherit modus-themes-heading-1))) ;;;;; syslog-mode `(syslog-debug ((,c :inherit modus-themes-slant))) `(syslog-error ((,c :foreground ,err)))