From e78fcbad8d2e00642075ae575fa66573d7352bfc Mon Sep 17 00:00:00 2001 From: ancung Date: Tue, 20 Oct 2026 23:18:13 +0700 Subject: [PATCH] Design: add the Input amount role to the type scale Section 08's type scale gets an Input amount role, 32 / 36 / 36 (phone / tablet / desktop), for the amount typed in a field such as the 3a repay input. Figure read too small on a phone and Amount was too large for the 320 side column. Answers the question on #71. Co-Authored-By: Claude Opus 5.5 --- docs/design/forepay.pen | 108 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/docs/design/forepay.pen b/docs/design/forepay.pen index e449670..e685ad9 100644 --- a/docs/design/forepay.pen +++ b/docs/design/forepay.pen @@ -13079,6 +13079,114 @@ } ] }, + { + "type": "frame", + "id": "EpQxR", + "name": "Input amount", + "width": "fill_container", + "stroke": "$line", + "strokeWidth": { + "bottom": 1 + }, + "gap": 16, + "padding": [ + 14, + 0 + ], + "alignItems": "center", + "children": [ + { + "type": "frame", + "id": "jBGVB", + "name": "Cell", + "width": "fill_container", + "children": [ + { + "type": "text", + "id": "odpgx", + "name": "Value", + "fill": "$fg", + "content": "Input amount", + "fontFamily": "$font-sans", + "fontSize": 15, + "fontWeight": "600" + } + ] + }, + { + "type": "frame", + "id": "WJH4J", + "name": "Cell", + "width": 96, + "children": [ + { + "type": "text", + "id": "mtQqS", + "name": "Value", + "fill": "$fg", + "content": "32", + "fontFamily": "$font-sans", + "fontSize": 14, + "fontWeight": "normal" + } + ] + }, + { + "type": "frame", + "id": "aNeNt", + "name": "Cell", + "width": 96, + "children": [ + { + "type": "text", + "id": "wiKyq", + "name": "Value", + "fill": "$fg", + "content": "36", + "fontFamily": "$font-sans", + "fontSize": 14, + "fontWeight": "normal" + } + ] + }, + { + "type": "frame", + "id": "Fb6yh", + "name": "Cell", + "width": 96, + "children": [ + { + "type": "text", + "id": "bZD0a", + "name": "Value", + "fill": "$fg", + "content": "36", + "fontFamily": "$font-sans", + "fontSize": 14, + "fontWeight": "normal" + } + ] + }, + { + "type": "frame", + "id": "GfHHL", + "name": "Cell", + "width": 260, + "children": [ + { + "type": "text", + "id": "PZ3Vr", + "name": "Value", + "fill": "$fg-muted", + "content": "The amount typed in a field", + "fontFamily": "$font-sans", + "fontSize": 14, + "fontWeight": "normal" + } + ] + } + ] + }, { "type": "frame", "id": "f52Pe8",