From d3ac25b408184c993e9f77c645c54d4bdd0108df Mon Sep 17 00:00:00 2001 From: Sander Grootendorst Date: Fri, 27 Nov 2026 16:35:00 +0100 Subject: [PATCH] Update extension styling requirements --- .../references/14-strict-styling-requirements.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/skills/isa-extension-development/references/14-strict-styling-requirements.md b/skills/isa-extension-development/references/14-strict-styling-requirements.md index 5bf62d7..9961628 100644 --- a/skills/isa-extension-development/references/14-strict-styling-requirements.md +++ b/skills/isa-extension-development/references/14-strict-styling-requirements.md @@ -78,6 +78,12 @@ Before adding local styling, extension authors must: Custom styling is the exception, not the default. +#### Text in extension panels, dialogs, and forms + +Descriptions, practical examples, and field guidance in compact extension UI use `--isa-extension-font-size-sm`. Apply the shared class to the text itself, for example `

{example}

`. Use `isa-extension-label` for field labels. Keep descriptions and their examples at the same size when the host text-size setting changes. + +A plain paragraph can inherit the iframe body’s larger `--isa-extension-font-size-base`. The `isa-extension-muted` class sets only the color, so a paragraph using it alone can still appear as large as a content heading. When reviewing an extension, compare the computed size of an example with its surrounding description inside the iframe. + ### 14.2 Required surface rules Use these host surface patterns where possible: