From cac1aa11d1d3e75e751038965f88d40ee448b875 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 13 Jul 2026 08:16:04 -0500 Subject: feat(rules): add SVG-first rendering guidance for Emacs app UIs emacs.md gains an SVG Rendering section: default to svg.el for Emacs app UIs with real visual structure, prototype in HTML first, and stay inside the librsvg-safe constraint sheet from jotto's Emacs 30.2 pgtk spike. ui-prototyping.md points Emacs UI prototypes at the svg.el port target. jotto sent the proposal as inbox handoff 2026-07-11-0248. --- claude-rules/ui-prototyping.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'claude-rules/ui-prototyping.md') diff --git a/claude-rules/ui-prototyping.md b/claude-rules/ui-prototyping.md index c58c199..c453258 100644 --- a/claude-rules/ui-prototyping.md +++ b/claude-rules/ui-prototyping.md @@ -41,6 +41,11 @@ shared engine, in the project's design language. Pick a direction, then iterate that one across numbered passes to the final. Save each meaningful pass as its own numbered prototype so the design history is walkable. +For an Emacs app UI, the production port target is `svg.el` — browser SVG and +librsvg share primitives, so the winning prototype ports near-1:1. Keep every +prototype within the librsvg-safe constraint sheet in `emacs.md` (SVG Rendering +section) so the port stays mechanical. + ### 4. Full working prototypes, not mockups The prototypes must be functional: real state, real controls, real behavior, so -- cgit v1.2.3