[{"data":1,"prerenderedAt":3572},["ShallowReactive",2],{"navigation_docs":3,"-guides-the-quiet-kit":205,"-guides-the-quiet-kit-surround":3567},[4,31,67,111,132,163,189],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start","i-lucide-play",{"title":26,"path":27,"stem":28,"icon":29},"Agent Skill","\u002Fgetting-started\u002Fagent-skill","1.getting-started\u002F4.agent-skill","i-lucide-sparkles",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"Authoring","i-lucide-pen-line","\u002Fauthoring","2.authoring",[37,42,47,52,57,62],{"title":38,"path":39,"stem":40,"icon":41},"Comark syntax","\u002Fauthoring\u002Fcomark-syntax","2.authoring\u002F1.comark-syntax","i-lucide-file-code",{"title":43,"path":44,"stem":45,"icon":46},"Frontmatter","\u002Fauthoring\u002Ffrontmatter","2.authoring\u002F2.frontmatter","i-lucide-heading",{"title":48,"path":49,"stem":50,"icon":51},"Components","\u002Fauthoring\u002Fcomponents","2.authoring\u002F3.components","i-lucide-blocks",{"title":53,"path":54,"stem":55,"icon":56},"Merge tags and data","\u002Fauthoring\u002Fmerge-tags-and-data","2.authoring\u002F4.merge-tags-and-data","i-lucide-braces",{"title":58,"path":59,"stem":60,"icon":61},"Actions and spans","\u002Fauthoring\u002Factions-and-spans","2.authoring\u002F5.actions-and-spans","i-lucide-mouse-pointer-click",{"title":63,"path":64,"stem":65,"icon":66},"Compile errors","\u002Fauthoring\u002Fcompile-errors","2.authoring\u002F6.compile-errors","i-lucide-circle-alert",{"title":68,"icon":69,"path":70,"stem":71,"children":72,"page":30},"Kits","i-lucide-palette","\u002Fkits","3.kits",[73,78,83,87,91,96,101,106],{"title":74,"path":75,"stem":76,"icon":77},"What is a kit","\u002Fkits\u002Fwhat-is-a-kit","3.kits\u002F1.what-is-a-kit","i-lucide-package",{"title":79,"path":80,"stem":81,"icon":82},"kit.yaml","\u002Fkits\u002Fkit-yaml","3.kits\u002F2.kit-yaml","i-lucide-file-cog",{"title":84,"path":85,"stem":86,"icon":51},"Component schemas","\u002Fkits\u002Fcomponent-schemas","3.kits\u002F3.component-schemas",{"title":88,"path":89,"stem":90,"icon":56},"Templates and views","\u002Fkits\u002Ftemplates-and-views","3.kits\u002F4.templates-and-views",{"title":92,"path":93,"stem":94,"icon":95},"Template checking","\u002Fkits\u002Ftemplate-checking","3.kits\u002F5.template-checking","i-lucide-shield-check",{"title":97,"path":98,"stem":99,"icon":100},"Go types and funcs","\u002Fkits\u002Fgo-types-and-funcs","3.kits\u002F6.go-types-and-funcs","i-lucide-code",{"title":102,"path":103,"stem":104,"icon":105},"Email-safe HTML","\u002Fkits\u002Femail-safe-html","3.kits\u002F7.email-safe-html","i-lucide-mail-check",{"title":107,"path":108,"stem":109,"icon":110},"Plain text","\u002Fkits\u002Fplain-text","3.kits\u002F8.plain-text","i-lucide-file-text",{"title":112,"icon":113,"path":114,"stem":115,"children":116,"page":30},"Sending","i-lucide-send","\u002Fsending","4.sending",[117,122,127],{"title":118,"path":119,"stem":120,"icon":121},"Profiles and config","\u002Fsending\u002Fprofiles-and-config","4.sending\u002F1.profiles-and-config","i-lucide-settings",{"title":123,"path":124,"stem":125,"icon":126},"Message and MIME","\u002Fsending\u002Fmessage-and-mime","4.sending\u002F2.message-and-mime","i-lucide-mail",{"title":128,"path":129,"stem":130,"icon":131},"SMTP","\u002Fsending\u002Fsmtp","4.sending\u002F3.smtp","i-lucide-server",{"title":133,"icon":134,"path":135,"stem":136,"children":137,"page":30},"Tooling","i-lucide-wrench","\u002Ftooling","5.tooling",[138,143,148,153,158],{"title":139,"path":140,"stem":141,"icon":142},"The lttr CLI","\u002Ftooling\u002Fcli","5.tooling\u002F1.cli","i-lucide-terminal",{"title":144,"path":145,"stem":146,"icon":147},"Studio","\u002Ftooling\u002Fstudio","5.tooling\u002F2.studio","i-lucide-eye",{"title":149,"path":150,"stem":151,"icon":152},"Editor setup","\u002Ftooling\u002Feditor-setup","5.tooling\u002F3.editor-setup","i-lucide-plug",{"title":154,"path":155,"stem":156,"icon":157},"Screenshots","\u002Ftooling\u002Fscreenshots","5.tooling\u002F4.screenshots","i-lucide-camera",{"title":159,"path":160,"stem":161,"icon":162},"Goldens and testing","\u002Ftooling\u002Fgoldens-and-testing","5.tooling\u002F5.goldens-and-testing","i-lucide-flask-conical",{"title":164,"icon":165,"path":166,"stem":167,"children":168,"page":30},"Guides","i-lucide-book-open","\u002Fguides","6.guides",[169,174,179,184],{"title":170,"path":171,"stem":172,"icon":173},"Build your own kit","\u002Fguides\u002Fbuild-your-own-kit","6.guides\u002F1.build-your-own-kit","i-lucide-hammer",{"title":175,"path":176,"stem":177,"icon":178},"The Quiet kit","\u002Fguides\u002Fthe-quiet-kit","6.guides\u002F2.the-quiet-kit","i-lucide-mail-open",{"title":180,"path":181,"stem":182,"icon":183},"Migrating from v0.1","\u002Fguides\u002Fmigrating-from-v0-1","6.guides\u002F3.migrating-from-v0-1","i-lucide-arrow-right-left",{"title":185,"path":186,"stem":187,"icon":188},"Releasing","\u002Fguides\u002Freleasing","6.guides\u002F4.releasing","i-lucide-tag",{"title":190,"icon":191,"path":192,"stem":193,"children":194,"page":30},"Reference","i-lucide-library","\u002Freference","7.reference",[195,200],{"title":196,"path":197,"stem":198,"icon":199},"API reference","\u002Freference\u002Fapi-reference","7.reference\u002F1.api-reference","i-lucide-list-tree",{"title":201,"path":202,"stem":203,"icon":204},"Gallery","\u002Freference\u002Fgallery","7.reference\u002F2.gallery","i-lucide-images",{"id":206,"title":175,"body":207,"description":3560,"extension":3561,"links":3562,"meta":3563,"navigation":3564,"path":176,"seo":3565,"stem":177,"__hash__":3566},"docs\u002F6.guides\u002F2.the-quiet-kit.md",{"type":208,"value":209,"toc":3542},"minimark",[210,219,229,234,245,1146,1155,1158,1233,1255,1259,1271,1489,1492,1506,1598,1605,1622,1625,1738,1804,1810,1814,1840,1865,1870,1873,1983,1987,1990,2094,2101,2105,2108,2265,2269,2272,2392,2396,2399,2516,2520,2523,2669,2673,2761,2770,2774,2781,2830,2833,3018,3034,3038,3041,3157,3195,3199,3222,3393,3396,3405,3409,3421,3424,3433,3436,3445,3448,3454,3457,3467,3470,3482,3485,3497,3500,3508,3511,3515,3532,3538],[211,212,213,214,218],"p",{},"Quiet is a calm, centred email design: a serif display face, a logo at the top, generous white space and a footer on a grey ground. It was lttr's only design before v0.2.0. Now it is a kit like any other, in the Go package ",[215,216,217],"code",{},"github.com\u002Fsulv-io\u002Flttr\u002Fkits\u002Fquiet",", with 24 components, Go types for money, receipts, stock and products, and a few template functions of its own.",[211,220,221,224,225,228],{},[215,222,223],{},"examples\u002Fquiet"," uses it for nine reference emails for Loam, a fictional farm-to-door marketplace. Those nine are lttr's conformance suite: their HTML and text are compared byte for byte with golden files, and they are the Quiet half of the ",[226,227,201],"a",{"href":202},".",[230,231,233],"h2",{"id":232},"use-it","Use it",[211,235,236,237,240,241,244],{},"Import the package and compile against ",[215,238,239],{},"quiet.MustKit()",". The kit loads once, with its types and functions registered, and every call returns the same ",[215,242,243],{},"*kit.Kit",":",[246,247,253],"pre",{"className":248,"code":249,"filename":250,"language":251,"meta":252,"style":252},"language-go shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark","package main\n\nimport (\n    \"fmt\"\n    \"log\"\n    \"net\u002Fmail\"\n\n    \"github.com\u002Fsulv-io\u002Flttr\"\n    \"github.com\u002Fsulv-io\u002Flttr\u002Fkits\u002Fquiet\"\n)\n\n\u002F\u002F OrderPacked is the template's data. The receipt component binds a\n\u002F\u002F quiet.Receipt, so the order field has exactly that type.\ntype OrderPacked struct {\n    OrderID string        `json:\"order_id\"`\n    Order   quiet.Receipt `json:\"order\"`\n    Track   string        `json:\"track_url\"`\n}\n\nconst src = `---\ntemplate: order.packed\nprofile: buyer\nsubject: \"Order {{order_id}} is packed\"\npreheader: \"It leaves the farm this afternoon.\"\n---\n\n::statement{eyebrow=\"Order {{order_id}}\"}\n# Packed and ready.\n\nYour box leaves the farm this afternoon.\n\n:button[Track delivery]{href=\"{{track_url}}\"}\n::\n\n::receipt{:order=\"order\"}\n::\n\n::signoff\n::\n`\n\nvar orderPacked = lttr.MustCompile[OrderPacked](quiet.MustKit(), \"order.packed\", []byte(src))\n\nfunc main() {\n    r, err := lttr.NewRenderer(lttr.Config{\n        Kit:       quiet.MustKit(),\n        Profiles:  []lttr.Profile{{Name: \"buyer\", From: mail.Address{Name: \"Loam\", Address: \"orders@loam.example\"}}},\n        AssetBase: \"https:\u002F\u002Floam.example\u002Fassets\u002Femail\",\n        Vars: map[string]string{\n            \"brand\":   \"Loam\",\n            \"site\":    \"https:\u002F\u002Floam.example\",\n            \"help\":    \"https:\u002F\u002Floam.example\u002Fhelp\",\n            \"prefs\":   \"https:\u002F\u002Floam.example\u002Fpreferences\",\n            \"address\": \"12 Mill Lane, Alder Valley\",\n        },\n    })\n    if err != nil {\n        log.Fatal(err)\n    }\n    m, err := orderPacked.Render(r, lttr.Recipient{Address: \"ada@example.com\", Name: \"Ada\"}, OrderPacked{\n        OrderID: \"LM-2291\",\n        Order: quiet.Receipt{\n            Lines: []quiet.ReceiptLine{\n                {Name: \"Autumn veg box\", Detail: \"Large\", Qty: 1, Amount: quiet.USD(3400), Tone: quiet.ToneWarm},\n                {Name: \"Heritage apples\", Detail: \"2 kg\", Qty: 2, Amount: quiet.USD(1180), Tone: quiet.ToneSea},\n            },\n            Fees:  []quiet.Fee{{Label: \"Delivery\", Amount: quiet.USD(500)}},\n            Total: quiet.USD(5080),\n        },\n        Track: \"https:\u002F\u002Floam.example\u002Forders\u002FLM-2291\",\n    })\n    if err != nil {\n        log.Fatal(err)\n    }\n    fmt.Println(m.Subject)\n    fmt.Println()\n    fmt.Print(m.Text)\n}\n","main.go","go","",[215,254,255,268,275,285,298,308,318,323,333,342,348,353,360,366,381,393,410,421,427,432,448,454,460,466,472,478,483,489,495,500,506,511,517,523,528,534,539,544,550,555,561,566,612,617,629,657,668,713,725,745,758,772,785,798,812,818,824,841,853,859,902,913,927,942,977,1007,1013,1044,1060,1065,1076,1081,1094,1103,1108,1120,1130,1141],{"__ignoreMap":252},[256,257,260,264],"span",{"class":258,"line":259},"line",1,[256,261,263],{"class":262},"s1Q0q","package",[256,265,267],{"class":266},"sSlKG"," main\n",[256,269,271],{"class":258,"line":270},2,[256,272,274],{"emptyLinePlaceholder":273},true,"\n",[256,276,278,281],{"class":258,"line":277},3,[256,279,280],{"class":262},"import",[256,282,284],{"class":283},"sihDN"," (\n",[256,286,288,292,295],{"class":258,"line":287},4,[256,289,291],{"class":290},"sRBGO","    \"",[256,293,294],{"class":266},"fmt",[256,296,297],{"class":290},"\"\n",[256,299,301,303,306],{"class":258,"line":300},5,[256,302,291],{"class":290},[256,304,305],{"class":266},"log",[256,307,297],{"class":290},[256,309,311,313,316],{"class":258,"line":310},6,[256,312,291],{"class":290},[256,314,315],{"class":266},"net\u002Fmail",[256,317,297],{"class":290},[256,319,321],{"class":258,"line":320},7,[256,322,274],{"emptyLinePlaceholder":273},[256,324,326,328,331],{"class":258,"line":325},8,[256,327,291],{"class":290},[256,329,330],{"class":266},"github.com\u002Fsulv-io\u002Flttr",[256,332,297],{"class":290},[256,334,336,338,340],{"class":258,"line":335},9,[256,337,291],{"class":290},[256,339,217],{"class":266},[256,341,297],{"class":290},[256,343,345],{"class":258,"line":344},10,[256,346,347],{"class":283},")\n",[256,349,351],{"class":258,"line":350},11,[256,352,274],{"emptyLinePlaceholder":273},[256,354,356],{"class":258,"line":355},12,[256,357,359],{"class":358},"sBq4M","\u002F\u002F OrderPacked is the template's data. The receipt component binds a\n",[256,361,363],{"class":258,"line":362},13,[256,364,365],{"class":358},"\u002F\u002F quiet.Receipt, so the order field has exactly that type.\n",[256,367,369,372,375,378],{"class":258,"line":368},14,[256,370,371],{"class":262},"type",[256,373,374],{"class":266}," OrderPacked",[256,376,377],{"class":262}," struct",[256,379,380],{"class":283}," {\n",[256,382,384,387,390],{"class":258,"line":383},15,[256,385,386],{"class":283},"    OrderID ",[256,388,389],{"class":262},"string",[256,391,392],{"class":290},"        `json:\"order_id\"`\n",[256,394,396,399,402,404,407],{"class":258,"line":395},16,[256,397,398],{"class":283},"    Order   ",[256,400,401],{"class":266},"quiet",[256,403,228],{"class":283},[256,405,406],{"class":266},"Receipt",[256,408,409],{"class":290}," `json:\"order\"`\n",[256,411,413,416,418],{"class":258,"line":412},17,[256,414,415],{"class":283},"    Track   ",[256,417,389],{"class":262},[256,419,420],{"class":290},"        `json:\"track_url\"`\n",[256,422,424],{"class":258,"line":423},18,[256,425,426],{"class":283},"}\n",[256,428,430],{"class":258,"line":429},19,[256,431,274],{"emptyLinePlaceholder":273},[256,433,435,438,442,445],{"class":258,"line":434},20,[256,436,437],{"class":262},"const",[256,439,441],{"class":440},"sTl1q"," src",[256,443,444],{"class":262}," =",[256,446,447],{"class":290}," `---\n",[256,449,451],{"class":258,"line":450},21,[256,452,453],{"class":290},"template: order.packed\n",[256,455,457],{"class":258,"line":456},22,[256,458,459],{"class":290},"profile: buyer\n",[256,461,463],{"class":258,"line":462},23,[256,464,465],{"class":290},"subject: \"Order {{order_id}} is packed\"\n",[256,467,469],{"class":258,"line":468},24,[256,470,471],{"class":290},"preheader: \"It leaves the farm this afternoon.\"\n",[256,473,475],{"class":258,"line":474},25,[256,476,477],{"class":290},"---\n",[256,479,481],{"class":258,"line":480},26,[256,482,274],{"emptyLinePlaceholder":273},[256,484,486],{"class":258,"line":485},27,[256,487,488],{"class":290},"::statement{eyebrow=\"Order {{order_id}}\"}\n",[256,490,492],{"class":258,"line":491},28,[256,493,494],{"class":290},"# Packed and ready.\n",[256,496,498],{"class":258,"line":497},29,[256,499,274],{"emptyLinePlaceholder":273},[256,501,503],{"class":258,"line":502},30,[256,504,505],{"class":290},"Your box leaves the farm this afternoon.\n",[256,507,509],{"class":258,"line":508},31,[256,510,274],{"emptyLinePlaceholder":273},[256,512,514],{"class":258,"line":513},32,[256,515,516],{"class":290},":button[Track delivery]{href=\"{{track_url}}\"}\n",[256,518,520],{"class":258,"line":519},33,[256,521,522],{"class":290},"::\n",[256,524,526],{"class":258,"line":525},34,[256,527,274],{"emptyLinePlaceholder":273},[256,529,531],{"class":258,"line":530},35,[256,532,533],{"class":290},"::receipt{:order=\"order\"}\n",[256,535,537],{"class":258,"line":536},36,[256,538,522],{"class":290},[256,540,542],{"class":258,"line":541},37,[256,543,274],{"emptyLinePlaceholder":273},[256,545,547],{"class":258,"line":546},38,[256,548,549],{"class":290},"::signoff\n",[256,551,553],{"class":258,"line":552},39,[256,554,522],{"class":290},[256,556,558],{"class":258,"line":557},40,[256,559,560],{"class":290},"`\n",[256,562,564],{"class":258,"line":563},41,[256,565,274],{"emptyLinePlaceholder":273},[256,567,569,572,575,578,581,585,588,591,594,597,600,603,606,609],{"class":258,"line":568},42,[256,570,571],{"class":262},"var",[256,573,574],{"class":283}," orderPacked ",[256,576,577],{"class":262},"=",[256,579,580],{"class":283}," lttr.",[256,582,584],{"class":583},"sPmw6","MustCompile",[256,586,587],{"class":283},"[",[256,589,590],{"class":266},"OrderPacked",[256,592,593],{"class":283},"](quiet.",[256,595,596],{"class":583},"MustKit",[256,598,599],{"class":283},"(), ",[256,601,602],{"class":290},"\"order.packed\"",[256,604,605],{"class":283},", []",[256,607,608],{"class":262},"byte",[256,610,611],{"class":283},"(src))\n",[256,613,615],{"class":258,"line":614},43,[256,616,274],{"emptyLinePlaceholder":273},[256,618,620,623,626],{"class":258,"line":619},44,[256,621,622],{"class":262},"func",[256,624,625],{"class":583}," main",[256,627,628],{"class":283},"() {\n",[256,630,632,635,638,640,643,646,649,651,654],{"class":258,"line":631},45,[256,633,634],{"class":283},"    r, err ",[256,636,637],{"class":262},":=",[256,639,580],{"class":283},[256,641,642],{"class":583},"NewRenderer",[256,644,645],{"class":283},"(",[256,647,648],{"class":266},"lttr",[256,650,228],{"class":283},[256,652,653],{"class":266},"Config",[256,655,656],{"class":283},"{\n",[256,658,660,663,665],{"class":258,"line":659},46,[256,661,662],{"class":283},"        Kit:       quiet.",[256,664,596],{"class":583},[256,666,667],{"class":283},"(),\n",[256,669,671,674,676,678,681,684,687,690,693,695,698,701,704,707,710],{"class":258,"line":670},47,[256,672,673],{"class":283},"        Profiles:  []",[256,675,648],{"class":266},[256,677,228],{"class":283},[256,679,680],{"class":266},"Profile",[256,682,683],{"class":283},"{{Name: ",[256,685,686],{"class":290},"\"buyer\"",[256,688,689],{"class":283},", From: ",[256,691,692],{"class":266},"mail",[256,694,228],{"class":283},[256,696,697],{"class":266},"Address",[256,699,700],{"class":283},"{Name: ",[256,702,703],{"class":290},"\"Loam\"",[256,705,706],{"class":283},", Address: ",[256,708,709],{"class":290},"\"orders@loam.example\"",[256,711,712],{"class":283},"}}},\n",[256,714,716,719,722],{"class":258,"line":715},48,[256,717,718],{"class":283},"        AssetBase: ",[256,720,721],{"class":290},"\"https:\u002F\u002Floam.example\u002Fassets\u002Femail\"",[256,723,724],{"class":283},",\n",[256,726,728,731,734,736,738,741,743],{"class":258,"line":727},49,[256,729,730],{"class":283},"        Vars: ",[256,732,733],{"class":262},"map",[256,735,587],{"class":283},[256,737,389],{"class":262},[256,739,740],{"class":283},"]",[256,742,389],{"class":262},[256,744,656],{"class":283},[256,746,748,751,754,756],{"class":258,"line":747},50,[256,749,750],{"class":290},"            \"brand\"",[256,752,753],{"class":283},":   ",[256,755,703],{"class":290},[256,757,724],{"class":283},[256,759,761,764,767,770],{"class":258,"line":760},51,[256,762,763],{"class":290},"            \"site\"",[256,765,766],{"class":283},":    ",[256,768,769],{"class":290},"\"https:\u002F\u002Floam.example\"",[256,771,724],{"class":283},[256,773,775,778,780,783],{"class":258,"line":774},52,[256,776,777],{"class":290},"            \"help\"",[256,779,766],{"class":283},[256,781,782],{"class":290},"\"https:\u002F\u002Floam.example\u002Fhelp\"",[256,784,724],{"class":283},[256,786,788,791,793,796],{"class":258,"line":787},53,[256,789,790],{"class":290},"            \"prefs\"",[256,792,753],{"class":283},[256,794,795],{"class":290},"\"https:\u002F\u002Floam.example\u002Fpreferences\"",[256,797,724],{"class":283},[256,799,801,804,807,810],{"class":258,"line":800},54,[256,802,803],{"class":290},"            \"address\"",[256,805,806],{"class":283},": ",[256,808,809],{"class":290},"\"12 Mill Lane, Alder Valley\"",[256,811,724],{"class":283},[256,813,815],{"class":258,"line":814},55,[256,816,817],{"class":283},"        },\n",[256,819,821],{"class":258,"line":820},56,[256,822,823],{"class":283},"    })\n",[256,825,827,830,833,836,839],{"class":258,"line":826},57,[256,828,829],{"class":262},"    if",[256,831,832],{"class":283}," err ",[256,834,835],{"class":262},"!=",[256,837,838],{"class":440}," nil",[256,840,380],{"class":283},[256,842,844,847,850],{"class":258,"line":843},58,[256,845,846],{"class":283},"        log.",[256,848,849],{"class":583},"Fatal",[256,851,852],{"class":283},"(err)\n",[256,854,856],{"class":258,"line":855},59,[256,857,858],{"class":283},"    }\n",[256,860,862,865,867,870,873,876,878,880,883,886,889,892,895,898,900],{"class":258,"line":861},60,[256,863,864],{"class":283},"    m, err ",[256,866,637],{"class":262},[256,868,869],{"class":283}," orderPacked.",[256,871,872],{"class":583},"Render",[256,874,875],{"class":283},"(r, ",[256,877,648],{"class":266},[256,879,228],{"class":283},[256,881,882],{"class":266},"Recipient",[256,884,885],{"class":283},"{Address: ",[256,887,888],{"class":290},"\"ada@example.com\"",[256,890,891],{"class":283},", Name: ",[256,893,894],{"class":290},"\"Ada\"",[256,896,897],{"class":283},"}, ",[256,899,590],{"class":266},[256,901,656],{"class":283},[256,903,905,908,911],{"class":258,"line":904},61,[256,906,907],{"class":283},"        OrderID: ",[256,909,910],{"class":290},"\"LM-2291\"",[256,912,724],{"class":283},[256,914,916,919,921,923,925],{"class":258,"line":915},62,[256,917,918],{"class":283},"        Order: ",[256,920,401],{"class":266},[256,922,228],{"class":283},[256,924,406],{"class":266},[256,926,656],{"class":283},[256,928,930,933,935,937,940],{"class":258,"line":929},63,[256,931,932],{"class":283},"            Lines: []",[256,934,401],{"class":266},[256,936,228],{"class":283},[256,938,939],{"class":266},"ReceiptLine",[256,941,656],{"class":283},[256,943,945,948,951,954,957,960,963,966,969,971,974],{"class":258,"line":944},64,[256,946,947],{"class":283},"                {Name: ",[256,949,950],{"class":290},"\"Autumn veg box\"",[256,952,953],{"class":283},", Detail: ",[256,955,956],{"class":290},"\"Large\"",[256,958,959],{"class":283},", Qty: ",[256,961,962],{"class":440},"1",[256,964,965],{"class":283},", Amount: quiet.",[256,967,968],{"class":583},"USD",[256,970,645],{"class":283},[256,972,973],{"class":440},"3400",[256,975,976],{"class":283},"), Tone: quiet.ToneWarm},\n",[256,978,980,982,985,987,990,992,995,997,999,1001,1004],{"class":258,"line":979},65,[256,981,947],{"class":283},[256,983,984],{"class":290},"\"Heritage apples\"",[256,986,953],{"class":283},[256,988,989],{"class":290},"\"2 kg\"",[256,991,959],{"class":283},[256,993,994],{"class":440},"2",[256,996,965],{"class":283},[256,998,968],{"class":583},[256,1000,645],{"class":283},[256,1002,1003],{"class":440},"1180",[256,1005,1006],{"class":283},"), Tone: quiet.ToneSea},\n",[256,1008,1010],{"class":258,"line":1009},66,[256,1011,1012],{"class":283},"            },\n",[256,1014,1016,1019,1021,1023,1026,1029,1032,1034,1036,1038,1041],{"class":258,"line":1015},67,[256,1017,1018],{"class":283},"            Fees:  []",[256,1020,401],{"class":266},[256,1022,228],{"class":283},[256,1024,1025],{"class":266},"Fee",[256,1027,1028],{"class":283},"{{Label: ",[256,1030,1031],{"class":290},"\"Delivery\"",[256,1033,965],{"class":283},[256,1035,968],{"class":583},[256,1037,645],{"class":283},[256,1039,1040],{"class":440},"500",[256,1042,1043],{"class":283},")}},\n",[256,1045,1047,1050,1052,1054,1057],{"class":258,"line":1046},68,[256,1048,1049],{"class":283},"            Total: quiet.",[256,1051,968],{"class":583},[256,1053,645],{"class":283},[256,1055,1056],{"class":440},"5080",[256,1058,1059],{"class":283},"),\n",[256,1061,1063],{"class":258,"line":1062},69,[256,1064,817],{"class":283},[256,1066,1068,1071,1074],{"class":258,"line":1067},70,[256,1069,1070],{"class":283},"        Track: ",[256,1072,1073],{"class":290},"\"https:\u002F\u002Floam.example\u002Forders\u002FLM-2291\"",[256,1075,724],{"class":283},[256,1077,1079],{"class":258,"line":1078},71,[256,1080,823],{"class":283},[256,1082,1084,1086,1088,1090,1092],{"class":258,"line":1083},72,[256,1085,829],{"class":262},[256,1087,832],{"class":283},[256,1089,835],{"class":262},[256,1091,838],{"class":440},[256,1093,380],{"class":283},[256,1095,1097,1099,1101],{"class":258,"line":1096},73,[256,1098,846],{"class":283},[256,1100,849],{"class":583},[256,1102,852],{"class":283},[256,1104,1106],{"class":258,"line":1105},74,[256,1107,858],{"class":283},[256,1109,1111,1114,1117],{"class":258,"line":1110},75,[256,1112,1113],{"class":283},"    fmt.",[256,1115,1116],{"class":583},"Println",[256,1118,1119],{"class":283},"(m.Subject)\n",[256,1121,1123,1125,1127],{"class":258,"line":1122},76,[256,1124,1113],{"class":283},[256,1126,1116],{"class":583},[256,1128,1129],{"class":283},"()\n",[256,1131,1133,1135,1138],{"class":258,"line":1132},77,[256,1134,1113],{"class":283},[256,1136,1137],{"class":583},"Print",[256,1139,1140],{"class":283},"(m.Text)\n",[256,1142,1144],{"class":258,"line":1143},78,[256,1145,426],{"class":283},[246,1147,1153],{"className":1148,"code":1150,"filename":1151,"language":1152,"meta":252},[1149],"language-text","Order LM-2291 is packed\n\nLOAM\n\nORDER LM-2291\n\nPacked and ready.\n\nYour box leaves the farm this afternoon.\n\nTrack delivery:\nhttps:\u002F\u002Floam.example\u002Forders\u002FLM-2291\n\nAutumn veg box x1 ............... US$34\nHeritage apples x2 .............. US$11.80\nDelivery ........................ US$5\nTotal ........................... US$50.80\n\nThanks,\nThe Loam team\n\nQuestions? Reply to this email or visit the Help Centre\n(https:\u002F\u002Floam.example\u002Fhelp).\n\n--\nLoam · 12 Mill Lane, Alder Valley\nNotification settings: https:\u002F\u002Floam.example\u002Fpreferences\n","Output","text",[215,1154,1150],{"__ignoreMap":252},[211,1156,1157],{},"Three things are specific to Quiet:",[1159,1160,1161,1192,1215],"ul",{},[1162,1163,1164,1171,1172,1175,1176,1179,1180,1183,1184,1187,1188,1191],"li",{},[1165,1166,1167,1168,228],"strong",{},"Set ",[215,1169,1170],{},"AssetBase"," The header shows ",[215,1173,1174],{},"logo.png",", and ",[215,1177,1178],{},"logo-dark.png"," in dark mode, from the asset base, and Quiet has no default for it. Without one, every render fails at the logo: ",[215,1181,1182],{},"layout.html:28:102: error calling url: url \"\u002Flogo.png\": relative url not allowed",". The kit's placeholder logos are in ",[215,1185,1186],{},"quiet.Files()"," under ",[215,1189,1190],{},"assets\u002F",". Host your own logos under those two names.",[1162,1193,1194,1197,1198,1201,1202,1205,1206,1209,1210,1214],{},[1165,1195,1196],{},"Set the brand vars."," The header, footers and sign-off read the brand name, links and address from kit vars. They ship with neutral defaults (",[215,1199,1200],{},"Quiet",", ",[215,1203,1204],{},"https:\u002F\u002Fexample.com","), so set them with ",[215,1207,1208],{},"Config.Vars",". The ",[226,1211,1213],{"href":1212},"#set-the-brand-vars","vars table"," lists them.",[1162,1216,1217,1220,1221,1224,1225,1228,1229,228],{},[1165,1218,1219],{},"Name profiles after the footers you want."," The layout picks the footer from the profile's name, so a profile called ",[215,1222,1223],{},"buyer"," gets the service footer and one called ",[215,1226,1227],{},"promo"," the marketing footer. See ",[226,1230,1232],{"href":1231},"#choose-a-footer-with-the-profile","Choose a footer with the profile",[211,1234,1235,1238,1239,1242,1243,1246,1247,1250,1251,1254],{},[215,1236,1237],{},"quiet.USD(3400)"," prints ",[215,1240,1241],{},"US$34",": whole amounts drop their decimals. Set ",[215,1244,1245],{},"Symbol"," for another prefix, as Loam does with ",[215,1248,1249],{},"quiet.Money{Minor: 3400, Currency: quiet.USDCode, Symbol: \"$\"}",", or use ",[215,1252,1253],{},"quiet.Exact"," to always show two decimals.",[230,1256,1258],{"id":1257},"set-the-brand-vars","Set the brand vars",[211,1260,1261,1262,1264,1265,1267,1268,1270],{},"Every var has a default in the kit's ",[215,1263,79],{},". ",[215,1266,1208],{}," overrides any of them per renderer. A key the kit doesn't declare is a ",[215,1269,642],{}," error.",[1272,1273,1274,1290],"table",{},[1275,1276,1277],"thead",{},[1278,1279,1280,1284,1287],"tr",{},[1281,1282,1283],"th",{},"Var",[1281,1285,1286],{},"Default",[1281,1288,1289],{},"Used in",[1291,1292,1293,1312,1326,1341,1356,1371,1386,1401,1416,1434,1452,1469],"tbody",{},[1278,1294,1295,1301,1305],{},[1296,1297,1298],"td",{},[215,1299,1300],{},"brand",[1296,1302,1303],{},[215,1304,1200],{},[1296,1306,1307,1308,1311],{},"The logo's alt text, \"The {brand} team\" in ",[215,1309,1310],{},"signoff",", the footer address line and several footer sentences",[1278,1313,1314,1319,1323],{},[1296,1315,1316],{},[215,1317,1318],{},"site",[1296,1320,1321],{},[215,1322,1204],{},[1296,1324,1325],{},"The marketing footer's nav row (Shop, Sell, the journal)",[1278,1327,1328,1333,1338],{},[1296,1329,1330],{},[215,1331,1332],{},"domain",[1296,1334,1335],{},[215,1336,1337],{},"example.com",[1296,1339,1340],{},"The newsletter footer: \"You're getting {journal} because you subscribed on {domain}.\"",[1278,1342,1343,1348,1353],{},[1296,1344,1345],{},[215,1346,1347],{},"help",[1296,1349,1350],{},[215,1351,1352],{},"https:\u002F\u002Fexample.com\u002Fhelp",[1296,1354,1355],{},"\"Visit the Help Centre\" in the service footer, and Help in the nav row",[1278,1357,1358,1363,1368],{},[1296,1359,1360],{},[215,1361,1362],{},"prefs",[1296,1364,1365],{},[215,1366,1367],{},"https:\u002F\u002Fexample.com\u002Fpreferences",[1296,1369,1370],{},"Notification settings and Preferences links",[1278,1372,1373,1378,1383],{},[1296,1374,1375],{},[215,1376,1377],{},"address",[1296,1379,1380],{},[215,1381,1382],{},"1 Example Street",[1296,1384,1385],{},"The address line of every footer: \"{brand} · {address}\"",[1278,1387,1388,1393,1398],{},[1296,1389,1390],{},[215,1391,1392],{},"region",[1296,1394,1395],{},[215,1396,1397],{},"your region",[1296,1399,1400],{},"The promo footer: \"…subscribed to {brand} updates for {region}.\"",[1278,1402,1403,1408,1413],{},[1296,1404,1405],{},[215,1406,1407],{},"journal",[1296,1409,1410],{},[215,1411,1412],{},"Journal",[1296,1414,1415],{},"The newsletter masthead (\"{journal} · No. {issue}\") and the nav row",[1278,1417,1418,1423,1428],{},[1296,1419,1420],{},[215,1421,1422],{},"about.buyer",[1296,1424,1425],{},[215,1426,1427],{},"your order",[1296,1429,1430,1431,1433],{},"\"This is a service email about …\" for the ",[215,1432,1223],{}," profile",[1278,1435,1436,1441,1446],{},[1296,1437,1438],{},[215,1439,1440],{},"about.seller",[1296,1442,1443],{},[215,1444,1445],{},"your seller account",[1296,1447,1448,1449],{},"The same, for ",[215,1450,1451],{},"seller",[1278,1453,1454,1459,1464],{},[1296,1455,1456],{},[215,1457,1458],{},"about.driver",[1296,1460,1461],{},[215,1462,1463],{},"your driver account",[1296,1465,1448,1466],{},[215,1467,1468],{},"driver",[1278,1470,1471,1476,1479],{},[1296,1472,1473],{},[215,1474,1475],{},"asset_base",[1296,1477,1478],{},"none",[1296,1480,1481,1482,1485,1486,228],{},"The logos. Set it with ",[215,1483,1484],{},"Config.AssetBase",", not ",[215,1487,1488],{},"Vars",[230,1490,1232],{"id":1491},"choose-a-footer-with-the-profile",[211,1493,1494,1495,1497,1498,1501,1502,1505],{},"A ",[215,1496,680],{}," in lttr only says who a message is from and which headers it carries. Quiet's ",[215,1499,1500],{},"layout.html"," reads the profile's name (",[215,1503,1504],{},".Doc.Profile.Name",") and picks the header and footer from it:",[1272,1507,1508,1521],{},[1275,1509,1510],{},[1278,1511,1512,1515,1518],{},[1281,1513,1514],{},"Profile name",[1281,1516,1517],{},"Footer",[1281,1519,1520],{},"Header",[1291,1522,1523,1543,1559,1573,1585],{},[1278,1524,1525,1537,1540],{},[1296,1526,1527,1201,1529,1201,1531,1201,1533,1536],{},[215,1528,1223],{},[215,1530,1451],{},[215,1532,1468],{},[215,1534,1535],{},"security"," and any other name",[1296,1538,1539],{},"Service: a note, \"This is a service email about …\" with Notification settings, then the address",[1296,1541,1542],{},"Logo",[1278,1544,1545,1550,1557],{},[1296,1546,1547],{},[215,1548,1549],{},"announcement",[1296,1551,1552,1553,1556],{},"Marketing without the nav row. With frontmatter ",[215,1554,1555],{},"legal: true",", the service footer instead",[1296,1558,1542],{},[1278,1560,1561,1568,1571],{},[1296,1562,1563,1201,1566],{},[215,1564,1565],{},"newsletter",[215,1567,1227],{},[1296,1569,1570],{},"Marketing: the nav row (Shop, Sell, the journal, Help), the reason with Unsubscribe and Preferences links, then the address",[1296,1572,1542],{},[1278,1574,1575,1580,1583],{},[1296,1576,1577],{},[215,1578,1579],{},"b2b",[1296,1581,1582],{},"Outreach: the address, then an opt-out line",[1296,1584,1542],{},[1278,1586,1587,1592,1595],{},[1296,1588,1589],{},[215,1590,1591],{},"internal",[1296,1593,1594],{},"Internal: \"Internal. Do not forward outside {brand}.\", then the address",[1296,1596,1597],{},"The \"Internal · Do not forward\" banner above the logo",[211,1599,1600,1601,1604],{},"Any template with frontmatter ",[215,1602,1603],{},"issue:"," also gets the newsletter masthead under the logo, \"{journal} · No. {issue}\".",[211,1606,1607,1608,1611,1612,1615,1616,1619,1620,228],{},"The marketing footer links the recipient's ",[215,1609,1610],{},"UnsubscribeURL",", so rendering a marketing template for a recipient without one fails: ",[215,1613,1614],{},"layout.html:79:38: error calling url: url \"\": empty",". Set ",[215,1617,1618],{},"ListUnsubscribe: true"," on those profiles too, so the message carries the RFC 8058 one-click headers. See ",[226,1621,118],{"href":119},[211,1623,1624],{},"The default copy changes with the profile. Seller mail says \"Questions? Reply to this email.\", security mail says \"{brand} will never ask for your password or this code by phone or chat.\" and has no service line, and everything else points to the Help Centre. A template changes the copy with the frontmatter keys Quiet declares:",[1272,1626,1627,1640],{},[1275,1628,1629],{},[1278,1630,1631,1634,1637],{},[1281,1632,1633],{},"Key",[1281,1635,1636],{},"Type",[1281,1638,1639],{},"Replaces",[1291,1641,1642,1655,1667,1679,1691,1710,1726],{},[1278,1643,1644,1649,1652],{},[1296,1645,1646],{},[215,1647,1648],{},"note",[1296,1650,1651],{},"inline Markdown",[1296,1653,1654],{},"The first line of the service footer",[1278,1656,1657,1662,1664],{},[1296,1658,1659],{},[215,1660,1661],{},"about",[1296,1663,1152],{},[1296,1665,1666],{},"What \"This is a service email about …\" names",[1278,1668,1669,1674,1676],{},[1296,1670,1671],{},[215,1672,1673],{},"reason",[1296,1675,1651],{},[1296,1677,1678],{},"The marketing footer's \"You're getting this because …\" line",[1278,1680,1681,1686,1688],{},[1296,1682,1683],{},[215,1684,1685],{},"optout",[1296,1687,1651],{},[1296,1689,1690],{},"The outreach footer's opt-out line",[1278,1692,1693,1698,1704],{},[1296,1694,1695],{},[215,1696,1697],{},"nav",[1296,1699,1700,1701],{},"flag, default ",[215,1702,1703],{},"true",[1296,1705,1706,1709],{},[215,1707,1708],{},"nav: false"," drops the marketing nav row",[1278,1711,1712,1717,1720],{},[1296,1713,1714],{},[215,1715,1716],{},"legal",[1296,1718,1719],{},"flag",[1296,1721,1722,1723,1725],{},"On an ",[215,1724,1549],{},", switches to the service footer",[1278,1727,1728,1733,1735],{},[1296,1729,1730],{},[215,1731,1732],{},"issue",[1296,1734,1152],{},[1296,1736,1737],{},"Adds the masthead, \"{journal} · No. {issue}\"",[246,1739,1744],{"className":1740,"code":1741,"filename":1742,"language":1743,"meta":252,"style":252},"language-markdown shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark","---\ntemplate: payout.sent\nprofile: seller\nsubject: \"Payout sent: {{amount}}\"\npreheader: \"{{order_count}} orders, {{period}}. In your bank within 48 hours.\"\nnote: Questions about this payout? Reply to this email.\n---\n","examples\u002Fquiet\u002Ftemplates\u002F02-grower-payout.md","markdown",[215,1745,1746,1750,1761,1771,1781,1791,1800],{"__ignoreMap":252},[256,1747,1748],{"class":258,"line":259},[256,1749,477],{"class":283},[256,1751,1752,1756,1758],{"class":258,"line":270},[256,1753,1755],{"class":1754},"s71pN","template",[256,1757,806],{"class":283},[256,1759,1760],{"class":290},"payout.sent\n",[256,1762,1763,1766,1768],{"class":258,"line":277},[256,1764,1765],{"class":1754},"profile",[256,1767,806],{"class":283},[256,1769,1770],{"class":290},"seller\n",[256,1772,1773,1776,1778],{"class":258,"line":287},[256,1774,1775],{"class":1754},"subject",[256,1777,806],{"class":283},[256,1779,1780],{"class":290},"\"Payout sent: {{amount}}\"\n",[256,1782,1783,1786,1788],{"class":258,"line":300},[256,1784,1785],{"class":1754},"preheader",[256,1787,806],{"class":283},[256,1789,1790],{"class":290},"\"{{order_count}} orders, {{period}}. In your bank within 48 hours.\"\n",[256,1792,1793,1795,1797],{"class":258,"line":310},[256,1794,1648],{"class":1754},[256,1796,806],{"class":283},[256,1798,1799],{"class":290},"Questions about this payout? Reply to this email.\n",[256,1801,1802],{"class":258,"line":320},[256,1803,477],{"class":283},[211,1805,1806,1807,1809],{},"See ",[226,1808,43],{"href":44}," for the core keys every kit has.",[230,1811,1813],{"id":1812},"browse-the-components","Browse the components",[211,1815,1816,1817,1820,1821,1824,1825,1820,1828,1831,1832,1835,1836,1839],{},"Quiet has 24 components. 22 of them stand at the top level, and two, ",[215,1818,1819],{},"story"," and ",[215,1822,1823],{},"product",", only nest inside ",[215,1826,1827],{},"stories",[215,1829,1830],{},"products",". Each keeps the short ID it had in lttr v0.1 as an alias, so ",[215,1833,1834],{},"::k1"," is ",[215,1837,1838],{},"::statement",". Names and aliases are case-insensitive.",[211,1841,1842,1843,1846,1847,1850,1851,1854,1855,1858,1859,1846,1861,1864],{},"Two limits apply across a template. It may have at most one ",[215,1844,1845],{},":button"," (",[215,1848,1849],{},"more than one :button in the template","), and ",[215,1852,1853],{},"letter",", where loose Markdown goes, takes ",[215,1856,1857],{},":link"," but no ",[215,1860,1845],{},[215,1862,1863],{},"letter: :button is not allowed here",").",[1866,1867,1869],"h3",{"id":1868},"heroes","Heroes",[211,1871,1872],{},"The opening block of most emails: centred, with the largest type.",[1272,1874,1875,1891],{},[1275,1876,1877],{},[1278,1878,1879,1882,1885,1888],{},[1281,1880,1881],{},"Component",[1281,1883,1884],{},"For",[1281,1886,1887],{},"Attributes and content",[1281,1889,1890],{},"Example",[1291,1892,1893,1926,1956],{},[1278,1894,1895,1904,1907,1921],{},[1296,1896,1897,1900,1901],{},[215,1898,1899],{},"statement"," · ",[215,1902,1903],{},"k1",[1296,1905,1906],{},"The headline block",[1296,1908,1909,1912,1913,1916,1917,1920],{},[215,1910,1911],{},"eyebrow","; ",[215,1914,1915],{},"tone=\"orange\""," for an accent eyebrow; ",[215,1918,1919],{},"size=\"xl\""," for the large h1. At most one heading (h1–h3), then paragraphs, lists and one action row",[1296,1922,1923],{},[215,1924,1925],{},"::statement{eyebrow=\"Order {{order_id}}\"}",[1278,1927,1928,1936,1939,1951],{},[1296,1929,1930,1900,1933],{},[215,1931,1932],{},"figure",[215,1934,1935],{},"k2",[1296,1937,1938],{},"A big amount",[1296,1940,1941,1944,1945,1201,1947,1950],{},[215,1942,1943],{},"amount"," (required), ",[215,1946,1911],{},[215,1948,1949],{},"usd"," for a line under the amount. Paragraphs",[1296,1952,1953],{},[215,1954,1955],{},"::figure{eyebrow=\"Weekly payout · {{period}}\" amount=\"{{amount}}\"}",[1278,1957,1958,1966,1969,1978],{},[1296,1959,1960,1900,1963],{},[215,1961,1962],{},"offer",[215,1964,1965],{},"e3",[1296,1967,1968],{},"A discount code",[1296,1970,1971,1973,1974,1977],{},[215,1972,1911],{},". Exactly a ",[215,1975,1976],{},"##"," heading, whose code span is the code, then one small terms paragraph",[1296,1979,1980],{},[215,1981,1982],{},"::offer{eyebrow=\"This week only\"}",[1866,1984,1986],{"id":1985},"bands","Bands",[211,1988,1989],{},"Full-width images with no side padding and no text form.",[1272,1991,1992,2004],{},[1275,1993,1994],{},[1278,1995,1996,1998,2000,2002],{},[1281,1997,1881],{},[1281,1999,1884],{},[1281,2001,1887],{},[1281,2003,1890],{},[1291,2005,2006,2060],{},[1278,2007,2008,2016,2019,2055],{},[1296,2009,2010,1900,2013],{},[215,2011,2012],{},"image",[215,2014,2015],{},"k3",[1296,2017,2018],{},"A hero image",[1296,2020,2021,1201,2024,2027,2028,2030,2031,2034,2035,1846,2038,1201,2041,1201,2044,1201,2047,2049,2050,2052,2053],{},[215,2022,2023],{},"src",[215,2025,2026],{},"alt"," (required with ",[215,2029,2023],{},"), ",[215,2032,2033],{},"height"," (default 340), ",[215,2036,2037],{},"tone",[215,2039,2040],{},"warm",[215,2042,2043],{},"sea",[215,2045,2046],{},"sun",[215,2048,733],{},") for the ground shown without ",[215,2051,2023],{},". No content. Must directly follow a ",[215,2054,1899],{},[1296,2056,2057],{},[215,2058,2059],{},"::image{src=\"{{hero_image}}\" alt=\"Rows of young apple trees on a hillside\" tone=\"warm\"}",[1278,2061,2062,2069,2072,2089],{},[1296,2063,2064,1900,2066],{},[215,2065,733],{},[215,2067,2068],{},"t4",[1296,2070,2071],{},"A static map",[1296,2073,2074,1201,2076,2078,2079,2081,2082,1820,2085,2088],{},[215,2075,2023],{},[215,2077,2033],{}," (default 260), and ",[215,2080,2026],{}," or both ",[215,2083,2084],{},"pickup",[215,2086,2087],{},"dropoff"," (the alt is then \"Map from {pickup} to {dropoff}\"). No content",[1296,2090,2091],{},[215,2092,2093],{},"::map{src=\"{{map_url |}}\" pickup=\"{{pickup_area}}\" dropoff=\"{{dropoff_area}}\"}",[211,2095,2096,2097,2100],{},"Quiet doesn't fetch maps. Render the image with your map provider, host it, and pass its URL in your data. ",[215,2098,2099],{},"{{map_url |}}",", with an empty fallback, lets the URL be empty, and the band then shows its map ground.",[1866,2102,2104],{"id":2103},"tables","Tables",[211,2106,2107],{},"Rows of labels and values, 32 px above and below.",[1272,2109,2110,2122],{},[1275,2111,2112],{},[1278,2113,2114,2116,2118,2120],{},[1281,2115,1881],{},[1281,2117,1884],{},[1281,2119,1887],{},[1281,2121,1890],{},[1291,2123,2124,2161,2188,2213,2241],{},[1278,2125,2126,2134,2137,2156],{},[1296,2127,2128,1900,2131],{},[215,2129,2130],{},"receipt",[215,2132,2133],{},"t1",[1296,2135,2136],{},"An order summary",[1296,2138,2139,2140,2143,2144,2147,2148,2151,2152,2155],{},"Binds ",[215,2141,2142],{},"order",", a ",[215,2145,2146],{},"quiet.Receipt"," (required): lines with thumbnails, fees, the total and an optional ",[215,2149,2150],{},"≈ US$"," line. ",[215,2153,2154],{},"total_label"," overrides the label",[1296,2157,2158],{},[215,2159,2160],{},"::receipt{:order=\"order\"}",[1278,2162,2163,2171,2174,2183],{},[1296,2164,2165,1900,2168],{},[215,2166,2167],{},"stock",[215,2169,2170],{},"t5",[1296,2172,2173],{},"Stock left",[1296,2175,2139,2176,2143,2179,2182],{},[215,2177,2178],{},"items",[215,2180,2181],{},"[]quiet.StockItem"," (required): name and SKU against \"N left\", or \"Out of stock\" in red",[1296,2184,2185],{},[215,2186,2187],{},"::stock{:items=\"stock\"}",[1278,2189,2190,2198,2201,2204],{},[1296,2191,2192,1900,2195],{},[215,2193,2194],{},"breakdown",[215,2196,2197],{},"b4",[1296,2199,2200],{},"A two-column money table",[1296,2202,2203],{},"One table of two columns. Its header row is a body row, and the last column is right-aligned",[1296,2205,2206,2209,2210],{},[215,2207,2208],{},"::breakdown"," then ",[215,2211,2212],{},"| Sales · {{order_count}} orders | {{sales}} |",[1278,2214,2215,2223,2226,2233],{},[1296,2216,2217,1900,2220],{},[215,2218,2219],{},"compare",[215,2221,2222],{},"b5",[1296,2224,2225],{},"Before and after",[1296,2227,2228,2229,2232],{},"One table of up to three columns, with a header row. With three, the middle column is small. ",[215,2230,2231],{},"**x**"," in a value cell is a bold teal value",[1296,2234,2235,2209,2238],{},[215,2236,2237],{},"::compare",[215,2239,2240],{},"| Commission | Now | From 1 Nov |",[1278,2242,2243,2247,2250,2257],{},[1296,2244,2245],{},[215,2246,1272],{},[1296,2248,2249],{},"Any small table",[1296,2251,2252,2253,2256],{},"One table of up to four columns, aligned as the Markdown says. ",[215,2254,2255],{},"headless"," makes the header row a body row",[1296,2258,2259,2209,2262],{},[215,2260,2261],{},"::table",[215,2263,2264],{},"| Date | Where | Time |",[1866,2266,2268],{"id":2267},"body-copy","Body copy",[211,2270,2271],{},"Left-aligned reading text.",[1272,2273,2274,2286],{},[1275,2275,2276],{},[1278,2277,2278,2280,2282,2284],{},[1281,2279,1881],{},[1281,2281,1884],{},[1281,2283,1887],{},[1281,2285,1890],{},[1291,2287,2288,2313,2341,2365],{},[1278,2289,2290,2297,2300,2310],{},[1296,2291,2292,1900,2294],{},[215,2293,1853],{},[215,2295,2296],{},"b1",[1296,2298,2299],{},"Paragraphs of prose",[1296,2301,2302,2303,2306,2307,2309],{},"Paragraphs, ",[215,2304,2305],{},"###"," headings, lists and a row of ",[215,2308,1857],{},"s. Loose Markdown between components goes here: it is the kit's default",[1296,2311,2312],{},"Any Markdown outside a component",[1278,2314,2315,2323,2326,2333],{},[1296,2316,2317,1900,2320],{},[215,2318,2319],{},"meta",[215,2321,2322],{},"t3",[1296,2324,2325],{},"Details, two to a row",[1296,2327,2328,2329,2332],{},"One to four ",[215,2330,2331],{},"### Label"," and paragraph pairs. A soft line break in a paragraph is a line break",[1296,2334,2335,2209,2338],{},[215,2336,2337],{},"::meta",[215,2339,2340],{},"### Deliver to",[1278,2342,2343,2351,2354,2360],{},[1296,2344,2345,1900,2348],{},[215,2346,2347],{},"quote",[215,2349,2350],{},"e2",[1296,2352,2353],{},"A pull quote",[1296,2355,2356,2359],{},[215,2357,2358],{},"cite",". One paragraph, in italic serif",[1296,2361,2362],{},[215,2363,2364],{},"::quote{cite=\"Ruth Calloway · Hollow Oak Farm\"}",[1278,2366,2367,2375,2378,2387],{},[1296,2368,2369,1900,2372],{},[215,2370,2371],{},"notice",[215,2373,2374],{},"b2",[1296,2376,2377],{},"A bordered aside",[1296,2379,2380,1912,2383,2386],{},[215,2381,2382],{},"title",[215,2384,2385],{},"tone=\"warn\""," for the warning ground. One or two paragraphs",[1296,2388,2389],{},[215,2390,2391],{},"::notice{title=\"Didn't ask for this?\"}",[1866,2393,2395],{"id":2394},"tails","Tails",[211,2397,2398],{},"Blocks that close off a hero: no padding above.",[1272,2400,2401,2413],{},[1275,2402,2403],{},[1278,2404,2405,2407,2409,2411],{},[1281,2406,1881],{},[1281,2408,1884],{},[1281,2410,1887],{},[1281,2412,1890],{},[1291,2414,2415,2452,2475],{},[1278,2416,2417,2425,2428,2447],{},[1296,2418,2419,1900,2422],{},[215,2420,2421],{},"progress",[215,2423,2424],{},"t2",[1296,2426,2427],{},"A step tracker",[1296,2429,2430,2431,2434,2435,2438,2439,2442,2443,2446],{},"2 to 5 steps, from ",[215,2432,2433],{},"steps"," (a comma-separated list) or the ",[215,2436,2437],{},":steps"," binding (a ",[215,2440,2441],{},"[]string","), not both. ",[215,2444,2445],{},"current"," is a step name or a 1-based number, and may be a merge tag",[1296,2448,2449],{},[215,2450,2451],{},"::progress{steps=\"Confirmed, Packed, On its way, Delivered\" current=\"On its way\"}",[1278,2453,2454,2461,2464,2470],{},[1296,2455,2456,1900,2458],{},[215,2457,215],{},[215,2459,2460],{},"b3",[1296,2462,2463],{},"A one-time code",[1296,2465,2466,2469],{},[215,2467,2468],{},"value"," (required), shown large with its spaces removed. An optional expiry paragraph",[1296,2471,2472],{},[215,2473,2474],{},"::code{value=\"{{otp_code}}\"}",[1278,2476,2477,2492,2495,2508],{},[1296,2478,2479,1900,2482,2485,2486,2485,2489],{},[215,2480,2481],{},"actions",[215,2483,2484],{},"c1"," ",[215,2487,2488],{},"c2",[215,2490,2491],{},"c3",[1296,2493,2494],{},"A row of actions on its own",[1296,2496,2497,2498,2143,2500,2502,2503,2505,2506],{},"Exactly one action row: a ",[215,2499,1845],{},[215,2501,1845],{}," and a ",[215,2504,1857],{},", or a ",[215,2507,1857],{},[1296,2509,2510,2209,2513],{},[215,2511,2512],{},"::actions",[215,2514,2515],{},":button[View payout]{href=\"{{payout_url}}\"}",[1866,2517,2519],{"id":2518},"tiles","Tiles",[211,2521,2522],{},"Grids of two tiles to a row, for newsletters and campaigns. In the text part, each tile is a block of its own: the title or the name and price, then its link.",[1272,2524,2525,2537],{},[1275,2526,2527],{},[1278,2528,2529,2531,2533,2535],{},[1281,2530,1881],{},[1281,2532,1884],{},[1281,2534,1887],{},[1281,2536,1890],{},[1291,2538,2539,2562,2599,2634],{},[1278,2540,2541,2548,2551,2557],{},[1296,2542,2543,1900,2545],{},[215,2544,1827],{},[215,2546,2547],{},"e1",[1296,2549,2550],{},"Story tiles",[1296,2552,2328,2553,2556],{},[215,2554,2555],{},":::story"," children, with a hairline between rows",[1296,2558,2559],{},[215,2560,2561],{},"::stories",[1278,2563,2564,2568,2571,2594],{},[1296,2565,2566],{},[215,2567,1819],{},[1296,2569,2570],{},"One story tile",[1296,2572,2573,1944,2576,1201,2578,1201,2580,1201,2582,2585,2586,2030,2589,2591,2592],{},[215,2574,2575],{},"href",[215,2577,1911],{},[215,2579,2012],{},[215,2581,2026],{},[215,2583,2584],{},"cta"," (default ",[215,2587,2588],{},"Read",[215,2590,2037],{},". One paragraph, the title. Only inside ",[215,2593,1827],{},[1296,2595,2596],{},[215,2597,2598],{},":::story{eyebrow=\"Grow\" href=\"https:\u002F\u002Floam.example\u002Fnotes\u002Fcold-frame\" tone=\"sea\"}",[1278,2600,2601,2608,2611,2629],{},[1296,2602,2603,1900,2605],{},[215,2604,1830],{},[215,2606,2607],{},"e4",[1296,2609,2610],{},"Product tiles",[1296,2612,2139,2613,2143,2615,2618,2619,2622,2623,2585,2625,2628],{},[215,2614,2178],{},[215,2616,2617],{},"[]quiet.Product",", or up to four ",[215,2620,2621],{},":::product"," children, not both. ",[215,2624,2584],{},[215,2626,2627],{},"Buy",")",[1296,2630,2631],{},[215,2632,2633],{},"::products{:items=\"products\"}",[1278,2635,2636,2640,2643,2664],{},[1296,2637,2638],{},[215,2639,1823],{},[1296,2641,2642],{},"One product tile",[1296,2644,2645,1201,2648,1820,2651,1944,2653,1201,2655,1201,2657,1201,2659,2661,2662],{},[215,2646,2647],{},"name",[215,2649,2650],{},"price",[215,2652,2575],{},[215,2654,2012],{},[215,2656,2026],{},[215,2658,2584],{},[215,2660,2037],{},". No content. Only inside ",[215,2663,1830],{},[1296,2665,2666],{},[215,2667,2668],{},":::product{name=\"Heritage apples\" price=\"$6\" href=\"https:\u002F\u002Floam.example\u002Fp\u002Fapples\"}",[1866,2670,2672],{"id":2671},"sign-offs-and-rules","Sign-offs and rules",[1272,2674,2675,2687],{},[1275,2676,2677],{},[1278,2678,2679,2681,2683,2685],{},[1281,2680,1881],{},[1281,2682,1884],{},[1281,2684,1887],{},[1281,2686,1890],{},[1291,2688,2689,2715,2743],{},[1278,2690,2691,2698,2701,2710],{},[1296,2692,2693,1900,2695],{},[215,2694,1310],{},[215,2696,2697],{},"s2",[1296,2699,2700],{},"The team sign-off",[1296,2702,2703,2706,2707,2709],{},[215,2704,2705],{},"closing"," or one paragraph, not both (\"Thanks,\" without either). ",[215,2708,2647],{},", default \"The {brand} team\"",[1296,2711,2712],{},[215,2713,2714],{},"::signoff{closing=\"Thanks for growing with us,\"}",[1278,2716,2717,2725,2728,2738],{},[1296,2718,2719,1900,2722],{},[215,2720,2721],{},"signature",[215,2723,2724],{},"s1",[1296,2726,2727],{},"A personal sign-off",[1296,2729,2730,1944,2732,1201,2735],{},[215,2731,2647],{},[215,2733,2734],{},"role",[215,2736,2737],{},"contact",[1296,2739,2740],{},[215,2741,2742],{},"::signature{name=\"Nadia Brennan\" role=\"Restaurant Partnerships, Loam\"}",[1278,2744,2745,2750,2753,2756],{},[1296,2746,2747],{},[215,2748,2749],{},"divider",[1296,2751,2752],{},"A hairline between blocks",[1296,2754,2755],{},"No content and no text form",[1296,2757,2758],{},[215,2759,2760],{},"::divider",[211,2762,2763,2764,1264,2767,2769],{},"Every component's schema is in ",[215,2765,2766],{},"kits\u002Fquiet\u002Fcomponents\u002F\u003Cname>\u002Fcomponent.yaml",[226,2768,84],{"href":85}," explains the keys.",[230,2771,2773],{"id":2772},"know-the-spacing-rules","Know the spacing rules",[211,2775,2776,2777,2780],{},"Templates never set margins. Each component's ",[215,2778,2779],{},"spacing"," in its schema says how much padding it has above and below, and the engine resolves the whole stack in three passes:",[2782,2783,2784,2793,2819],"ol",{},[1162,2785,2786,2787,1820,2790,228],{},"Each component starts with its own ",[215,2788,2789],{},"top",[215,2791,2792],{},"bottom",[1162,2794,2795,2796,2799,2800,1201,2803,1201,2806,2809,2810,1820,2812,2814,2815,2818],{},"A component's ",[215,2797,2798],{},"after"," rules apply when it directly follows a named component or a component of a class (",[215,2801,2802],{},".hero",[215,2804,2805],{},".band",[215,2807,2808],{},".tabular","). They can set its ",[215,2811,2789],{},[215,2813,2792],{}," and, with ",[215,2816,2817],{},"prev_bottom",", the previous component's bottom.",[1162,2820,2821,2822,2825,2826,2829],{},"Position rules win: the first component's ",[215,2823,2824],{},"first"," edge, then the last component's ",[215,2827,2828],{},"last"," edge.",[211,2831,2832],{},"What that means in Quiet:",[1272,2834,2835,2847],{},[1275,2836,2837],{},[1278,2838,2839,2841,2844],{},[1281,2840,1881],{},[1281,2842,2843],{},"Padding (px)",[1281,2845,2846],{},"Rules",[1291,2848,2849,2866,2884,2924,2936,2948,2959,2970,2982,2994,3005],{},[1278,2850,2851,2860,2863],{},[1296,2852,2853,2854,1201,2856,1201,2858,2628],{},"Heroes (",[215,2855,1899],{},[215,2857,1932],{},[215,2859,1962],{},[1296,2861,2862],{},"40 above, 36 below",[1296,2864,2865],{},"40 below when last",[1278,2867,2868,2878,2881],{},[1296,2869,2870,2871,1201,2873,2875,2876],{},"Bands (",[215,2872,2012],{},[215,2874,733],{},"), tiles, ",[215,2877,2749],{},[1296,2879,2880],{},"0",[1296,2882,2883],{},"Full bleed",[1278,2885,2886,2898,2901],{},[1296,2887,2888,1201,2890,1201,2892,1201,2894,1201,2896],{},[215,2889,2130],{},[215,2891,2167],{},[215,2893,2194],{},[215,2895,2219],{},[215,2897,1272],{},[1296,2899,2900],{},"32 above and below",[1296,2902,2903,2904,2906,2907,2909,2910,2912,2913,1820,2915,2917,2918,2920,2921,2923],{},"0 above after a ",[215,2905,1932],{}," or ",[215,2908,2319],{},", and the ",[215,2911,1932],{}," gets 32 below. ",[215,2914,2130],{},[215,2916,2219],{}," set a ",[215,2919,1899],{}," before them to 24 below, ",[215,2922,1272],{}," to 16",[1278,2925,2926,2930,2933],{},[1296,2927,2928],{},[215,2929,1853],{},[1296,2931,2932],{},"32 above, 28 below",[1296,2934,2935],{},"36 above when first",[1278,2937,2938,2942,2945],{},[1296,2939,2940],{},[215,2941,2319],{},[1296,2943,2944],{},"0 above, 32 below",[1296,2946,2947],{},"32 above after a band",[1278,2949,2950,2954,2956],{},[1296,2951,2952],{},[215,2953,2371],{},[1296,2955,2944],{},[1296,2957,2958],{},"40 below when last or after a band",[1278,2960,2961,2965,2968],{},[1296,2962,2963],{},[215,2964,2347],{},[1296,2966,2967],{},"40 above and below",[1296,2969],{},[1278,2971,2972,2976,2979],{},[1296,2973,2974],{},[215,2975,2421],{},[1296,2977,2978],{},"0 above, 8 below",[1296,2980,2981],{},"Sets a hero before it to 28 below",[1278,2983,2984,2988,2991],{},[1296,2985,2986],{},[215,2987,215],{},[1296,2989,2990],{},"0 above, 40 below",[1296,2992,2993],{},"Sets a hero before it to 0 below",[1278,2995,2996,3000,3002],{},[1296,2997,2998],{},[215,2999,2481],{},[1296,3001,2990],{},[1296,3003,3004],{},"8 above after any of the five tables",[1278,3006,3007,3013,3016],{},[1296,3008,3009,1201,3011],{},[215,3010,1310],{},[215,3012,2721],{},[1296,3014,3015],{},"0 above, 36 below",[1296,3017],{},[211,3019,3020,3021,1820,3024,3027,3028,3030,3031,3033],{},"The view hands the resolved values to the template as ",[215,3022,3023],{},".Section.Top",[215,3025,3026],{},".Section.Bottom",". See ",[226,3029,84],{"href":85}," for the ",[215,3032,2779],{}," keys.",[230,3035,3037],{"id":3036},"bind-the-go-types","Bind the Go types",[211,3039,3040],{},"Four components bind Go values. The kit registers these types, and a binding must have exactly its type:",[1272,3042,3043,3055],{},[1275,3044,3045],{},[1278,3046,3047,3049,3052],{},[1281,3048,1636],{},[1281,3050,3051],{},"Bound by",[1281,3053,3054],{},"Holds",[1291,3056,3057,3088,3113,3142],{},[1278,3058,3059,3063,3070],{},[1296,3060,3061],{},[215,3062,2146],{},[1296,3064,3065,2485,3067],{},[215,3066,2130],{},[215,3068,3069],{},":order",[1296,3071,3072,1201,3075,1201,3078,3081,3082,1820,3085],{},[215,3073,3074],{},"Lines []ReceiptLine",[215,3076,3077],{},"Fees []Fee",[215,3079,3080],{},"Total Money",", an optional ",[215,3083,3084],{},"TotalUSD *Money",[215,3086,3087],{},"TotalLabel",[1278,3089,3090,3094,3101],{},[1296,3091,3092],{},[215,3093,2181],{},[1296,3095,3096,2485,3098],{},[215,3097,2167],{},[215,3099,3100],{},":items",[1296,3102,3103,1201,3106,1820,3109,3112],{},[215,3104,3105],{},"Name",[215,3107,3108],{},"SKU",[215,3110,3111],{},"Left"," for each item",[1278,3114,3115,3119,3125],{},[1296,3116,3117],{},[215,3118,2617],{},[1296,3120,3121,2485,3123],{},[215,3122,1830],{},[215,3124,3100],{},[1296,3126,3127,1201,3129,1201,3132,1201,3135,1820,3138,3141],{},[215,3128,3105],{},[215,3130,3131],{},"Price Money",[215,3133,3134],{},"Href",[215,3136,3137],{},"Image",[215,3139,3140],{},"Tone"," for each tile",[1278,3143,3144,3148,3154],{},[1296,3145,3146],{},[215,3147,2441],{},[1296,3149,3150,2485,3152],{},[215,3151,2421],{},[215,3153,2437],{},[1296,3155,3156],{},"The step labels",[211,3158,3159,3162,3163,3166,3167,2143,3170,3172,3173,3176,3177,1264,3180,3182,3183,3186,3187,3190,3191,3194],{},[215,3160,3161],{},"quiet.Money"," is an amount in minor units with a currency, and prints through ",[215,3164,3165],{},"String()",", so it works in merge tags too: Loam's ",[215,3168,3169],{},"{{amount}}",[215,3171,3161],{}," with ",[215,3174,3175],{},"Symbol: \"$\"",", prints ",[215,3178,3179],{},"$1,019.90",[215,3181,1253],{}," always shows two decimals, and ",[215,3184,3185],{},"Money.Approx()"," rounds to whole units with a ",[215,3188,3189],{},"≈"," prefix. See the ",[226,3192,196],{"href":3193},"\u002Freference\u002Fapi-reference#import-lttrkitsquiet"," for every type and method.",[230,3196,3198],{"id":3197},"see-the-nine-loam-emails","See the nine Loam emails",[211,3200,3201,3203,3204,3207,3208,3211,3212,1201,3214,3217,3218,3221],{},[215,3202,223],{}," is the package to copy from: ",[215,3205,3206],{},"profiles.go"," has the nine profiles, ",[215,3209,3210],{},"config.go"," the vars and ",[215,3213,653],{},[215,3215,3216],{},"templates\u002F"," the nine templates and ",[215,3219,3220],{},"samples.go"," a typed data type and sample for each.",[1272,3223,3224,3238],{},[1275,3225,3226],{},[1278,3227,3228,3231,3234,3236],{},[1281,3229,3230],{},"#",[1281,3232,3233],{},"Template",[1281,3235,680],{},[1281,3237,48],{},[1291,3239,3240,3257,3274,3291,3308,3325,3342,3359,3376],{},[1278,3241,3242,3245,3250,3254],{},[1296,3243,3244],{},"01",[1296,3246,3247],{},[215,3248,3249],{},"order.out_for_delivery",[1296,3251,3252],{},[215,3253,1223],{},[1296,3255,3256],{},"statement, progress, receipt, meta",[1278,3258,3259,3262,3267,3271],{},[1296,3260,3261],{},"02",[1296,3263,3264],{},[215,3265,3266],{},"payout.sent",[1296,3268,3269],{},[215,3270,1451],{},[1296,3272,3273],{},"figure, breakdown, actions, signoff",[1278,3275,3276,3279,3284,3288],{},[1296,3277,3278],{},"03",[1296,3280,3281],{},[215,3282,3283],{},"auth.reset",[1296,3285,3286],{},[215,3287,1535],{},[1296,3289,3290],{},"statement, code, notice",[1278,3292,3293,3296,3301,3305],{},[1296,3294,3295],{},"04",[1296,3297,3298],{},[215,3299,3300],{},"notes.digest",[1296,3302,3303],{},[215,3304,1565],{},[1296,3306,3307],{},"statement, image, stories, divider, quote",[1278,3309,3310,3313,3318,3322],{},[1296,3311,3312],{},"05",[1296,3314,3315],{},[215,3316,3317],{},"campaign.harvest_week",[1296,3319,3320],{},[215,3321,1227],{},[1296,3323,3324],{},"statement, image, products, divider, offer",[1278,3326,3327,3330,3335,3339],{},[1296,3328,3329],{},"06",[1296,3331,3332],{},[215,3333,3334],{},"job.offered",[1296,3336,3337],{},[215,3338,1468],{},[1296,3340,3341],{},"statement, map, meta, breakdown",[1278,3343,3344,3347,3352,3356],{},[1296,3345,3346],{},"07",[1296,3348,3349],{},[215,3350,3351],{},"fees.change",[1296,3353,3354],{},[215,3355,1549],{},[1296,3357,3358],{},"statement, compare, divider, letter, signoff",[1278,3360,3361,3364,3369,3373],{},[1296,3362,3363],{},"08",[1296,3365,3366],{},[215,3367,3368],{},"outreach.partner",[1296,3370,3371],{},[215,3372,1579],{},[1296,3374,3375],{},"letter, signature",[1278,3377,3378,3381,3386,3390],{},[1296,3379,3380],{},"09",[1296,3382,3383],{},[215,3384,3385],{},"internal.ops_update",[1296,3387,3388],{},[215,3389,1591],{},[1296,3391,3392],{},"statement, table, notice, signoff",[211,3394,3395],{},"Each preview below is the real render. Switch it between 600 and 375 px, light and dark, or show the text part and the template source.",[211,3397,3398,3401,3402,3404],{},[1165,3399,3400],{},"01 · A buyer's order on its way."," The service footer, with the frontmatter ",[215,3403,1648],{}," in place of the default.",[3406,3407],"email-preview",{"kit":401,"name":3408},"01-order.out_for_delivery",[211,3410,3411,3414,3415,3417,3418,3420],{},[1165,3412,3413],{},"02 · A grower's payout."," A ",[215,3416,1932],{}," hero, then a ",[215,3419,2194],{}," straight under it.",[3406,3422],{"kit":401,"name":3423},"02-payout.sent",[211,3425,3426,3429,3430,3432],{},[1165,3427,3428],{},"03 · A password reset."," The ",[215,3431,1535],{}," profile has no service line.",[3406,3434],{"kit":401,"name":3435},"03-auth.reset",[211,3437,3438,3441,3442,3444],{},[1165,3439,3440],{},"04 · The Field Notes newsletter."," Frontmatter ",[215,3443,1732],{}," adds the masthead, and the marketing footer has the nav row.",[3406,3446],{"kit":401,"name":3447},"04-notes.digest",[211,3449,3450,3453],{},[1165,3451,3452],{},"05 · A campaign."," Products bound from data, and an offer code.",[3406,3455],{"kit":401,"name":3456},"05-campaign.harvest_week",[211,3458,3459,3462,3463,3466],{},[1165,3460,3461],{},"06 · A courier's job offer."," The map band renders its ground when ",[215,3464,3465],{},"map_url"," is empty.",[3406,3468],{"kit":401,"name":3469},"06-job.offered",[211,3471,3472,3475,3476,3478,3479,3481],{},[1165,3473,3474],{},"07 · A fee change."," An ",[215,3477,1549],{},": the marketing footer without the nav row, and a ",[215,3480,1673],{}," from the frontmatter.",[3406,3483],{"kit":401,"name":3484},"07-fees.change",[211,3486,3487,3429,3490,3492,3493,3496],{},[1165,3488,3489],{},"08 · Partner outreach.",[215,3491,1579],{}," profile has no fixed sender, so the template sets ",[215,3494,3495],{},"from:"," on the partners subdomain. The outreach footer ends with the opt-out line.",[3406,3498],{"kit":401,"name":3499},"08-outreach.partner",[211,3501,3502,3429,3505,3507],{},[1165,3503,3504],{},"09 · An internal update.",[215,3506,1591],{}," profile adds the banner and the internal footer.",[3406,3509],{"kit":401,"name":3510},"09-internal.ops_update",[230,3512,3514],{"id":3513},"restyle-it","Restyle it",[211,3516,3517,3518,3520,3521,3524,3525,3528,3529,3531],{},"Quiet's vars are yours to set, but its tokens are fixed: ",[215,3519,653],{}," has no way to override a colour or a font. To change them, take a copy. The ",[215,3522,3523],{},"kits\u002Fquiet"," package imports only the standard library and ",[215,3526,3527],{},"lttr\u002Fkit",", so copy the whole directory, Go files included, into your module, rename the package and edit ",[215,3530,79],{},". Its template functions are unexported, so a copy of the kit files alone, without the Go package, doesn't load.",[211,3533,3534,3535,3537],{},"For a design of your own, start from Plain instead: ",[226,3536,170],{"href":171}," walks through it.",[3539,3540,3541],"style",{},"html pre.shiki code .s1Q0q, html code.shiki .s1Q0q{--shiki-light:#A0111F;--shiki-default:#A0111F;--shiki-dark:#F97583}html pre.shiki code .sSlKG, html code.shiki .sSlKG{--shiki-light:#702C00;--shiki-default:#702C00;--shiki-dark:#B392F0}html pre.shiki code .sihDN, html code.shiki .sihDN{--shiki-light:#0E1116;--shiki-default:#0E1116;--shiki-dark:#E1E4E8}html pre.shiki code .sRBGO, html code.shiki .sRBGO{--shiki-light:#032563;--shiki-default:#032563;--shiki-dark:#9ECBFF}html pre.shiki code .sBq4M, html code.shiki .sBq4M{--shiki-light:#66707B;--shiki-default:#66707B;--shiki-dark:#6A737D}html pre.shiki code .sTl1q, html code.shiki .sTl1q{--shiki-light:#023B95;--shiki-default:#023B95;--shiki-dark:#79B8FF}html pre.shiki code .sPmw6, html code.shiki .sPmw6{--shiki-light:#622CBC;--shiki-default:#622CBC;--shiki-dark:#B392F0}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s71pN, html code.shiki .s71pN{--shiki-light:#024C1A;--shiki-default:#024C1A;--shiki-dark:#85E89D}",{"title":252,"searchDepth":270,"depth":270,"links":3543},[3544,3545,3546,3547,3556,3557,3558,3559],{"id":232,"depth":270,"text":233},{"id":1257,"depth":270,"text":1258},{"id":1491,"depth":270,"text":1232},{"id":1812,"depth":270,"text":1813,"children":3548},[3549,3550,3551,3552,3553,3554,3555],{"id":1868,"depth":277,"text":1869},{"id":1985,"depth":277,"text":1986},{"id":2103,"depth":277,"text":2104},{"id":2267,"depth":277,"text":2268},{"id":2394,"depth":277,"text":2395},{"id":2518,"depth":277,"text":2519},{"id":2671,"depth":277,"text":2672},{"id":2772,"depth":270,"text":2773},{"id":3036,"depth":270,"text":3037},{"id":3197,"depth":270,"text":3198},{"id":3513,"depth":270,"text":3514},"The design lttr started with, as a kit — its 24 components, spacing rules, brand vars and profile-driven footers, and Loam, the nine example emails built on it.","md",null,{},{"icon":178},{"title":175,"description":3560},"AyCEg9uFR5HkRYVqz5o2h2xEvI3ZyDWgzJeIQ1S9j0Q",[3568,3570],{"title":170,"path":171,"stem":172,"description":3569,"icon":173,"children":-1},"Start from Plain with lttr kit init, change its tokens, add a component that binds a Go type, write a template for it and test the lot from Go.",{"title":180,"path":181,"stem":182,"description":3571,"icon":183,"children":-1},"What v0.2.0 removed and renamed, what replaces families, themes, streams and placeholders, and a v0.1 program ported step by step.",1790467461850]