From 93f8b03a45ad57f0de1915fa286abd705c8a1cae Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 8 Jun 2026 05:35:55 -0500 Subject: feat(theme-selector): bespoke previews for lsp-mode, git-gutter, flycheck, dired, dirvish Five more apps leave the generic face-name list for full bespoke previews: lsp-mode (signature, inlay hints, read/write/textual highlights, rename, install) covering all 14 faces; git-gutter all 5 (its face names carry colons, which survive the data-face attribute and flash selectors); flycheck all 20 (a diagnostic line plus an error-list buffer); dired all 12 (built-in, so curated from the daemon rather than the inventory); dirvish all 38 (attribute columns, vc states, media info, proc, narrow). Every face renders a clickable preview element, verified by a headless DOM dump per app. --- scripts/theme-selector/README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'scripts/theme-selector/README.md') diff --git a/scripts/theme-selector/README.md b/scripts/theme-selector/README.md index afeb751f..e3c773dd 100644 --- a/scripts/theme-selector/README.md +++ b/scripts/theme-selector/README.md @@ -64,14 +64,17 @@ 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. -Six 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, message -view, and compose stub), and dashboard. 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. +Eleven 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, +message view, and compose stub), dashboard, lsp-mode (signatures, inlay hints, +symbol highlights, rename), git-gutter, flycheck (a diagnostic line plus an +error-list buffer), dired, and dirvish (attribute columns, vc states, media, +proc, narrow). 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. **Inheritance** is modeled, not flattened: a face's effective color is resolved through its `inherit` chain and shown in the table and preview; setting an -- cgit v1.2.3