Add feedback components 106-130; inert scope, focus return, two-step deploy

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 20:58:30 -04:00
1 parent bce416182e
commit bd3877e1b1
87 files changed
+2492 -147

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ type HeadingOptions struct {
// Heading is a title with a 1-dot Shade shadow.
func Heading(c *ui.Context, s string, o HeadingOptions) *ui.Element {
level := orDef("Heading Level", o.Level, 1)
level := pixel.Or("Heading Level", o.Level, 1)
if level > 3 {
panic(fmt.Sprintf("text: Heading Level %d outside 1–3", level))
}