diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-08 06:20:00 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-08 06:20:00 -0500 |
| commit | 768c5d6a54adf87c124bdf7d754437261a0c3d23 (patch) | |
| tree | 4a2d363a6b1c0048fc4eb6d31e8e6cf1d227fc28 /scripts/theme-selector/README.md | |
| parent | 7db1bd536d8c526542ddf4a6813603b6f396a519 (diff) | |
| download | dotemacs-768c5d6a54adf87c124bdf7d754437261a0c3d23.tar.gz dotemacs-768c5d6a54adf87c124bdf7d754437261a0c3d23.zip | |
feat(theme-selector): bespoke shr preview (themes nov, eww, and HTML mail)
nov defines no faces of its own; it renders EPUBs entirely through shr, the built-in HTML renderer also behind eww, elfeed's article view, and HTML mail. Rather than a hollow nov entry, this exposes shr directly: a rendered-document preview (chapter title, section headings, body text, links, inline code, mark, strike-through, superscript, abbreviation, image slice) covering all 15 shr faces. Theming it themes every HTML reader at once. The body font (variable-pitch) stays a font-config concern and body color follows the default face, so nov needs nothing beyond shr.
Diffstat (limited to 'scripts/theme-selector/README.md')
| -rw-r--r-- | scripts/theme-selector/README.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/theme-selector/README.md b/scripts/theme-selector/README.md index 0edaf1f5..b7e8f155 100644 --- a/scripts/theme-selector/README.md +++ b/scripts/theme-selector/README.md @@ -64,7 +64,7 @@ foreground and background dropdown, bold/italic toggles, an `inherit` dropdown height stepper, a contrast readout, and a per-face reset. There's a per-app reset and a text filter for the large sets. -Nineteen applications have bespoke previews that exercise nearly all of their +Twenty applications have bespoke previews that exercise nearly all of their faces: org-mode (a document plus an agenda view), magit (a status buffer plus blame, reflog, sequence, bisect, and signature rows), elfeed (a search list and log), ghostel (a mock terminal with the 16 ANSI colors), mu4e (a headers list, @@ -74,8 +74,9 @@ error-list buffer), dired, dirvish (attribute columns, vc states, media, proc, narrow), calibredb (a library listing and detail view), erc (an IRC channel), org-drill (a cloze flashcard), org-noter, signel (a Signal chat), pearl (a ticket), slack (a channel with mrkdwn, attachments, blocks, and dialogs), and -telega (chat entities, reactions, buttons, and webpage rendering). Every other -installed package is reachable too, with an editable +telega (chat entities, reactions, buttons, and webpage rendering), and shr (the +built-in HTML renderer behind nov, eww, elfeed's article view, and HTML mail, so +theming it themes all of them). Every other installed package is reachable too, with an editable table and a generic preview (each face name in its own colors), so any package can be themed. Clicking a face row flashes that face in the preview, and clicking a preview element flashes its row. |
