An open source design system that's fully customizable and agent ready
TypeScript
templates: revert in-repo image localization, keep scaffold placeholder (#2655)
rubyycheung3f05abb83aa7
diff --git a/apps/docsite/public/template-assets/amex.svg b/apps/docsite/public/template-assets/amex.svgdeleted file mode 100644index 5d5d32b860..0000000000--- a/apps/docsite/public/template-assets/amex.svg+++ /dev/null@@ -1 +0,0 @@-<svg width="780" height="500" enable-background="new 0 0 780 500" version="1.1" viewBox="0 0 780 500" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><rect width="780" height="500" fill="#2557D6"/><path d="m0.253 235.69h37.441l8.442-19.51h18.9l8.42 19.51h73.668v-14.915l6.576 14.98h38.243l6.576-15.202v15.138h183.08l-0.085-32.026h3.542c2.479 0.083 3.204 0.302 3.204 4.226v27.8h94.689v-7.455c7.639 3.92 19.518 7.455 35.148 7.455h39.836l8.525-19.51h18.9l8.337 19.51h76.765v-18.532l11.626 18.532h61.515v-122.51h-60.88v14.468l-8.522-14.468h-62.471v14.468l-7.828-14.468h-84.38c-14.123 0-26.539 1.889-36.569 7.153v-7.153h-58.229v7.153c-6.383-5.426-15.079-7.153-24.75-7.153h-212.74l-14.274 31.641-14.659-31.641h-67.005v14.468l-7.362-14.468h-57.145l-26.539 58.246v64.261h3e-3zm236.34-17.67h-22.464l-0.083-68.794-31.775 68.793h-19.24l-31.858-68.854v68.854h-44.57l-8.42-19.592h-45.627l-8.505 19.592h-23.801l39.241-87.837h32.559l37.269 83.164v-83.164h35.766l28.678 59.587 26.344-59.587h36.485l1e-3 87.838zm-165.9-37.823l-14.998-35.017-14.915 35.017h29.913zm255.3 37.821h-73.203v-87.837h73.203v18.291h-51.289v15.833h50.06v18.005h-50.061v17.542h51.289l1e-3 18.166zm103.16-64.18c0 14.004-9.755 21.24-15.439 23.412 4.794 1.748 8.891 4.838 10.84 7.397 3.094 4.369 3.628 8.271 3.628 16.116v17.255h-22.104l-0.083-11.077c0-5.285 0.528-12.886-3.458-17.112-3.202-3.09-8.083-3.76-15.973-3.76h-23.523v31.95h-21.914v-87.838h50.401c11.199 0 19.451 0.283 26.535 4.207 6.933 3.924 11.09 9.652 11.09 19.45zm-27.699 13.042c-3.013 1.752-6.573 1.81-10.841 1.81h-26.62v-19.51h26.982c3.818 0 7.804 0.164 10.393 1.584 2.842 1.28 4.601 4.003 4.601 7.765 0 3.84-1.674 6.929-4.515 8.351zm62.844 51.138h-22.358v-87.837h22.358v87.837zm259.56 0h-31.053l-41.535-65.927v65.927h-44.628l-8.527-19.592h-45.521l-8.271 19.592h-25.648c-10.649 0-24.138-2.257-31.773-9.715-7.701-7.458-11.708-17.56-11.708-33.533 0-13.027 2.395-24.936 11.812-34.347 7.085-7.01 18.18-10.242 33.28-10.242h21.215v18.821h-20.771c-7.997 0-12.514 1.14-16.862 5.203-3.735 3.699-6.298 10.69-6.298 19.897 0 9.41 1.951 16.196 6.023 20.628 3.373 3.476 9.506 4.53 15.272 4.53h9.842l30.884-69.076h32.835l37.102 83.081v-83.08h33.366l38.519 61.174v-61.174h22.445v87.833zm-133.2-37.82l-15.165-35.017-15.081 35.017h30.246zm189.04 178.08c-5.322 7.457-15.694 11.238-29.736 11.238h-42.319v-18.84h42.147c4.181 0 7.106-0.527 8.868-2.175 1.665-1.474 2.605-3.554 2.591-5.729 0-2.561-1.064-4.593-2.677-5.811-1.59-1.342-3.904-1.95-7.722-1.95-20.574-0.67-46.244 0.608-46.244-27.194 0-12.742 8.443-26.156 31.439-26.156h43.649v-17.479h-40.557c-12.237 0-21.129 2.81-27.425 7.174v-7.175h-59.985c-9.595 0-20.854 2.279-26.179 7.175v-7.175h-107.12v7.175c-8.524-5.892-22.908-7.175-29.549-7.175h-70.656v7.175c-6.745-6.258-21.742-7.175-30.886-7.175h-79.077l-18.094 18.764-16.949-18.764h-118.13v122.59h115.9l18.646-19.062 17.565 19.062 71.442 0.061v-28.838h7.021c9.479 0.14 20.66-0.228 30.523-4.312v33.085h58.928v-31.952h2.842c3.628 0 3.985 0.144 3.985 3.615v28.333h179.01c11.364 0 23.244-2.786 29.824-7.845v7.845h56.78c11.815 0 23.354-1.587 32.134-5.649l2e-3 -22.84zm-354.94-47.155c0 24.406-19.005 29.445-38.159 29.445h-27.343v29.469h-42.591l-26.984-29.086-28.042 29.086h-86.802v-87.859h88.135l26.961 28.799 27.875-28.799h70.021c17.389 0 36.929 4.613 36.929 28.945zm-174.22 40.434h-53.878v-17.48h48.11v-17.926h-48.11v-15.974h54.939l23.969 25.604-25.03 25.776zm86.81 10.06l-33.644-35.789 33.644-34.65v70.439zm49.757-39.066h-28.318v-22.374h28.572c7.912 0 13.404 3.09 13.404 10.772 0 7.599-5.238 11.602-13.658 11.602zm148.36-40.373h73.138v18.17h-51.315v15.973h50.062v17.926h-50.062v17.48l51.314 0.08v18.23h-73.139l2e-3 -87.859zm-28.119 47.029c4.878 1.725 8.865 4.816 10.734 7.375 3.095 4.291 3.542 8.294 3.631 16.037v17.418h-22.002v-10.992c0-5.286 0.531-13.112-3.542-17.198-3.201-3.147-8.083-3.899-16.076-3.899h-23.42v32.09h-22.02v-87.859h50.594c11.093 0 19.173 0.47 26.366 4.146 6.915 4.004 11.266 9.487 11.266 19.511-1e-3 14.022-9.764 21.178-15.531 23.371zm-12.385-11.107c-2.932 1.667-6.556 1.811-10.818 1.811h-26.622v-19.732h26.982c3.902 0 7.807 0.08 10.458 1.587 2.84 1.423 4.538 4.146 4.538 7.903 0 3.758-1.699 6.786-4.538 8.431zm197.82 5.597c4.27 4.229 6.554 9.571 6.554 18.613 0 18.9-12.322 27.723-34.425 27.723h-42.68v-18.84h42.51c4.157 0 7.104-0.525 8.95-2.175 1.508-1.358 2.589-3.333 2.589-5.729 0-2.561-1.17-4.592-2.675-5.811-1.675-1.34-3.986-1.949-7.803-1.949-20.493-0.67-46.157 0.609-46.157-27.192 0-12.744 8.355-26.158 31.33-26.158h43.932v18.7h-40.198c-3.984 0-6.575 0.145-8.779 1.587-2.4 1.422-3.29 3.534-3.29 6.319 0 3.314 2.037 5.57 4.795 6.546 2.311 0.77 4.795 0.995 8.526 0.995l11.797 0.306c11.895 0.276 20.061 2.248 25.024 7.065zm86.955-23.52h-39.938c-3.986 0-6.638 0.144-8.867 1.587-2.312 1.423-3.202 3.534-3.202 6.322 0 3.314 1.951 5.568 4.791 6.544 2.312 0.771 4.795 0.996 8.444 0.996l11.878 0.304c11.983 0.284 19.982 2.258 24.86 7.072 0.891 0.67 1.422 1.422 2.033 2.175v-25h1e-3z" fill="#fff"/></svg>diff --git a/apps/docsite/public/template-assets/building.jpg b/apps/docsite/public/template-assets/building.jpgdeleted file mode 100644index 0ab9b78a8d..0000000000Binary files a/apps/docsite/public/template-assets/building.jpg and /dev/null differdiff --git a/apps/docsite/public/template-assets/classic-gallery-lifestyle-architecture.jpg b/apps/docsite/public/template-assets/classic-gallery-lifestyle-architecture.jpgdeleted file mode 100644index 341b0153c0..0000000000Binary files a/apps/docsite/public/template-assets/classic-gallery-lifestyle-architecture.jpg and /dev/null differdiff --git a/apps/docsite/public/template-assets/classic-gallery-product-backpack.png b/apps/docsite/public/template-assets/classic-gallery-product-backpack.pngdeleted file mode 100644index 673dcb78f9..0000000000Binary files a/apps/docsite/public/template-assets/classic-gallery-product-backpack.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/classic-gallery-product-headphones.png b/apps/docsite/public/template-assets/classic-gallery-product-headphones.pngdeleted file mode 100644index 4339238aa6..0000000000Binary files a/apps/docsite/public/template-assets/classic-gallery-product-headphones.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/classic-gallery-product-mug.png b/apps/docsite/public/template-assets/classic-gallery-product-mug.pngdeleted file mode 100644index 391aa74cda..0000000000Binary files a/apps/docsite/public/template-assets/classic-gallery-product-mug.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/classic-gallery-product-throw.png b/apps/docsite/public/template-assets/classic-gallery-product-throw.pngdeleted file mode 100644index 8b6c6d8dbb..0000000000Binary files a/apps/docsite/public/template-assets/classic-gallery-product-throw.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/classic-gallery-product-wallet.png b/apps/docsite/public/template-assets/classic-gallery-product-wallet.pngdeleted file mode 100644index 99040320af..0000000000Binary files a/apps/docsite/public/template-assets/classic-gallery-product-wallet.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/classic-gallery-product-watch.png b/apps/docsite/public/template-assets/classic-gallery-product-watch.pngdeleted file mode 100644index 6930b32b54..0000000000Binary files a/apps/docsite/public/template-assets/classic-gallery-product-watch.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/classic-gallery-working-together.png b/apps/docsite/public/template-assets/classic-gallery-working-together.pngdeleted file mode 100644index 175e700cac..0000000000Binary files a/apps/docsite/public/template-assets/classic-gallery-working-together.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-home-horizontal-1.png b/apps/docsite/public/template-assets/colorful-home-horizontal-1.pngdeleted file mode 100644index ca1ba87a8e..0000000000Binary files a/apps/docsite/public/template-assets/colorful-home-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-home-horizontal-2.png b/apps/docsite/public/template-assets/colorful-home-horizontal-2.pngdeleted file mode 100644index 368349cbf1..0000000000Binary files a/apps/docsite/public/template-assets/colorful-home-horizontal-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-home-vertical-1.png b/apps/docsite/public/template-assets/colorful-home-vertical-1.pngdeleted file mode 100644index 4589250816..0000000000Binary files a/apps/docsite/public/template-assets/colorful-home-vertical-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-home-vertical-2.png b/apps/docsite/public/template-assets/colorful-home-vertical-2.pngdeleted file mode 100644index eda7ec93c4..0000000000Binary files a/apps/docsite/public/template-assets/colorful-home-vertical-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-home-vertical-3.png b/apps/docsite/public/template-assets/colorful-home-vertical-3.pngdeleted file mode 100644index 43eaedf07a..0000000000Binary files a/apps/docsite/public/template-assets/colorful-home-vertical-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-1.png b/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-1.pngdeleted file mode 100644index 5bbb059232..0000000000Binary files a/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-2.png b/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-2.pngdeleted file mode 100644index 36b05c1e2e..0000000000Binary files a/apps/docsite/public/template-assets/colorful-lifestyle-horizontal-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-1.png b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-1.pngdeleted file mode 100644index 7c0189d527..0000000000Binary files a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-2.png b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-2.pngdeleted file mode 100644index eccf83ae72..0000000000Binary files a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-3.png b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-3.pngdeleted file mode 100644index 83a5464666..0000000000Binary files a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-4.png b/apps/docsite/public/template-assets/colorful-lifestyle-vertical-4.pngdeleted file mode 100644index e199813254..0000000000Binary files a/apps/docsite/public/template-assets/colorful-lifestyle-vertical-4.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-product-1.png b/apps/docsite/public/template-assets/colorful-product-1.pngdeleted file mode 100644index ef70bb7b53..0000000000Binary files a/apps/docsite/public/template-assets/colorful-product-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-product-2.png b/apps/docsite/public/template-assets/colorful-product-2.pngdeleted file mode 100644index 50bfe70c03..0000000000Binary files a/apps/docsite/public/template-assets/colorful-product-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-working-horizontal-1.png b/apps/docsite/public/template-assets/colorful-working-horizontal-1.pngdeleted file mode 100644index 249000dea6..0000000000Binary files a/apps/docsite/public/template-assets/colorful-working-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-working-horizontal-2.png b/apps/docsite/public/template-assets/colorful-working-horizontal-2.pngdeleted file mode 100644index 101be335ce..0000000000Binary files a/apps/docsite/public/template-assets/colorful-working-horizontal-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/colorful-working-horizontal-3.png b/apps/docsite/public/template-assets/colorful-working-horizontal-3.pngdeleted file mode 100644index d79e47fcbf..0000000000Binary files a/apps/docsite/public/template-assets/colorful-working-horizontal-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/google-pay-logo-dark.svg b/apps/docsite/public/template-assets/google-pay-logo-dark.svgdeleted file mode 100644index 897983550c..0000000000--- a/apps/docsite/public/template-assets/google-pay-logo-dark.svg+++ /dev/null@@ -1 +0,0 @@-<svg width="41" height="17" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z" fill="#FFF"/><path d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944" fill="#4285F4"/><path d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703" fill="#34A853"/><path d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z" fill="#FABB05"/><path d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774" fill="#E94235"/></g></svg>\ No newline at end of filediff --git a/apps/docsite/public/template-assets/google-pay-logo.svg b/apps/docsite/public/template-assets/google-pay-logo.svgdeleted file mode 100644index db0e9a9124..0000000000--- a/apps/docsite/public/template-assets/google-pay-logo.svg+++ /dev/null@@ -1,27 +0,0 @@-<?xml version="1.0" encoding="utf-8"?>-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"- viewBox="0 0 80 38.1" style="enable-background:new 0 0 80 38.1;" xml:space="preserve">-<style type="text/css">- .st0{fill:#5F6368;}- .st1{fill:#4285F4;}- .st2{fill:#34A853;}- .st3{fill:#FBBC04;}- .st4{fill:#EA4335;}-</style>-<path class="st0" d="M37.8,19.7V29h-3V6h7.8c1.9,0,3.7,0.7,5.1,2c1.4,1.2,2.1,3,2.1,4.9c0,1.9-0.7,3.6-2.1,4.9c-1.4,1.3-3.1,2-5.1,2- L37.8,19.7L37.8,19.7z M37.8,8.8v8h5c1.1,0,2.2-0.4,2.9-1.2c1.6-1.5,1.6-4,0.1-5.5c0,0-0.1-0.1-0.1-0.1c-0.8-0.8-1.8-1.3-2.9-1.2- L37.8,8.8L37.8,8.8z"/>-<path class="st0" d="M56.7,12.8c2.2,0,3.9,0.6,5.2,1.8s1.9,2.8,1.9,4.8V29H61v-2.2h-0.1c-1.2,1.8-2.9,2.7-4.9,2.7- c-1.7,0-3.2-0.5-4.4-1.5c-1.1-1-1.8-2.4-1.8-3.9c0-1.6,0.6-2.9,1.8-3.9c1.2-1,2.9-1.4,4.9-1.4c1.8,0,3.2,0.3,4.3,1v-0.7- c0-1-0.4-2-1.2-2.6c-0.8-0.7-1.8-1.1-2.9-1.1c-1.7,0-3,0.7-3.9,2.1l-2.6-1.6C51.8,13.8,53.9,12.8,56.7,12.8z M52.9,24.2- c0,0.8,0.4,1.5,1,1.9c0.7,0.5,1.5,0.8,2.3,0.8c1.2,0,2.4-0.5,3.3-1.4c1-0.9,1.5-2,1.5-3.2c-0.9-0.7-2.2-1.1-3.9-1.1- c-1.2,0-2.2,0.3-3,0.9C53.3,22.6,52.9,23.3,52.9,24.2z"/>-<path class="st0" d="M80,13.3l-9.9,22.7h-3l3.7-7.9l-6.5-14.7h3.2l4.7,11.3h0.1l4.6-11.3H80z"/>-<path class="st1" d="M25.9,17.7c0-0.9-0.1-1.8-0.2-2.7H13.2v5.1h7.1c-0.3,1.6-1.2,3.1-2.6,4v3.3H22C24.5,25.1,25.9,21.7,25.9,17.7z"- />-<path class="st2" d="M13.2,30.6c3.6,0,6.6-1.2,8.8-3.2l-4.3-3.3c-1.2,0.8-2.7,1.3-4.5,1.3c-3.4,0-6.4-2.3-7.4-5.5H1.4v3.4- C3.7,27.8,8.2,30.6,13.2,30.6z"/>-<path class="st3" d="M5.8,19.9c-0.6-1.6-0.6-3.4,0-5.1v-3.4H1.4c-1.9,3.7-1.9,8.1,0,11.9L5.8,19.9z"/>-<path class="st4" d="M13.2,9.4c1.9,0,3.7,0.7,5.1,2l0,0l3.8-3.8c-2.4-2.2-5.6-3.5-8.8-3.4c-5,0-9.6,2.8-11.8,7.3l4.4,3.4- C6.8,11.7,9.8,9.4,13.2,9.4z"/>-</svg>diff --git a/apps/docsite/public/template-assets/illustration-horizontal-1.png b/apps/docsite/public/template-assets/illustration-horizontal-1.pngdeleted file mode 100644index 9f26238f3b..0000000000Binary files a/apps/docsite/public/template-assets/illustration-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustration-horizontal-3.png b/apps/docsite/public/template-assets/illustration-horizontal-3.pngdeleted file mode 100644index bece78478a..0000000000Binary files a/apps/docsite/public/template-assets/illustration-horizontal-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustration-horizontal-4.png b/apps/docsite/public/template-assets/illustration-horizontal-4.pngdeleted file mode 100644index acb6588bc5..0000000000Binary files a/apps/docsite/public/template-assets/illustration-horizontal-4.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustration-horizontal-5.png b/apps/docsite/public/template-assets/illustration-horizontal-5.pngdeleted file mode 100644index 9a945c751d..0000000000Binary files a/apps/docsite/public/template-assets/illustration-horizontal-5.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-1.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-1.jpgdeleted file mode 100644index e587aba53d..0000000000Binary files a/apps/docsite/public/template-assets/illustrative-horizontal-1.jpg and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-2.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-2.jpgdeleted file mode 100644index e2158c5c90..0000000000Binary files a/apps/docsite/public/template-assets/illustrative-horizontal-2.jpg and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-3.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-3.jpgdeleted file mode 100644index 9767141cf1..0000000000Binary files a/apps/docsite/public/template-assets/illustrative-horizontal-3.jpg and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-4.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-4.jpgdeleted file mode 100644index e77033618b..0000000000Binary files a/apps/docsite/public/template-assets/illustrative-horizontal-4.jpg and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustrative-horizontal-5.jpg b/apps/docsite/public/template-assets/illustrative-horizontal-5.jpgdeleted file mode 100644index fc67323009..0000000000Binary files a/apps/docsite/public/template-assets/illustrative-horizontal-5.jpg and /dev/null differdiff --git a/apps/docsite/public/template-assets/illustrative-vertical-1.jpg b/apps/docsite/public/template-assets/illustrative-vertical-1.jpgdeleted file mode 100644index 7af6ff664e..0000000000Binary files a/apps/docsite/public/template-assets/illustrative-vertical-1.jpg and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-home-horizontal-1.png b/apps/docsite/public/template-assets/light-home-horizontal-1.pngdeleted file mode 100644index 4d904c3167..0000000000Binary files a/apps/docsite/public/template-assets/light-home-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-home-square-2.png b/apps/docsite/public/template-assets/light-home-square-2.pngdeleted file mode 100644index 1ae9226f44..0000000000Binary files a/apps/docsite/public/template-assets/light-home-square-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-lifestyle-horizontal-1.png b/apps/docsite/public/template-assets/light-lifestyle-horizontal-1.pngdeleted file mode 100644index 5fa30ee29d..0000000000Binary files a/apps/docsite/public/template-assets/light-lifestyle-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-lifestyle-vertical-1.png b/apps/docsite/public/template-assets/light-lifestyle-vertical-1.pngdeleted file mode 100644index 7561823bcd..0000000000Binary files a/apps/docsite/public/template-assets/light-lifestyle-vertical-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-lifestyle-vertical-3.png b/apps/docsite/public/template-assets/light-lifestyle-vertical-3.pngdeleted file mode 100644index 1e7e501943..0000000000Binary files a/apps/docsite/public/template-assets/light-lifestyle-vertical-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-lifestyle-vertical-4.png b/apps/docsite/public/template-assets/light-lifestyle-vertical-4.pngdeleted file mode 100644index 5e793bfc61..0000000000Binary files a/apps/docsite/public/template-assets/light-lifestyle-vertical-4.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-product-1.png b/apps/docsite/public/template-assets/light-product-1.pngdeleted file mode 100644index f946ffa716..0000000000Binary files a/apps/docsite/public/template-assets/light-product-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-product-2.png b/apps/docsite/public/template-assets/light-product-2.pngdeleted file mode 100644index 8360fff1d2..0000000000Binary files a/apps/docsite/public/template-assets/light-product-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-product-3.png b/apps/docsite/public/template-assets/light-product-3.pngdeleted file mode 100644index 73384c7a27..0000000000Binary files a/apps/docsite/public/template-assets/light-product-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-product-4.png b/apps/docsite/public/template-assets/light-product-4.pngdeleted file mode 100644index 5c8eac05fd..0000000000Binary files a/apps/docsite/public/template-assets/light-product-4.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-product-5.png b/apps/docsite/public/template-assets/light-product-5.pngdeleted file mode 100644index a98d44f309..0000000000Binary files a/apps/docsite/public/template-assets/light-product-5.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-scene-horizontal-1.png b/apps/docsite/public/template-assets/light-scene-horizontal-1.pngdeleted file mode 100644index c9d63bb0ac..0000000000Binary files a/apps/docsite/public/template-assets/light-scene-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-working-horizontal-1.png b/apps/docsite/public/template-assets/light-working-horizontal-1.pngdeleted file mode 100644index 32b406ca7a..0000000000Binary files a/apps/docsite/public/template-assets/light-working-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-working-horizontal-2.png b/apps/docsite/public/template-assets/light-working-horizontal-2.pngdeleted file mode 100644index b8a7e91f34..0000000000Binary files a/apps/docsite/public/template-assets/light-working-horizontal-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-working-horizontal-3.png b/apps/docsite/public/template-assets/light-working-horizontal-3.pngdeleted file mode 100644index 58c50a45fa..0000000000Binary files a/apps/docsite/public/template-assets/light-working-horizontal-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-working-horizontal-4.png b/apps/docsite/public/template-assets/light-working-horizontal-4.pngdeleted file mode 100644index f98512c5f6..0000000000Binary files a/apps/docsite/public/template-assets/light-working-horizontal-4.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/light-working-vertical-1.png b/apps/docsite/public/template-assets/light-working-vertical-1.pngdeleted file mode 100644index 175e700cac..0000000000Binary files a/apps/docsite/public/template-assets/light-working-vertical-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/mastercard.svg b/apps/docsite/public/template-assets/mastercard.svgdeleted file mode 100644index 41bea82c82..0000000000--- a/apps/docsite/public/template-assets/mastercard.svg+++ /dev/null@@ -1,14 +0,0 @@-<svg width="780" height="500" viewBox="0 0 780 500" fill="none" xmlns="http://www.w3.org/2000/svg">-<g clip-path="url(#clip0_6278_125825)">-<path d="M780 0H0V500H780V0Z" fill="#253747"/>-<path d="M211.053 467.045V438.109C211.053 427.041 204.311 419.793 192.736 419.793C186.949 419.793 180.657 421.703 176.33 427.996C172.959 422.715 168.127 419.793 160.879 419.793C156.047 419.793 151.215 421.254 147.395 426.535V420.748H137.281V467.045H147.395V441.481C147.395 433.278 151.721 429.401 158.463 429.401C165.205 429.401 168.577 433.727 168.577 441.481V467.045H178.69V441.481C178.69 433.278 183.522 429.401 189.759 429.401C196.501 429.401 199.872 433.727 199.872 441.481V467.045H211.053ZM361.068 420.748H344.662V406.758H334.549V420.748H325.391V429.906H334.549V451.145C334.549 461.764 338.875 468 350.449 468C354.776 468 359.608 466.539 362.979 464.629L360.057 455.92C357.135 457.831 353.764 458.336 351.348 458.336C346.516 458.336 344.606 455.415 344.606 450.639V429.906H361.012V420.748H361.068ZM446.92 419.737C441.133 419.737 437.256 422.658 434.84 426.479V420.692H424.727V466.989H434.84V440.919C434.84 433.221 438.211 428.839 444.504 428.839C446.414 428.839 448.83 429.345 450.797 429.794L453.718 420.13C451.696 419.737 448.83 419.737 446.92 419.737ZM317.187 424.569C312.356 421.198 305.613 419.737 298.365 419.737C286.791 419.737 279.094 425.524 279.094 434.682C279.094 442.38 284.881 446.762 294.994 448.167L299.826 448.672C305.108 449.628 308.029 451.088 308.029 453.504C308.029 456.875 304.152 459.291 297.41 459.291C290.668 459.291 285.33 456.875 281.959 454.459L277.127 462.157C282.409 466.034 289.657 467.944 296.904 467.944C310.389 467.944 318.143 461.651 318.143 452.999C318.143 444.796 311.85 440.469 302.242 439.008L297.41 438.503C293.084 437.997 289.713 437.042 289.713 434.176C289.713 430.805 293.084 428.895 298.421 428.895C304.209 428.895 309.996 431.311 312.917 432.772L317.187 424.569ZM586.26 419.737C580.473 419.737 576.596 422.658 574.18 426.479V420.692H564.067V466.989H574.18V440.919C574.18 433.221 577.551 428.839 583.844 428.839C585.754 428.839 588.17 429.345 590.137 429.794L593.059 420.242C591.092 419.737 588.227 419.737 586.26 419.737ZM457.033 443.897C457.033 457.887 466.697 468 481.643 468C488.385 468 493.217 466.539 498.049 462.719L493.217 454.516C489.34 457.437 485.519 458.842 481.137 458.842C472.934 458.842 467.147 453.055 467.147 443.897C467.147 435.188 472.934 429.401 481.137 428.951C485.463 428.951 489.34 430.412 493.217 433.278L498.049 425.074C493.217 421.198 488.385 419.793 481.643 419.793C466.697 419.737 457.033 429.906 457.033 443.897ZM550.582 443.897V420.748H540.469V426.535C537.098 422.209 532.266 419.793 525.973 419.793C512.938 419.793 502.825 429.906 502.825 443.897C502.825 457.887 512.938 468 525.973 468C532.715 468 537.547 465.584 540.469 461.258V467.045H550.582V443.897ZM513.444 443.897C513.444 435.693 518.725 428.951 527.434 428.951C535.637 428.951 541.424 435.244 541.424 443.897C541.424 452.1 535.637 458.842 527.434 458.842C518.781 458.336 513.444 452.043 513.444 443.897ZM392.42 419.737C378.935 419.737 369.271 429.401 369.271 443.84C369.271 458.336 378.935 467.944 392.926 467.944C399.668 467.944 406.41 466.034 411.748 461.651L406.916 454.403C403.039 457.325 398.207 459.235 393.431 459.235C387.139 459.235 380.902 456.314 379.441 448.167H413.658C413.658 446.706 413.658 445.751 413.658 444.29C414.108 429.401 405.399 419.737 392.42 419.737ZM392.42 428.446C398.713 428.446 403.039 432.322 403.994 439.514H379.891C380.846 433.278 385.172 428.446 392.42 428.446ZM643.682 443.897V402.432H633.568V426.535C630.197 422.209 625.365 419.793 619.073 419.793C606.037 419.793 595.924 429.906 595.924 443.897C595.924 457.887 606.037 468 619.073 468C625.815 468 630.647 465.584 633.568 461.258V467.045H643.682V443.897ZM606.543 443.897C606.543 435.693 611.825 428.951 620.533 428.951C628.736 428.951 634.524 435.244 634.524 443.897C634.524 452.1 628.736 458.842 620.533 458.842C611.825 458.336 606.543 452.043 606.543 443.897ZM267.969 443.897V420.748H257.855V426.535C254.484 422.209 249.652 419.793 243.36 419.793C230.325 419.793 220.211 429.906 220.211 443.897C220.211 457.887 230.325 468 243.36 468C250.102 468 254.934 465.584 257.855 461.258V467.045H267.969V443.897ZM230.381 443.897C230.381 435.693 235.662 428.951 244.371 428.951C252.574 428.951 258.361 435.244 258.361 443.897C258.361 452.1 252.574 458.842 244.371 458.842C235.662 458.336 230.381 452.043 230.381 443.897Z" fill="white"/>-<path d="M465.738 69.1387H313.812V342.088H465.738V69.1387Z" fill="#FF5A00"/>-<path d="M323.926 205.613C323.926 150.158 349.996 100.94 390 69.1387C360.559 45.9902 323.42 32 282.91 32C186.945 32 109.297 109.648 109.297 205.613C109.297 301.578 186.945 379.227 282.91 379.227C323.42 379.227 360.559 365.237 390 342.088C349.94 310.737 323.926 261.069 323.926 205.613Z" fill="#EB001B"/>-<path d="M670.711 205.613C670.711 301.578 593.062 379.227 497.098 379.227C456.588 379.227 419.449 365.237 390.008 342.088C430.518 310.231 456.082 261.069 456.082 205.613C456.082 150.158 430.012 100.94 390.008 69.1387C419.393 45.9902 456.532 32 497.041 32C593.062 32 670.711 110.154 670.711 205.613Z" fill="#F79E1B"/>-</g>-<defs>-<clipPath id="clip0_6278_125825">-<rect width="780" height="500" fill="white"/>-</clipPath>-</defs>-</svg>diff --git a/apps/docsite/public/template-assets/matcha-product-1.png b/apps/docsite/public/template-assets/matcha-product-1.pngdeleted file mode 100644index 1b9c843a9a..0000000000Binary files a/apps/docsite/public/template-assets/matcha-product-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/matcha-product-2.png b/apps/docsite/public/template-assets/matcha-product-2.pngdeleted file mode 100644index 752c29b9ee..0000000000Binary files a/apps/docsite/public/template-assets/matcha-product-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/matcha-product-3.png b/apps/docsite/public/template-assets/matcha-product-3.pngdeleted file mode 100644index bb1261b677..0000000000Binary files a/apps/docsite/public/template-assets/matcha-product-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/matcha-product-4.png b/apps/docsite/public/template-assets/matcha-product-4.pngdeleted file mode 100644index dd5715e4c1..0000000000Binary files a/apps/docsite/public/template-assets/matcha-product-4.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/matcha-product-5.png b/apps/docsite/public/template-assets/matcha-product-5.pngdeleted file mode 100644index 0a44fbed71..0000000000Binary files a/apps/docsite/public/template-assets/matcha-product-5.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/matcha-product-6.png b/apps/docsite/public/template-assets/matcha-product-6.pngdeleted file mode 100644index 990f80a6d0..0000000000Binary files a/apps/docsite/public/template-assets/matcha-product-6.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-home-horizontal-1.png b/apps/docsite/public/template-assets/moody-home-horizontal-1.pngdeleted file mode 100644index 081613ced5..0000000000Binary files a/apps/docsite/public/template-assets/moody-home-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-home-horizontal-2.png b/apps/docsite/public/template-assets/moody-home-horizontal-2.pngdeleted file mode 100644index df121ca927..0000000000Binary files a/apps/docsite/public/template-assets/moody-home-horizontal-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-home-vertical-1.png b/apps/docsite/public/template-assets/moody-home-vertical-1.pngdeleted file mode 100644index d2cafd3a2a..0000000000Binary files a/apps/docsite/public/template-assets/moody-home-vertical-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-home-vertical-2.png b/apps/docsite/public/template-assets/moody-home-vertical-2.pngdeleted file mode 100644index b077d5cf0b..0000000000Binary files a/apps/docsite/public/template-assets/moody-home-vertical-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-lifestyle-horizontal-1.png b/apps/docsite/public/template-assets/moody-lifestyle-horizontal-1.pngdeleted file mode 100644index af704857a0..0000000000Binary files a/apps/docsite/public/template-assets/moody-lifestyle-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-lifestyle-horizontal-2.png b/apps/docsite/public/template-assets/moody-lifestyle-horizontal-2.pngdeleted file mode 100644index 3a8263766a..0000000000Binary files a/apps/docsite/public/template-assets/moody-lifestyle-horizontal-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-lifestyle-vertical-1.png b/apps/docsite/public/template-assets/moody-lifestyle-vertical-1.pngdeleted file mode 100644index 5e3ede9a62..0000000000Binary files a/apps/docsite/public/template-assets/moody-lifestyle-vertical-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-lifestyle-vertical-2.png b/apps/docsite/public/template-assets/moody-lifestyle-vertical-2.pngdeleted file mode 100644index 0198a2dc2f..0000000000Binary files a/apps/docsite/public/template-assets/moody-lifestyle-vertical-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-scene-horizontal-1.png b/apps/docsite/public/template-assets/moody-scene-horizontal-1.pngdeleted file mode 100644index 05115dd7bc..0000000000Binary files a/apps/docsite/public/template-assets/moody-scene-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-scene-horizontal-2.png b/apps/docsite/public/template-assets/moody-scene-horizontal-2.pngdeleted file mode 100644index e51d32de3b..0000000000Binary files a/apps/docsite/public/template-assets/moody-scene-horizontal-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-scene-vertical-1.png b/apps/docsite/public/template-assets/moody-scene-vertical-1.pngdeleted file mode 100644index 1a3548dbe2..0000000000Binary files a/apps/docsite/public/template-assets/moody-scene-vertical-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-scene-vertical-2.png b/apps/docsite/public/template-assets/moody-scene-vertical-2.pngdeleted file mode 100644index ded1d3119b..0000000000Binary files a/apps/docsite/public/template-assets/moody-scene-vertical-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-working-horizontal-1.png b/apps/docsite/public/template-assets/moody-working-horizontal-1.pngdeleted file mode 100644index fe60e424b1..0000000000Binary files a/apps/docsite/public/template-assets/moody-working-horizontal-1.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-working-horizontal-2.png b/apps/docsite/public/template-assets/moody-working-horizontal-2.pngdeleted file mode 100644index 4acd6feeea..0000000000Binary files a/apps/docsite/public/template-assets/moody-working-horizontal-2.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/moody-working-horizontal-3.png b/apps/docsite/public/template-assets/moody-working-horizontal-3.pngdeleted file mode 100644index 4df4c24300..0000000000Binary files a/apps/docsite/public/template-assets/moody-working-horizontal-3.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/paypal-logo.png b/apps/docsite/public/template-assets/paypal-logo.pngdeleted file mode 100644index 85b4e3f2b1..0000000000Binary files a/apps/docsite/public/template-assets/paypal-logo.png and /dev/null differdiff --git a/apps/docsite/public/template-assets/visa.svg b/apps/docsite/public/template-assets/visa.svgdeleted file mode 100644index 618c5eb7f9..0000000000--- a/apps/docsite/public/template-assets/visa.svg+++ /dev/null@@ -1,11 +0,0 @@-<svg width="780" height="500" viewBox="0 0 780 500" fill="none" xmlns="http://www.w3.org/2000/svg">-<g clip-path="url(#clip0_6278_125833)">-<path d="M780 0H0V500H780V0Z" fill="#1434CB"/>-<path d="M489.823 143.111C442.988 143.111 401.134 167.393 401.134 212.256C401.134 263.706 475.364 267.259 475.364 293.106C475.364 303.989 462.895 313.731 441.6 313.731C411.377 313.731 388.789 300.119 388.789 300.119L379.123 345.391C379.123 345.391 405.145 356.889 439.692 356.889C490.898 356.889 531.19 331.415 531.19 285.784C531.19 231.419 456.652 227.971 456.652 203.981C456.652 195.455 466.887 186.114 488.122 186.114C512.081 186.114 531.628 196.014 531.628 196.014L541.087 152.289C541.087 152.289 519.818 143.111 489.823 143.111ZM61.3294 146.411L60.1953 153.011C60.1953 153.011 79.8988 156.618 97.645 163.814C120.495 172.064 122.122 176.868 125.971 191.786L167.905 353.486H224.118L310.719 146.411H254.635L198.989 287.202L176.282 167.861C174.199 154.203 163.651 146.411 150.74 146.411H61.3294ZM333.271 146.411L289.275 353.486H342.756L386.598 146.411H333.271ZM631.554 146.411C618.658 146.411 611.825 153.318 606.811 165.386L528.458 353.486H584.542L595.393 322.136H663.72L670.318 353.486H719.805L676.633 146.411H631.554ZM638.848 202.356L655.473 280.061H610.935L638.848 202.356Z" fill="white"/>-</g>-<defs>-<clipPath id="clip0_6278_125833">-<rect width="780" height="500" fill="white"/>-</clipPath>-</defs>-</svg>diff --git a/packages/cli/src/api/template.mjs b/packages/cli/src/api/template.mjsindex 96554ccfc8..1ab06f236b 100644--- a/packages/cli/src/api/template.mjs+++ b/packages/cli/src/api/template.mjs@@ -17,13 +17,8 @@ const PAGES_DIR = path.join(TEMPLATES_DIR, 'pages');const BLOCKS_DIR = path.join(TEMPLATES_DIR, 'blocks');/**- * Inline placeholder illustration used when scaffolding a template into a- * user's project. Template `/template-assets/*` references only resolve on the- * XDS docsite — when a builder runs `xds template <name> <path>`, those files- * don't exist in their app. Rather than ship demo images the builder will- * replace anyway, we strip the references and drop in a self-contained data-URI- * placeholder so scaffolded pages render with zero setup.- *+ * Inline placeholder swapped in for demo imagery when scaffolding a template,+ * so scaffolded pages render with zero setup (see stripTemplateAssetRefs).* Neutral hex colors (not design tokens) so it renders in any project, themed* or not. Mirrors apps/docsite/public/template-assets/placeholder.svg.*/@@ -31,17 +26,27 @@ const PLACEHOLDER_IMAGE ="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20400%20300%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Crect%20width%3D%22400%22%20height%3D%22300%22%20fill%3D%22%23f5f6f8%22%2F%3E%3Cg%20transform%3D%22translate%28200%20150%29%22%20fill%3D%22none%22%20stroke%3D%22%23c2cad6%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%22-44%22%20y%3D%22-44%22%20width%3D%2288%22%20height%3D%2288%22%20rx%3D%2216%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%22-18%22%20r%3D%222.5%22%20fill%3D%22%23c2cad6%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M-34%2030%20L-8%200%20L10%2018%20L20%208%20L34%2024%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";/**- * Replace docsite-local `/template-assets/<file>` image references with a- * self-contained placeholder data URI. Only the docsite serves files from- * `/template-assets`, so these paths would 404 in a scaffolded project.+ * Demo-image sources to strip from scaffolded projects — Meta's lookaside CDN+ * (a Meta-only network dependency). Genuine third-party URLs (e.g. brand logos+ * from paypalobjects.com) are intentionally left untouched.+ *+ * @type {RegExp[]}+ */+const DEMO_IMAGE_PATTERNS = [+ /https?:\/\/(?:[\w-]+\.)*lookaside\.facebook\.com\/[^\s'"`)]+/g,+];++/**+ * Replace demo image references with a self-contained placeholder data URI so+ * scaffolded pages render with zero setup. Builders drop in their own images.** @param {string} source - Template source code.- * @returns {string} Source with template-asset references replaced.+ * @returns {string} Source with demo image references replaced.*/export function stripTemplateAssetRefs(source) {- return source.replace(- /\/template-assets\/[A-Za-z0-9._-]+/g,- PLACEHOLDER_IMAGE,+ return DEMO_IMAGE_PATTERNS.reduce(+ (out, pattern) => out.replace(pattern, PLACEHOLDER_IMAGE),+ source,);}async function loadDocModule(docPath) {@@ -533,8 +538,8 @@ export async function template(name, options = {}) {fs.mkdirSync(outputDir, {recursive: true});- // Strip docsite-only /template-assets references so the scaffolded file- // renders in the user's project without copying demo images.+ // Strip demo image references so the scaffolded file renders without a+ // Meta-only network dependency.const source = fs.readFileSync(match.filePath, 'utf-8');const outputSource = stripTemplateAssetRefs(source);fs.writeFileSync(outputFilePath, outputSource);diff --git a/packages/cli/src/api/template.test.mjs b/packages/cli/src/api/template.test.mjsindex 728e98465c..393419f025 100644--- a/packages/cli/src/api/template.test.mjs+++ b/packages/cli/src/api/template.test.mjs@@ -4,41 +4,53 @@ import {describe, it, expect} from 'vitest';import {stripTemplateAssetRefs} from './template.mjs';describe('stripTemplateAssetRefs', () => {- it('replaces a /template-assets reference with an inline data URI', () => {- const src = "const hero = '/template-assets/light-home-horizontal-1.png';";+ it('replaces a lookaside xds_oss image URL with an inline data URI', () => {+ const src =+ "const hero = 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-horizontal-1.png';";const out = stripTemplateAssetRefs(src);- expect(out).not.toContain('/template-assets/');+ expect(out).not.toContain('lookaside.facebook.com');expect(out).toContain('data:image/svg+xml,');});- it('replaces every reference, not just the first', () => {+ it('replaces a lookaside block-avatar image URL', () => {+ const src =+ 'src="https://lookaside.facebook.com/assets/vs_datakit_profile_photos_t66173184/VS-Design-Tools-Datakit-05.jpg"';+ const out = stripTemplateAssetRefs(src);+ expect(out).not.toContain('lookaside.facebook.com');+ expect(out).toContain('data:image/svg+xml,');+ });++ it('replaces every lookaside reference, not just the first', () => {const src = [- "'/template-assets/colorful-home-horizontal-1.png'",- "'/template-assets/illustrative-horizontal-3.jpg'",- "'/template-assets/moody-scene-horizontal-1.png'",+ "'https://lookaside.facebook.com/assets/xds_oss/colorful-home-horizontal-1.png'",+ "'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-3.jpg'",+ "'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-1.png'",].join('\n');const out = stripTemplateAssetRefs(src);- expect(out).not.toMatch(/\/template-assets\//);+ expect(out).not.toContain('lookaside.facebook.com');expect(out.match(/data:image\/svg\+xml,/g)).toHaveLength(3);});- it('handles both .png and .jpg extensions', () => {- const src = "'/template-assets/a.png' '/template-assets/b.jpg'";+ it('preserves surrounding source structure', () => {+ const src =+ "const data = [{src: 'https://lookaside.facebook.com/assets/xds_oss/x.png', alt: 'X'}];";const out = stripTemplateAssetRefs(src);- expect(out).not.toContain('.png');- expect(out).not.toContain('.jpg');+ expect(out).toContain("alt: 'X'");+ expect(out).toContain('const data = [{src:');});- it('leaves unrelated paths untouched', () => {- const src = "import x from './local.png'; const y = '/public/logo.svg';";+ it('leaves non-Meta third-party image URLs untouched', () => {+ const src = [+ 'src="https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png"',+ 'src="https://raw.githubusercontent.com/aaronfagan/svg-credit-card-payment-icons/main/flat/visa.svg"',+ ].join('\n');const out = stripTemplateAssetRefs(src);expect(out).toBe(src);});- it('preserves surrounding source structure', () => {- const src = "const data = [{src: '/template-assets/x.png', alt: 'X'}];";+ it('leaves unrelated local paths untouched', () => {+ const src = "import x from './local.png'; const y = '/public/logo.svg';";const out = stripTemplateAssetRefs(src);- expect(out).toContain("alt: 'X'");- expect(out).toContain('const data = [{src:');+ expect(out).toBe(src);});});diff --git a/packages/cli/templates/pages/centered-hero/page.tsx b/packages/cli/templates/pages/centered-hero/page.tsxindex 89c6e06ec7..fec6a23b20 100644--- a/packages/cli/templates/pages/centered-hero/page.tsx+++ b/packages/cli/templates/pages/centered-hero/page.tsx@@ -16,7 +16,8 @@ import {XDSAspectRatio} from '@xds/core/AspectRatio';import {XDSSection} from '@xds/core/Section';import {ArrowRightIcon} from '@heroicons/react/20/solid';-const IMAGE_URL = '/template-assets/light-scene-horizontal-1.png';+const IMAGE_URL =+ 'https://lookaside.facebook.com/assets/xds_oss/light-scene-horizontal-1.png';const styles = stylex.create({heroImage: {diff --git a/packages/cli/templates/pages/classic-gallery/page.tsx b/packages/cli/templates/pages/classic-gallery/page.tsxindex 9fb84dca79..1fd86ea50e 100644--- a/packages/cli/templates/pages/classic-gallery/page.tsx+++ b/packages/cli/templates/pages/classic-gallery/page.tsx@@ -8,29 +8,30 @@ import {XDSCenter} from '@xds/core/Center';import {XDSText, XDSHeading} from '@xds/core/Text';import {XDSGrid} from '@xds/core/Grid';import {XDSSection} from '@xds/core/Section';-import {XDSAspectRatio} from '@xds/core/AspectRatio';import {XDSTabList, XDSTab} from '@xds/core/TabList';import * as stylex from '@stylexjs/stylex';// ─── Styles ─────────────────────────────────────────────────────────────────-// Width + centering come from XDSLayout's contentWidth prop. The remaining-// styles cover things with no XDS prop equivalent: asymmetric page padding,-// image cover-fit, frame radius, and header text-align.const styles = stylex.create({- // Page padding lives on the inner content so it isn't canceled by- // XDSLayout's negative-margin "escape container padding" behavior.- pagePadding: {- paddingBlock: 'var(--spacing-8)',+ outer: {+ maxWidth: 1200,+ width: '100%',paddingInline: 'var(--spacing-6)',+ paddingBlock: 'var(--spacing-8)',+ },+ imageWrapper: {+ position: 'relative',+ aspectRatio: '3/2',+ borderRadius: 'var(--radius-container)',+ overflow: 'clip',},textCenter: {textAlign: 'center',},- imageFrame: {- borderRadius: 'var(--radius-container)',- },imgFill: {+ position: 'absolute',+ inset: 0,width: '100%',height: '100%',objectFit: 'cover',@@ -39,54 +40,64 @@ const styles = stylex.create({// ─── Gallery Data ───────────────────────────────────────────────────────────-type Category = 'all' | 'lifestyle' | 'products';+type Category = 'all' | 'lifestyle' | 'scene' | 'home';interface GalleryImage {src: string;alt: string;- category: Exclude<Category, 'all'>;+ category: Category;}const GALLERY_IMAGES: GalleryImage[] = [{- src: '/template-assets/classic-gallery-working-together.png',- alt: 'Two colleagues reviewing work on a laptop together',- category: 'lifestyle',+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-1.png',+ alt: 'Moody scene landscape',+ category: 'scene',},{- src: '/template-assets/classic-gallery-lifestyle-architecture.jpg',- alt: 'Soft blush curved architecture against a pale sky',+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-vertical-1.png',+ alt: 'Moody lifestyle portrait',category: 'lifestyle',},{- src: '/template-assets/classic-gallery-product-backpack.png',- alt: 'Charcoal canvas backpack against a neutral backdrop',- category: 'products',+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-home-vertical-1.png',+ alt: 'Moody home interior',+ category: 'home',},{- src: '/template-assets/classic-gallery-product-headphones.png',- alt: 'Over-ear headphones resting beside a stone riser',- category: 'products',+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-2.png',+ alt: 'Moody scene vista',+ category: 'scene',},{- src: '/template-assets/classic-gallery-product-mug.png',- alt: 'Matte graphite insulated travel mug',- category: 'products',+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-vertical-2.png',+ alt: 'Moody lifestyle scene',+ category: 'lifestyle',+ },+ {+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-horizontal-1.png',+ alt: 'Moody lifestyle horizontal',+ category: 'lifestyle',},{- src: '/template-assets/classic-gallery-product-throw.png',- alt: 'Folded linen throw blanket with fringed edges',- category: 'products',+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-vertical-1.png',+ alt: 'Moody scene vertical',+ category: 'scene',},{- src: '/template-assets/classic-gallery-product-wallet.png',- alt: 'Slim leather bifold wallet on a neutral surface',- category: 'products',+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-home-vertical-2.png',+ alt: 'Moody home vertical',+ category: 'home',},{- src: '/template-assets/classic-gallery-product-watch.png',- alt: 'Minimalist watch with two interchangeable straps',- category: 'products',+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-home-horizontal-1.png',+ alt: 'Moody home horizontal',+ category: 'home',+ },+ {+ src: 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-vertical-2.png',+ alt: 'Moody scene vertical',+ category: 'scene',},];@@ -103,54 +114,53 @@ export default function ClassicGalleryTemplate() {return (<XDSLayoutheight="auto"- contentWidth={1200}content={<XDSLayoutContent padding={0}>- <XDSVStack gap={8} xstyle={styles.pagePadding}>- {/* Header */}- <XDSCenter axis="horizontal">- <XDSSection variant="transparent" maxWidth={680} padding={0}>- <XDSVStack gap={4} hAlign="center" xstyle={styles.textCenter}>- <XDSVStack gap={2} hAlign="center">- <XDSHeading level={1}>- Make every day a little more delightful, one detail at a- time.- </XDSHeading>- <XDSText type="body" color="secondary">- We believe the smallest details are the ones that matter- most. A little color, a thoughtful touch, a moment that- catches your eye and makes you pause; that's what- turns an ordinary day into something worth remembering.- </XDSText>- </XDSVStack>+ <XDSCenter axis="horizontal">+ <XDSVStack gap={8} xstyle={styles.outer}>+ {/* Header */}+ <XDSCenter axis="horizontal">+ <XDSSection variant="transparent" maxWidth={680} padding={0}>+ <XDSVStack gap={4} hAlign="center" xstyle={styles.textCenter}>+ <XDSVStack gap={2} hAlign="center">+ <XDSHeading level={1}>+ Make every day a little more delightful, one detail at a+ time.+ </XDSHeading>+ <XDSText type="body" color="secondary">+ We believe the smallest details are the ones that matter+ most. A little color, a thoughtful touch, a moment that+ catches your eye and makes you pause; that's what+ turns an ordinary day into something worth remembering.+ </XDSText>+ </XDSVStack>- <XDSTabList- value={filter}- onChange={v => setFilter(v as Category)}>- <XDSTab value="all" label="All" />- <XDSTab value="lifestyle" label="Lifestyle" />- <XDSTab value="products" label="Products" />- </XDSTabList>- </XDSVStack>- </XDSSection>- </XDSCenter>+ <XDSTabList+ value={filter}+ onChange={v => setFilter(v as Category)}>+ <XDSTab value="all" label="All" />+ <XDSTab value="lifestyle" label="Lifestyle" />+ <XDSTab value="scene" label="Scenery" />+ <XDSTab value="home" label="Home" />+ </XDSTabList>+ </XDSVStack>+ </XDSSection>+ </XDSCenter>- {/* Gallery Grid */}- <XDSGrid columns={{minWidth: 400}} gap={4}>- {filteredImages.map((image, i) => (- <XDSAspectRatio- key={i}- ratio={3 / 2}- xstyle={styles.imageFrame}>- <img- src={image.src}- alt={image.alt}- {...stylex.props(styles.imgFill)}- />- </XDSAspectRatio>- ))}- </XDSGrid>- </XDSVStack>+ {/* Gallery Grid */}+ <XDSGrid columns={{minWidth: 400}} gap={4}>+ {filteredImages.map((image, i) => (+ <div key={i} {...stylex.props(styles.imageWrapper)}>+ <img+ src={image.src}+ alt={image.alt}+ {...stylex.props(styles.imgFill)}+ />+ </div>+ ))}+ </XDSGrid>+ </XDSVStack>+ </XDSCenter></XDSLayoutContent>}/>diff --git a/packages/cli/templates/pages/detail-page/page.tsx b/packages/cli/templates/pages/detail-page/page.tsxindex a93d6666ed..968ac2807a 100644--- a/packages/cli/templates/pages/detail-page/page.tsx+++ b/packages/cli/templates/pages/detail-page/page.tsx@@ -66,16 +66,11 @@ const pageStyles = stylex.create({// Light product photography from the xds_oss asset set (ceramics collection)// Source: meta assets.file list -s xds_oss -g light-product-{1..5}const PRODUCT_IMAGES = [- // light-product-1 from xds_oss asset set- '/template-assets/light-product-1.png',- // light-product-2 from xds_oss asset set- '/template-assets/light-product-2.png',- // light-product-3 from xds_oss asset set- '/template-assets/light-product-3.png',- // light-product-4 from xds_oss asset set- '/template-assets/light-product-4.png',- // light-product-5 from xds_oss asset set- '/template-assets/light-product-5.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-1.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-2.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-3.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-4.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-5.png',];const PRODUCTS = [diff --git a/packages/cli/templates/pages/form-two-column/page.tsx b/packages/cli/templates/pages/form-two-column/page.tsxindex cbf49ab1a8..68d366ddee 100644--- a/packages/cli/templates/pages/form-two-column/page.tsx+++ b/packages/cli/templates/pages/form-two-column/page.tsx@@ -19,8 +19,8 @@ import {XDSDivider} from '@xds/core/Divider';import {XDSCard} from '@xds/core/Card';import {XDSSelector} from '@xds/core/Selector';-// illustration-horizontal-1 from xds_oss asset set-const ILLUSTRATION_URL = '/template-assets/illustration-horizontal-1.png';+const ILLUSTRATION_URL =+ 'https://lookaside.facebook.com/assets/xds_oss/illustration-horizontal-1.png';// ─────────────────────────────────────────────────────────────// Constants@@ -59,6 +59,9 @@ const CONTACT_COLUMNS = [// box without distortion (contain, not cover — it's line art, don't crop it).// No objectFit prop on XDSAspectRatio, and there's no XDSImage primitive (#2582).const styles = stylex.create({+ page: {+ minHeight: '100%',+ },illustrationImg: {width: '100%',height: '100%',@@ -101,7 +104,7 @@ export default function FormTwoColumnPage() {const handleSubmit = () => setSubmitted(true);return (- <XDSCenter height="100svh">+ <XDSCenter xstyle={styles.page}><XDSSectionmaxWidth={1100}width="100%"diff --git a/packages/cli/templates/pages/gallery-hero/page.tsx b/packages/cli/templates/pages/gallery-hero/page.tsxindex 09761d96cf..584a91955b 100644--- a/packages/cli/templates/pages/gallery-hero/page.tsx+++ b/packages/cli/templates/pages/gallery-hero/page.tsx@@ -18,18 +18,15 @@ import {ArrowRightIcon} from '@heroicons/react/20/solid';const IMAGES = [{- // colorful-home-horizontal-1 from xds_oss asset set- src: '/template-assets/colorful-home-horizontal-1.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-horizontal-1.png',alt: 'Colorful home interior with vibrant decor',},{- // colorful-lifestyle-horizontal-1 from xds_oss asset set- src: '/template-assets/colorful-lifestyle-horizontal-1.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-1.png',alt: 'Colorful lifestyle portrait with natural lighting',},{- // colorful-lifestyle-horizontal-2 from xds_oss asset set- src: '/template-assets/colorful-lifestyle-horizontal-2.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-2.png',alt: 'Colorful lifestyle scene with warm tones',},];diff --git a/packages/cli/templates/pages/library/page.tsx b/packages/cli/templates/pages/library/page.tsxindex 8e792c37ab..0b0b7cf74f 100644--- a/packages/cli/templates/pages/library/page.tsx+++ b/packages/cli/templates/pages/library/page.tsx@@ -37,7 +37,8 @@ const ITEMS: LibraryItem[] = ['Vertical and horizontal stack layouts with configurable gap and alignment.',category: 'Layout',type: 'Component',- imageUrl: '/template-assets/colorful-home-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-horizontal-1.png',},{id: '2',@@ -46,7 +47,8 @@ const ITEMS: LibraryItem[] = ['Responsive grid container with auto-fit columns and gap control.',category: 'Layout',type: 'Component',- imageUrl: '/template-assets/illustrative-horizontal-3.jpg',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-3.jpg',},{id: '3',@@ -55,7 +57,8 @@ const ITEMS: LibraryItem[] = ['Surface container with optional padding, border, and shadow variants.',category: 'Layout',type: 'Component',- imageUrl: '/template-assets/light-working-horizontal-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-2.png',},{id: '4',@@ -63,7 +66,8 @@ const ITEMS: LibraryItem[] = [description: 'Centers its child both horizontally and vertically.',category: 'Layout',type: 'Utility',- imageUrl: '/template-assets/moody-scene-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-1.png',},{id: '5',@@ -71,7 +75,8 @@ const ITEMS: LibraryItem[] = [description: 'Semantic page section with optional heading and divider.',category: 'Layout',type: 'Pattern',- imageUrl: '/template-assets/colorful-lifestyle-horizontal-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-2.png',},{id: '6',@@ -79,7 +84,8 @@ const ITEMS: LibraryItem[] = [description: 'Expandable region with animated height transition.',category: 'Layout',type: 'Component',- imageUrl: '/template-assets/light-scene-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/light-scene-horizontal-1.png',},{id: '7',@@ -88,7 +94,8 @@ const ITEMS: LibraryItem[] = ['Single-line text field with label, placeholder, and validation states.',category: 'Forms',type: 'Component',- imageUrl: '/template-assets/moody-working-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-working-horizontal-1.png',},{id: '8',@@ -96,7 +103,8 @@ const ITEMS: LibraryItem[] = [description: 'Multi-line text field with auto-resize and character count.',category: 'Forms',type: 'Component',- imageUrl: '/template-assets/colorful-working-horizontal-3.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-working-horizontal-3.png',},{id: '9',@@ -104,7 +112,8 @@ const ITEMS: LibraryItem[] = [description: 'Checkbox with label, indeterminate state, and group support.',category: 'Forms',type: 'Component',- imageUrl: '/template-assets/illustrative-horizontal-1.jpg',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-1.jpg',},{id: '10',@@ -112,7 +121,8 @@ const ITEMS: LibraryItem[] = [description: 'Group of radio buttons with accessible fieldset wrapper.',category: 'Forms',type: 'Component',- imageUrl: '/template-assets/light-home-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/light-home-horizontal-1.png',},{id: '11',@@ -120,7 +130,8 @@ const ITEMS: LibraryItem[] = [description: 'Toggle switch for binary on/off settings.',category: 'Forms',type: 'Component',- imageUrl: '/template-assets/moody-home-horizontal-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-home-horizontal-2.png',},{id: '12',@@ -129,7 +140,8 @@ const ITEMS: LibraryItem[] = ['Dropdown or inline option selector with single and multi-select modes.',category: 'Forms',type: 'Component',- imageUrl: '/template-assets/colorful-product-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-product-1.png',},{id: '13',@@ -138,7 +150,8 @@ const ITEMS: LibraryItem[] = ['Horizontal tab navigation with underline indicator and keyboard support.',category: 'Navigation',type: 'Component',- imageUrl: '/template-assets/illustrative-horizontal-5.jpg',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-5.jpg',},{id: '14',@@ -146,7 +159,8 @@ const ITEMS: LibraryItem[] = [description: 'Application top bar with logo, nav links, and action slots.',category: 'Navigation',type: 'Pattern',- imageUrl: '/template-assets/light-working-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-1.png',},{id: '15',@@ -155,7 +169,8 @@ const ITEMS: LibraryItem[] = ['Vertical sidebar navigation with collapsible groups and active states.',category: 'Navigation',type: 'Pattern',- imageUrl: '/template-assets/moody-lifestyle-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-horizontal-1.png',},{id: '16',@@ -163,7 +178,8 @@ const ITEMS: LibraryItem[] = [description: 'Path trail navigation with separator and truncation support.',category: 'Navigation',type: 'Component',- imageUrl: '/template-assets/colorful-home-horizontal-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-horizontal-2.png',},{id: '17',@@ -172,7 +188,8 @@ const ITEMS: LibraryItem[] = ['Page navigation with prev/next controls and page count display.',category: 'Navigation',type: 'Component',- imageUrl: '/template-assets/colorful-working-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-working-horizontal-1.png',},{id: '18',@@ -181,7 +198,8 @@ const ITEMS: LibraryItem[] = ['Bottom tab bar for mobile viewports with icon and label slots.',category: 'Navigation',type: 'Pattern',- imageUrl: '/template-assets/light-working-horizontal-3.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-3.png',},{id: '19',@@ -190,7 +208,8 @@ const ITEMS: LibraryItem[] = ['Compact label for status, count, or category with semantic color variants.',category: 'Feedback',type: 'Component',- imageUrl: '/template-assets/moody-working-horizontal-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-working-horizontal-2.png',},{id: '20',@@ -199,7 +218,8 @@ const ITEMS: LibraryItem[] = ['Full-width alert bar for info, success, warning, and error messages.',category: 'Feedback',type: 'Component',- imageUrl: '/template-assets/illustrative-horizontal-2.jpg',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-2.jpg',},{id: '21',@@ -207,7 +227,8 @@ const ITEMS: LibraryItem[] = [description: 'Animated loading indicator with size and color variants.',category: 'Feedback',type: 'Component',- imageUrl: '/template-assets/colorful-lifestyle-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-1.png',},{id: '22',@@ -215,7 +236,8 @@ const ITEMS: LibraryItem[] = [description: 'Horizontal bar indicating task completion percentage.',category: 'Feedback',type: 'Component',- imageUrl: '/template-assets/light-lifestyle-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/light-lifestyle-horizontal-1.png',},{id: '23',@@ -224,7 +246,8 @@ const ITEMS: LibraryItem[] = ['Small dot indicator for presence, health, or pipeline status.',category: 'Feedback',type: 'Component',- imageUrl: '/template-assets/moody-home-horizontal-1.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-home-horizontal-1.png',},{id: '24',@@ -233,7 +256,8 @@ const ITEMS: LibraryItem[] = ['Contextual label that appears on hover with configurable placement.',category: 'Feedback',type: 'Component',- imageUrl: '/template-assets/colorful-working-horizontal-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-working-horizontal-2.png',},{id: '25',@@ -242,7 +266,8 @@ const ITEMS: LibraryItem[] = ['Feature-rich data table with sorting, selection, and column resizing.',category: 'Data',type: 'Component',- imageUrl: '/template-assets/illustrative-horizontal-4.jpg',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-4.jpg',},{id: '26',@@ -251,7 +276,8 @@ const ITEMS: LibraryItem[] = ['User profile image with fallback initials and status dot support.',category: 'Data',type: 'Component',- imageUrl: '/template-assets/light-working-horizontal-4.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-4.png',},{id: '27',@@ -260,7 +286,8 @@ const ITEMS: LibraryItem[] = ['Placeholder shimmer for loading states matching content shapes.',category: 'Data',type: 'Utility',- imageUrl: '/template-assets/moody-lifestyle-horizontal-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-lifestyle-horizontal-2.png',},{id: '28',@@ -268,7 +295,8 @@ const ITEMS: LibraryItem[] = [description: 'Rich popover that appears on hover with arbitrary content.',category: 'Data',type: 'Component',- imageUrl: '/template-assets/moody-scene-horizontal-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-scene-horizontal-2.png',},{id: '29',@@ -277,7 +305,8 @@ const ITEMS: LibraryItem[] = ['Command-palette style search with grouped results and keyboard nav.',category: 'Data',type: 'Pattern',- imageUrl: '/template-assets/colorful-product-2.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/colorful-product-2.png',},{id: '30',@@ -286,7 +315,8 @@ const ITEMS: LibraryItem[] = ['Autocomplete input with async suggestion loading and selection.',category: 'Data',type: 'Component',- imageUrl: '/template-assets/moody-working-horizontal-3.png',+ imageUrl:+ 'https://lookaside.facebook.com/assets/xds_oss/moody-working-horizontal-3.png',},];diff --git a/packages/cli/templates/pages/login-card/page.tsx b/packages/cli/templates/pages/login-card/page.tsxindex 967628644a..5036311168 100644--- a/packages/cli/templates/pages/login-card/page.tsx+++ b/packages/cli/templates/pages/login-card/page.tsx@@ -59,6 +59,7 @@ const GoogleIcon = (props: React.SVGProps<SVGSVGElement>) => (// Standalone auth page paints its own body background (no host shell).const styles = stylex.create({page: {+ minHeight: '100%',backgroundColor: colorVars['--color-background-body'],},});@@ -83,7 +84,7 @@ export default function LoginSimple() {};return (- <XDSCenter axis="both" height="100dvh" xstyle={styles.page}>+ <XDSCenter axis="both" xstyle={styles.page}><XDSVStack gap={4} hAlign="center">{/* Logo */}<XDSVStack gap={2} hAlign="center">diff --git a/packages/cli/templates/pages/login-split/page.tsx b/packages/cli/templates/pages/login-split/page.tsxindex cb408d54fe..0df80c70df 100644--- a/packages/cli/templates/pages/login-split/page.tsx+++ b/packages/cli/templates/pages/login-split/page.tsx@@ -22,8 +22,8 @@ import {radiusVars,} from '@xds/core/theme/tokens.stylex';-// light-working-vertical-1 from xds_oss asset set-const COVER_IMAGE_URL = '/template-assets/light-working-vertical-1.png';+const COVER_IMAGE_URL =+ 'https://lookaside.facebook.com/assets/xds_oss/light-working-vertical-1.png';const AppleIcon = (props: React.SVGProps<SVGSVGElement>) => (<svg@@ -66,6 +66,7 @@ const GoogleIcon = (props: React.SVGProps<SVGSVGElement>) => (const styles = stylex.create({page: {+ minHeight: '100%',backgroundColor: colorVars['--color-background-body'],},fullWidth: {@@ -107,7 +108,7 @@ export default function LoginTwoColumn() {};return (- <XDSCenter axis="both" height="100dvh" xstyle={styles.page}>+ <XDSCenter axis="both" xstyle={styles.page}><XDSVStack gap={4} hAlign="center">{/* Card */}<XDSCard padding={0} maxWidth={1000} width="100%">diff --git a/packages/cli/templates/pages/login-sso/page.tsx b/packages/cli/templates/pages/login-sso/page.tsxindex ff428020cf..3a8e4f0c79 100644--- a/packages/cli/templates/pages/login-sso/page.tsx+++ b/packages/cli/templates/pages/login-sso/page.tsx@@ -21,11 +21,11 @@ import {XDSAvatar} from '@xds/core/Avatar';// Styles// ----------------------------------------------------------------------------// building from xds_oss asset set-const BG_URL = '/template-assets/building.jpg';+const BG_URL = 'https://lookaside.facebook.com/assets/xds_oss/building.jpg';const styles = stylex.create({page: {+ minHeight: '100%',backgroundImage: `url(${BG_URL})`,backgroundSize: 'cover',backgroundPosition: 'center',@@ -100,7 +100,7 @@ export default function LoginSSO() {};return (- <XDSCenter axis="both" height="100dvh" xstyle={styles.page}>+ <XDSCenter axis="both" xstyle={styles.page}><XDSCard padding={8} width={400}><XDSVStack gap={4} hAlign="stretch">{/* ── Step 1: Email entry ── */}diff --git a/packages/cli/templates/pages/login/page.tsx b/packages/cli/templates/pages/login/page.tsxindex ff0ac32366..2b686cc913 100644--- a/packages/cli/templates/pages/login/page.tsx+++ b/packages/cli/templates/pages/login/page.tsx@@ -18,6 +18,7 @@ import {colorVars} from '@xds/core/theme/tokens.stylex';// Standalone auth page paints its own body background (no host shell).const styles = stylex.create({page: {+ minHeight: '100%',backgroundColor: colorVars['--color-background-body'],},});@@ -39,7 +40,7 @@ export default function LoginPage() {};return (- <XDSCenter axis="both" height="100dvh" xstyle={styles.page}>+ <XDSCenter axis="both" xstyle={styles.page}><XDSVStack gap={4} hAlign="center">{/* Logo */}<XDSVStack gap={2} hAlign="center">diff --git a/packages/cli/templates/pages/mixed-gallery/page.tsx b/packages/cli/templates/pages/mixed-gallery/page.tsxindex 56c1db3c0c..074fdab17a 100644--- a/packages/cli/templates/pages/mixed-gallery/page.tsx+++ b/packages/cli/templates/pages/mixed-gallery/page.tsx@@ -61,28 +61,23 @@ interface GalleryImage {// All landscape photos so the uniform 3:2 / 3:1 tiles crop cleanly.const IMAGES: GalleryImage[] = [{- // illustrative-horizontal-1 from xds_oss asset set- src: '/template-assets/illustrative-horizontal-1.jpg',+ src: 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-1.jpg',title: 'Going places',},{- // light-home-horizontal-1 from xds_oss asset set- src: '/template-assets/light-home-horizontal-1.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/light-home-horizontal-1.png',title: 'Making memories',},{- // light-lifestyle-horizontal-1 from xds_oss asset set- src: '/template-assets/light-lifestyle-horizontal-1.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/light-lifestyle-horizontal-1.png',title: 'Being free',},{- // light-working-horizontal-2 from xds_oss asset set- src: '/template-assets/light-working-horizontal-2.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/light-working-horizontal-2.png',title: 'Getting it done',},{- // light-scene-horizontal-1 from xds_oss asset set- src: '/template-assets/light-scene-horizontal-1.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/light-scene-horizontal-1.png',title: 'Finding calm',},];diff --git a/packages/cli/templates/pages/payment-form/page.tsx b/packages/cli/templates/pages/payment-form/page.tsxindex beb49ca0c4..3190d27f8c 100644--- a/packages/cli/templates/pages/payment-form/page.tsx+++ b/packages/cli/templates/pages/payment-form/page.tsx@@ -117,9 +117,9 @@ const US_STATES = [// Product photos from the local template-assets set (committed to the// docsite; the CLI swaps these for an inline placeholder on scaffold).const ITEM_IMAGES: Record<string, {src: string}> = {- '1': {src: '/template-assets/light-product-1.png'},- '2': {src: '/template-assets/light-product-4.png'},- '3': {src: '/template-assets/light-product-5.png'},+ '1': {src: 'https://lookaside.facebook.com/assets/xds_oss/light-product-1.png'},+ '2': {src: 'https://lookaside.facebook.com/assets/xds_oss/light-product-4.png'},+ '3': {src: 'https://lookaside.facebook.com/assets/xds_oss/light-product-5.png'},};const ORDER_ITEMS = [@@ -511,7 +511,7 @@ export default function PaymentFormPage() {onClick={() => {}}xstyle={styles.paypalButton}><img- src="/template-assets/paypal-logo.png"+ src="https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png"alt="PayPal"{...stylex.props(styles.paypalLogo)}/>@@ -524,7 +524,7 @@ export default function PaymentFormPage() {onClick={() => {}}xstyle={styles.gpayButton}><img- src="/template-assets/google-pay-logo-dark.svg"+ src="https://pay.google.com/about/static_kcs/images/logos/google-pay-logo.svg"alt="Google Pay"{...stylex.props(styles.gpayLogo)}/>@@ -550,17 +550,17 @@ export default function PaymentFormPage() {{/* Card type icons */}<XDSHStack gap={1.5} vAlign="center"><img- src="/template-assets/visa.svg"+ src="https://raw.githubusercontent.com/aaronfagan/svg-credit-card-payment-icons/main/flat/visa.svg"alt="Visa"{...stylex.props(styles.cardLogo)}/><img- src="/template-assets/mastercard.svg"+ src="https://raw.githubusercontent.com/aaronfagan/svg-credit-card-payment-icons/main/flat/mastercard.svg"alt="Mastercard"{...stylex.props(styles.cardLogo)}/><img- src="/template-assets/amex.svg"+ src="https://raw.githubusercontent.com/aaronfagan/svg-credit-card-payment-icons/main/flat/amex.svg"alt="Amex"{...stylex.props(styles.cardLogo)}/>diff --git a/packages/cli/templates/pages/product-detail/page.tsx b/packages/cli/templates/pages/product-detail/page.tsxindex 409f43050a..aef15ad497 100644--- a/packages/cli/templates/pages/product-detail/page.tsx+++ b/packages/cli/templates/pages/product-detail/page.tsx@@ -87,19 +87,19 @@ function StarRating({rating, count}: {rating: number; count: number}) {// IMAGES[0] = fallback hero; IMAGES[1..6] = thumbnails (first is selected by default)const IMAGES = [// light-product-1 (fallback hero)- '/template-assets/light-product-1.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-1.png',// light-product-1 (thumbnail 1)- '/template-assets/light-product-1.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-1.png',// light-product-2- '/template-assets/light-product-2.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-2.png',// light-product-3- '/template-assets/light-product-3.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-3.png',// light-product-4- '/template-assets/light-product-4.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-4.png',// light-product-5- '/template-assets/light-product-5.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-5.png',// light-product-3 (gallery variety)- '/template-assets/light-product-3.png',+ 'https://lookaside.facebook.com/assets/xds_oss/light-product-3.png',];// ─── Product Data ───────────────────────────────────────────────────────────diff --git a/packages/cli/templates/pages/product-gallery/page.tsx b/packages/cli/templates/pages/product-gallery/page.tsxindex e7eee2cea0..9eed5be3b7 100644--- a/packages/cli/templates/pages/product-gallery/page.tsx+++ b/packages/cli/templates/pages/product-gallery/page.tsx@@ -41,8 +41,8 @@ const PRODUCTS: Product[] = [description:"Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 75.0,- // illustrative-horizontal-1 from xds_oss asset set- image: '/template-assets/illustrative-horizontal-1.jpg',+ image:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-1.jpg',},{id: 2,@@ -50,8 +50,8 @@ const PRODUCTS: Product[] = [description:"Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 80.0,- // illustrative-vertical-1 from xds_oss asset set- image: '/template-assets/illustrative-vertical-1.jpg',+ image:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-vertical-1.jpg',},{id: 3,@@ -59,8 +59,8 @@ const PRODUCTS: Product[] = [description:"Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 75.0,- // illustrative-horizontal-3 from xds_oss asset set- image: '/template-assets/illustrative-horizontal-3.jpg',+ image:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-3.jpg',},{id: 4,@@ -68,8 +68,8 @@ const PRODUCTS: Product[] = [description:"Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 75.0,- // illustrative-horizontal-4 from xds_oss asset set- image: '/template-assets/illustrative-horizontal-4.jpg',+ image:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-4.jpg',},{id: 5,@@ -77,8 +77,8 @@ const PRODUCTS: Product[] = [description:"Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 60.0,- // illustrative-horizontal-5 from xds_oss asset set- image: '/template-assets/illustrative-horizontal-5.jpg',+ image:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-5.jpg',},{id: 6,@@ -86,8 +86,8 @@ const PRODUCTS: Product[] = [description:"Sometimes all it takes is one small thing to turn your whole day around. That's what good design is for.",price: 80.0,- // illustrative-horizontal-2 from xds_oss asset set- image: '/template-assets/illustrative-horizontal-2.jpg',+ image:+ 'https://lookaside.facebook.com/assets/xds_oss/illustrative-horizontal-2.jpg',},];diff --git a/packages/cli/templates/pages/side-gallery/page.tsx b/packages/cli/templates/pages/side-gallery/page.tsxindex 6aafb60c8b..1b09d84300 100644--- a/packages/cli/templates/pages/side-gallery/page.tsx+++ b/packages/cli/templates/pages/side-gallery/page.tsx@@ -42,49 +42,40 @@ const styles = stylex.create({// Source: meta assets.file list -s xds_oss -g <name>const IMAGES = [- // colorful-lifestyle-vertical-3 from xds_oss asset set{- src: '/template-assets/colorful-lifestyle-vertical-3.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-vertical-3.png',alt: 'Colorful lifestyle scene',},- // colorful-lifestyle-horizontal-1 from xds_oss asset set{- src: '/template-assets/colorful-lifestyle-horizontal-1.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-1.png',alt: 'Colorful lifestyle horizontal',},- // colorful-lifestyle-vertical-1 from xds_oss asset set{- src: '/template-assets/colorful-lifestyle-vertical-1.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-vertical-1.png',alt: 'Colorful lifestyle vertical',},- // colorful-home-vertical-2 from xds_oss asset set{- src: '/template-assets/colorful-home-vertical-2.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-vertical-2.png',alt: 'Colorful home interior',},- // colorful-home-vertical-3 from xds_oss asset set{- src: '/template-assets/colorful-home-vertical-3.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-vertical-3.png',alt: 'Colorful home scene',},- // colorful-home-vertical-1 from xds_oss asset set{- src: '/template-assets/colorful-home-vertical-1.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-home-vertical-1.png',alt: 'Colorful home vertical',},- // colorful-lifestyle-horizontal-2 from xds_oss asset set{- src: '/template-assets/colorful-lifestyle-horizontal-2.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-horizontal-2.png',alt: 'Colorful lifestyle wide',},- // colorful-lifestyle-vertical-2 from xds_oss asset set{- src: '/template-assets/colorful-lifestyle-vertical-2.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-vertical-2.png',alt: 'Colorful lifestyle detail',},- // colorful-lifestyle-vertical-4 from xds_oss asset set{- src: '/template-assets/colorful-lifestyle-vertical-4.png',+ src: 'https://lookaside.facebook.com/assets/xds_oss/colorful-lifestyle-vertical-4.png',alt: 'Colorful lifestyle portrait',},];diff --git a/packages/cli/templates/pages/table-page-chart/page.tsx b/packages/cli/templates/pages/table-page-chart/page.tsxindex 8a36aae814..c6323a873e 100644--- a/packages/cli/templates/pages/table-page-chart/page.tsx+++ b/packages/cli/templates/pages/table-page-chart/page.tsx@@ -48,42 +48,41 @@ interface OrderRow extends Record<string, unknown> {date: string;}-// matcha-product-{1..6} from xds_oss asset setconst PRODUCTS = [{name: 'Ceremonial Matcha Latte',category: 'Matcha' as ProductCategory,- image: '/template-assets/matcha-product-1.png',+ image: 'https://lookaside.facebook.com/assets/xds_oss/matcha-product-1.png',price: 6,},{name: 'Oat Milk Cappuccino',category: 'Coffee' as ProductCategory,- image: '/template-assets/matcha-product-2.png',+ image: 'https://lookaside.facebook.com/assets/xds_oss/matcha-product-2.png',price: 5,},{name: 'Jasmine Green Tea',category: 'Tea' as ProductCategory,- image: '/template-assets/matcha-product-3.png',+ image: 'https://lookaside.facebook.com/assets/xds_oss/matcha-product-3.png',price: 4,},{name: 'Mango Matcha Smoothie',category: 'Smoothie' as ProductCategory,- image: '/template-assets/matcha-product-4.png',+ image: 'https://lookaside.facebook.com/assets/xds_oss/matcha-product-4.png',price: 8,},{name: 'Hojicha Latte',category: 'Specialty' as ProductCategory,- image: '/template-assets/matcha-product-5.png',+ image: 'https://lookaside.facebook.com/assets/xds_oss/matcha-product-5.png',price: 7,},{name: 'Iced Yuzu Matcha',category: 'Matcha' as ProductCategory,- image: '/template-assets/matcha-product-6.png',+ image: 'https://lookaside.facebook.com/assets/xds_oss/matcha-product-6.png',price: 7,},];