aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 16:47:16 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 16:47:16 -0400
commitb1fba1d65a02a18a8d063b31201a16f9714c9378 (patch)
tree6dca4cc7f704de9969effe517f84401eb9203357 /docs
parentc3f6e2a4fbfd08ca5482f23c8b23f07567d43162 (diff)
downloaddotemacs-b1fba1d65a02a18a8d063b31201a16f9714c9378.tar.gz
dotemacs-b1fba1d65a02a18a8d063b31201a16f9714c9378.zip
feat(theme-studio): visible size-nav buttons + 48 pt gallery scale
The preview dropdown gets flanking nav buttons, matching the view selector, so the size steps with a click. Left/Right arrows do the same when the dropdown is focused. Both clamp at the ends and disable on a single-pane app. I extended the size scale to 32 and 48 pt for inspecting a glyph's detail. The cell width scales with the size, so beyond about 48 pt the grid is mostly scrolling. I removed the separate hover info line beside the dropdown. Each glyph's own title tooltip already shows its face and color, so the line was redundant. A new computed-style gate confirms the point size renders to the right pixels (24 pt is 32 px), so the pt label isn't lying.
Diffstat (limited to 'docs')
-rw-r--r--docs/specs/theme-studio-nerd-icons-colors-spec.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/specs/theme-studio-nerd-icons-colors-spec.org b/docs/specs/theme-studio-nerd-icons-colors-spec.org
index 717ee2ec7..c0f07b6dd 100644
--- a/docs/specs/theme-studio-nerd-icons-colors-spec.org
+++ b/docs/specs/theme-studio-nerd-icons-colors-spec.org
@@ -292,7 +292,7 @@ A face with zero resolvable icons, or with no native color, produces no group. F
*** DONE Preview-pane size dropdown
- Context: the designer needs to see the glyphs at different sizes. A general preview-pane dropdown solves it.
-- Decision: replace the static preview label with "preview:" + a =<select>=. One pane → disabled, names the preview. Multiple panes → enabled. nerd-icons gets one pane per font size in *points* (10/12/14/16/20/24, default 14) — pt because Emacs sizes fonts in =:height= (1/10 pt), so a pane maps to a real buffer size. Left/Right arrows step the focused dropdown; the size persists per app. The dropdown is multi-pane only when the gallery actually exists, so a failed capture can't promise sizes the renderer can't draw.
+- Decision: replace the static preview label with "preview:" + a =<select>=. One pane → disabled, names the preview. Multiple panes → enabled. nerd-icons gets one pane per font size in *points* (10/12/14/16/20/24/32/48, default 14) — pt because Emacs sizes fonts in =:height= (1/10 pt), so a pane maps to a real buffer size. The top sizes (32/48) are for inspecting a glyph's detail; the cell width scales with the size, so beyond ~48 pt the 314-icon grid becomes mostly scrolling. Left/Right arrows step the focused dropdown; the size persists per app. The dropdown is multi-pane only when the gallery actually exists, so a failed capture can't promise sizes the renderer can't draw.
- Consequences: easier — size selection with no new UI surface; the mechanism generalizes to any future multi-pane app. Harder — a second piece of per-pane state (the selected index).
*** DONE Font embed: full Symbols Nerd Font Mono stays embedded