aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/test-colormath.mjs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-20 03:14:51 -0400
committerCraig Jennings <c@cjennings.net>2026-06-20 03:14:51 -0400
commitdaa54f5d505178c132f4adb80444336bed0872e3 (patch)
tree193e1012970f95dc63e03a06e61760d15d825776 /scripts/theme-studio/test-colormath.mjs
parentdb5aa6e99aca42f0f4fbf2b52159dda61aa39f05 (diff)
downloaddotemacs-daa54f5d505178c132f4adb80444336bed0872e3.tar.gz
dotemacs-daa54f5d505178c132f4adb80444336bed0872e3.zip
feat(theme-studio): show face docstrings in element hovers
Each table row's category cell now shows the face's Emacs docstring on hover, on top of whatever the cell showed before. The package cell keeps the face name underneath. The syntax and UI cells had no prior tooltip, so they show just the docstring. The label-span hints are left alone. I added face-docs-dump.el, which emits face-docs.json from a live Emacs: a face-name to first-doc-line map for the UI and package tables, and a category to doc map for the syntax table. The category to font-lock-face mapping is read from build-theme.el's own map, so it isn't copied a third time. generate.py inlines both maps. A pure composeHoverTitle helper composes the tooltip, covered by Node, Python, and a new browser gate.
Diffstat (limited to 'scripts/theme-studio/test-colormath.mjs')
0 files changed, 0 insertions, 0 deletions