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: