import { FONT, INK, LINE, MUTED } from './tokens.js'; /** * Bulletproof button. Called as `{{> button href=… label=…}}`; the accent color * comes from the store's brand token (`@root.brand.accentColor`, injected by * prepareData), so the layout never hardcodes a brand color. */ export const button = `
{{label}}
`; /** A hairline rule. */ export const divider = `
 
`; /** * Order line items with a bounded thumbnail (48×48 — the img width/height caps * the display so a large product photo can't break the row, the same lesson as * the logo). Iterates `order.items`; each item has `thumbnail` (resolved * absolute URL), `product_name`, `qty`, and `final_price`. */ export const itemsTable = `{{#each order.items}}{{/each}}
{{#if this.thumbnail}}{{this.product_name}}{{/if}}{{this.product_name}}
{{t "Qty"}} {{this.qty}}
{{currency this.final_price}}
`;