用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
数字商品下载商店是一个完整的店铺概念,面向设计资源、创意素材及其他可下载产品的独立卖家。它专为需要超越基础产品网格的创作者而设计:顾客可以对比预览图、打开详细的产品视图、在个人授权和商业授权之间切换、添加捆绑包、管理购物车,并到达清晰的即时下载确认页。
视觉方向融合了温暖的纸张色调、深橄榄色字体、琥珀色点缀,以及原创的代码绘制产品插图。Fraunces 标题赋予店铺编辑式的语调,而 Inter 和紧凑的等宽标签让价格、格式和授权细节易于浏览。分层的主视觉构图将产品放在首屏,而不是仅依赖标题。
The default content follows Nooktone Supply, an invented seller of templates, presets, and fonts. Six products, a discounted Whole Shelf bundle, practical license guidance, and specific FAQs make the experience feel like a working small business. Cart contents persist locally, commercial pricing updates automatically, and the confirmation route can generate sample SVG downloads without a server.
Adapt the shop by changing four variables for the brand, product focus, audience, and brand line. All catalog entries, prices, preview configurations, FAQs, and interface copy live in one content file, so the alternate audio-resource case can reuse the same layout without retaining design-shop language. Product and download routes also remain useful when opened directly. The finished site is a static Vite, React, TypeScript, and Tailwind build with local fonts, Lucide icons, responsive layouts, keyboard-friendly overlays, and reduced-motion support.
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Digital Download Shop Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build a polished digital download shop for [BRAND], selling [PRODUCT_FOCUS] to [AUDIENCE]. Use original code-drawn product previews, detailed licensing, a persistent cart, a discounted bundle, and a static instant-download confirmation. - Audience: Independent creators and small studios who sell digital resources, and shoppers who want to inspect the product, understand its license, and access files without friction. - Goal: Help visitors compare products through rich previews, choose an appropriate license, assemble an order, and understand exactly what happens after checkout while demonstrating a complete static commerce flow. - Tone: Warm, precise, creatively assured, and transparent. Use concise product copy and practical details, with no pressure tactics, fake scarcity, or inflated claims. ## Stack - Framework: Vite 6 + React 19 + TypeScript 5 - Styling: Tailwind CSS 4 - Libraries: react (MIT), react-dom (MIT), lucide-react (ISC), @fontsource-variable/fraunces (OFL-1.1), @fontsource-variable/inter (OFL-1.1), @fontsource/ibm-plex-mono (OFL-1.1) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Scaffold Vite 6 with React 19 and TypeScript 5; set base: './' and build.sourcemap: false in vite.config, and emit only the production site to dist/. Use no other application framework or router. - Use Tailwind CSS 4 through @tailwindcss/vite. Define the color, font, spacing, shadow, radius, and keyframe tokens in src/index.css, with a single restrained paper-texture background made in CSS. - Put the four variable values, every interface string, six product records, category definitions, prices, bundle contents, FAQs, and preview-art configuration in src/content.ts. When variable values change, rewrite the catalog, categories, product details, FAQs, preview labels, download names, and all default-specific copy so nothing from the old shop remains. - Use a small React context for filters, the selected product, per-item licenses, cart state, drawer visibility, toasts, and the completed order. Store the cart and latest order in localStorage, prevent duplicate copies of the same product and license, and derive every price and total from content data. - Implement hash routes #/, #/product, and #/confirmation without a routing dependency. Product cards set the selected product before navigating; direct product loads show the first catalog item, and direct confirmation loads show a sample order containing that first item with a personal license. - Import Fraunces Variable, Inter Variable, and IBM Plex Mono locally from their Fontsource packages. Use lucide-react for interface icons and original inline SVG/CSS components for every product visual; do not add an animation library. - Create a tiny original favicon as a local SVG using three offset file sheets and the accent color. Use a plain document title containing [BRAND], with no additional SEO metadata. ## Variables - [BRAND] — Shop brand (default: "Nooktone Supply"). An invented name for the independent digital-goods seller. - [PRODUCT_FOCUS] — Product focus (default: "design templates, photo presets, and display fonts"). A lowercase phrase naming three related kinds of downloadable products. - [AUDIENCE] — Primary audience (default: "independent designers and creative studios"). The people this shop serves, written as a lowercase phrase. - [BRAND_LINE] — Brand line (default: "Useful files for beautiful work."). A short original line that captures the seller's point of view. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/digital-download-shop in the footer (default: yes; delete this line to remove it) The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described. Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components. ## Design ### Colors - Canvas `#F3EFE6` — Warm parchment page background with a very faint CSS fiber texture - Surface `#FFFCF6` — Cards, drawers, input fields, and raised product-preview sheets - Ink `#20221E` — Primary text, dark bundle band, and primary button background - Muted `#68675F` — Secondary copy, metadata, and inactive controls - Amber `#F2A93B` — Accent badges, selected states, and small graphic details; always pair with Ink text - Sage `#B9D8C0` — Success states and selected product-preview panels - Lilac `#C9C3E8` — Alternate preview background and decorative product art - Line `#D6D0C4` — One-pixel borders, separators, and quiet grid lines ### Typography - Editorial display for the hero, section titles, product names, and large prices: Fraunces Variable (OFL), weights 600/700 - Interface and body copy: Inter Variable (OFL), weights 400/500/600/700 - Categories, file formats, order labels, and compact utility metadata: IBM Plex Mono (OFL), weights 500 ### Layout & motion - Spacing: Use a 4px base grid. Content max-width is 1280px with 48px desktop gutters and 20px mobile gutters. Header height is 76px below a 34px announcement bar. Sections have 104px desktop and 68px mobile vertical padding; product grids use 24px gaps. Hero H1 is clamp(48px, 5.4vw, 76px) with 0.96 line height, section titles are 42px desktop and 32px mobile, and body copy is 16px with 1.65 line height. - Radius: Use 22px corners on product cards and major panels, 16px on preview art and inputs, 12px on small line items, and fully rounded pills for chips and compact buttons. Use crisp 1px Line borders and broad, low-opacity olive shadows rather than glass effects. - Motion: On initial load, fade and rise the hero copy by 14px over 420ms, then bring the three preview layers in with 80ms staggers and small rotations settling to their final positions. - Motion: Reveal major sections once at 12% viewport intersection with a 16px rise and 380ms opacity transition; never hide content when IntersectionObserver is unavailable. - Motion: Product cards lift 4px and their preview art scales to 1.015 over 180ms on hover; filter changes crossfade the grid for 160ms without changing card dimensions. - Motion: The cart drawer slides in over 260ms while its backdrop fades; trap focus, close on Escape, restore focus to the cart button, and prevent background scrolling. - Motion: Hash-route changes scroll to the top and fade the new main content in over 160ms. Under prefers-reduced-motion, remove reveals, rotations, smooth scrolling, and transforms while keeping every state change immediate and visible. - Imagery: All visuals are original inline SVG and CSS, not raster photographs. Build a coherent family of tactile product covers using paper-colored sheets, crisp geometric grids, font-specimen letters, gradient swatches, tiny interface mockups, subtle 1px outlines, and soft offset shadows. The hero is a layered composition of three polished product previews, and every catalog card has its own deterministic preview configuration from content data. Do not use external images, recognizable products, brand marks, people, or generated-image assets. ## Pages & Sections ### Storefront (`index.html`) 1. **Announcement, header, and navigation** — The announcement reads 'Free updates on every purchase · Personal and commercial licenses'. The brand lockup combines the original three-sheet SVG mark with [BRAND]. Navigation links are Shop (#products), Bundle (#bundle), and License guide (#licenses). A cart button shows the current item count and opens the global drawer. On mobile, keep Shop and Cart visible and place Bundle and License guide in a compact accessible menu. Layout: A 34px Ink announcement bar sits above a sticky 76px header with a translucent Canvas background, backdrop blur, and bottom Line border. Inner content uses the shared 1280px container. The lockup is left, navigation centered, and cart right; the mobile menu opens below the header without covering the hero. Motion: The sticky header gains a slightly stronger bottom border after 24px of scroll; the mobile menu and cart count change with short 160ms transitions. 2. **Layered storefront hero** — For the default values, show the eyebrow 'SMALL-BATCH DIGITAL GOODS', the H1 'Make something good before lunch.', and the supporting sentence 'Shop design templates, photo presets, and display fonts from Nooktone Supply. Preview every detail, choose your license, and leave with your files.' Put [BRAND_LINE] on a small amber paper-tab label beneath the copy. CTAs are 'Shop all resources' and 'Build a bundle'. A quiet trust row reads 'Instant access · Free updates · Clear licenses'. The visual anchor consists of the Sunroom Social Kit interface sheet in front, a Pollen Display specimen behind at upper right, and a Golden Hour Presets swatch strip behind at lower left, with a small '6 products / one shelf' badge. Layout: At desktop, use a two-column hero with 44% copy and 56% artwork, 64px between columns, and a minimum height of 610px. The left copy is vertically centered. The right artwork fills a 620×500px stage: the main 420×330px preview sits at center with 5deg rotation, the two secondary sheets overlap by roughly 25%, and each has a 1px Ink border and soft offset shadow. At 390px, stack copy above a 340px-high artwork stage, scale all layers proportionally, and keep CTAs full width without horizontal overflow. Motion: Use the specified staggered entrance. On pointer hover over the artwork, the front sheet lifts 6px and secondary sheets shift no more than 4px; do not add continuous floating animation. 3. **Product catalog** — Heading: 'Fresh from the workbench'. Intro: 'Six useful starting points, made to be opened, edited, and put to work.' Include category chips All, Templates, Presets, and Fonts, a search field labeled 'Search the shelf', and a sort select with Featured, Price: low to high, and Price: high to low. The six default products are: Sunroom Social Kit — Templates — $24 — '42 warm, modular social layouts' with miniature editorial screens; Golden Hour Presets — Presets — $18 — '12 amber-forward color recipes' with three abstract before-and-after swatches; Pollen Display — Fonts — $32 — 'A high-contrast serif in 3 weights' with an original Aa specimen; Studio Deck System — Templates — $28 — '36 composed slides for client pitches' with a slide-grid preview; Soft Focus Presets — Presets — $16 — '10 muted looks with gentle contrast' with tonal gradient strips; Marker Mono — Fonts — $22 — 'A compact mono in 2 weights' with an original character-grid specimen. Each card shows category, preview, title, one-line detail, included formats, and price. 'Preview' opens #/product; the plus button adds a personal license and shows a toast. Empty search results say 'No resources match that search' with a Clear filters button. Layout: Start with a split heading row, then a wrapped filter toolbar, then a three-column desktop grid with equal-height Surface cards. Each preview has a fixed 4:3 ratio, followed by 22px of text padding. Use two columns at tablet and one at mobile. Keep prices and actions aligned at the card bottom; do not truncate product names. Motion: Animate only opacity and the small hover lift. Update the visible result count immediately and announce filter changes through a polite live region. 4. **Whole Shelf bundle** — Eyebrow: 'THE WHOLE SHELF'. H2: 'One cart. Six resources. Every update.' Copy: 'Get the complete default collection for $86 instead of $140. Personal and commercial options use the same clear terms as individual products.' Show all six product names in a two-column checklist, 'Save $54', and a button 'Add the bundle — $86'. The bundle is a distinct cart item priced at $86 personal or $172 commercial; adding it does not duplicate the six individual items. The right side contains a code-drawn fan of six miniature covers using the same preview configurations as the catalog. Layout: A full-width Ink panel with 56px desktop padding sits inside the standard container. Use a 52%/48% two-column composition with Paper text and an Amber save badge; on mobile, stack text above a 300px-high cover fan. The panel remains rectangular with a 22px radius and no artificial countdown or stock counter. Motion: On entering the viewport, fan the covers from a 4px stacked offset into their final rotations over 420ms; the bundle button has a simple 160ms color and translate response. 5. **License guide** — Heading: 'Pay for the work, not the fine print.' Intro: 'Start personal, or choose commercial when the work is for clients or revenue.' Personal card: listed base price, one person, personal projects only, free updates, no client work. Commercial card: exactly 2× the base price, up to five people in one team, commercial and client end products allowed, free updates. Both state: 'Do not resell, redistribute, or sublicense the source files.' Include a small link 'Read common license questions' pointing to #faq. Layout: Use a 38%/62% split with the heading and intro left and two adjacent license cards right. Commercial has an Amber top border and a 'For client work' label, not a forced preselection. At mobile, stack all three blocks with 16px gaps. Motion: Reveal the two cards with a 70ms stagger; no toggles are present in this explanatory section. 6. **Maker note and practical FAQ** — The maker strip says 'Made slowly. Updated when it matters.' and 'Every resource is checked in a real layout before it joins the shelf.' Add the [BRAND] name in Fraunces as a text signature, with no portrait or fake handwritten image. FAQ items: 'How do files arrive?' — 'The confirmation screen appears immediately after the demo order and lists every purchased item and its license.'; 'Are updates included?' — 'Yes. Every purchase includes later refinements to that resource.'; 'Can I use a personal license for client work?' — 'No. Choose commercial for client work, paid campaigns, or products you sell.'; 'What formats are included?' — 'Each product page lists its exact package, including editable vector files, portable previews, or desktop and web font formats.'; 'Can I share the source files?' — 'No. Commercial licenses cover one team of up to five people, but source files may not be redistributed.' Layout: Place the maker strip in a bordered Surface panel with generous horizontal padding. Below it, the FAQ uses a 34%/66% split: 'Useful answers' heading left and five accordion rows right. The first row starts open; only one row is open at a time. Accordion content never depends on animation to become readable. Motion: Accordion height and chevron rotation use 180ms transitions, disabled under reduced motion. 7. **Footer** — Show the brand lockup, [PRODUCT_FOCUS], and the line 'Made for [AUDIENCE]'. Link Shop, Bundle, License guide, and FAQ to their existing index anchors. End with 'Digital goods, thoughtfully packed.' and the optional [CREDIT] link. Do not show a copyright date, newsletter form, social icons, or external marketplace links. Layout: A bordered-top footer inside the standard container uses a 45px desktop top padding, a two-column brand/navigation row, and a small quiet bottom line. Stack navigation beneath the brand on mobile. Motion: No entrance animation beyond the shared section reveal. 8. **Global cart drawer and toasts** — The cart drawer lists each selected product or bundle with its thumbnail, name, license, price, a Personal/Commercial segmented control, and Remove. Changing license immediately switches between base and 2× pricing. Show subtotal and total as the same value, with 'No taxes or payment are collected in this static demo.' The primary button is 'Complete demo order'; it snapshots the cart as the latest order, clears the cart, closes the drawer, and opens #/confirmation. Empty state: 'Your shelf is empty' and a 'Browse resources' button. Toasts confirm Add, Remove, Already in cart, and License updated actions. Layout: Use a fixed right drawer 420px wide and full viewport height on desktop, and full width with 20px padding on mobile. Line items scroll independently while the total and checkout button remain at the bottom. Include a visible close button, dialog label, focus trap, Escape handling, and a dark translucent backdrop. Motion: Use the specified 260ms drawer transition and a small toast rise near the lower-left corner; toasts remain for 3 seconds and never cover the cart checkout button. ### Product Details (`#/product`) 1. **Product preview and license purchase panel** — Use the product selected on the storefront, or Sunroom Social Kit when opened directly. Breadcrumb: 'Shop / [product name]'. For the default first product, show 'TEMPLATES', 'Sunroom Social Kit', '$24', '42 warm, modular social layouts', and the description 'A flexible set of editorial posts, announcements, and carousels with room for real words. Includes 42 vector layouts, portable previews, and a concise style guide.' Metadata reads '42 layouts · SVG, PNG, PDF · Free updates'. Preview tabs are Overview, Details, and Contents; each changes the original SVG composition rather than loading an image. The license segmented control offers Personal '$24' and Commercial '$48', with the selected terms in a short panel. The primary button is 'Add to cart — $24' at base price and updates to the selected license price. Supporting line: 'Instant access · Lifetime updates · Clear license'. Layout: Below the shared header, use a 58%/42% two-column workspace with 48px gap. Left is a large 4:3 preview with three compact tabs underneath; right is a sticky purchase panel with 24px spacing and a Surface background. Every other catalog product reuses this structure with its own data and preview. At mobile, place the preview first and make the purchase panel static, with full-width license and cart buttons. Motion: Preview tab changes crossfade over 160ms. Selecting a license slides the price digits vertically by 6px with a short fade, while the layout height remains fixed. 2. **Package details accordion** — Heading: 'Know exactly what you are getting.' Three accordions are What’s inside, Formats and compatibility, and License summary. For Sunroom Social Kit, the first lists 12 announcement layouts, 18 carousel layouts, 12 story layouts, and a 6-page style guide; the second lists editable SVG, ready-to-use PNG, and print-friendly PDF; the third repeats the currently selected personal or commercial terms. Other products use concrete equivalents from content data, never copied default details. Layout: Use a 32%/68% split with the heading left and three bordered accordion rows right. The first starts open. Beneath, add a narrow Sage reassurance strip reading 'One resource, one clear license, updates included.' Motion: Use the same accessible accordion behavior as the storefront FAQ. 3. **Related products** — Heading: 'Keep the shelf consistent'. Show three other products from the catalog, prioritizing the same category and then the next available items. Reuse the exact product-card component and Preview behavior; do not show the currently selected product. Layout: A three-column desktop grid and single-column mobile grid below 64px of section spacing. The shared footer follows this section. Motion: Use the standard section reveal and card hover behavior. ### Instant Download Confirmation (`#/confirmation`) 1. **Order success and sample downloads** — Show a Sage check icon, eyebrow 'DEMO ORDER COMPLETE', H1 'Your files are ready.', and 'No payment was collected. This confirmation previews the instant-delivery experience.' Use the latest completed order, or a sample Sunroom Social Kit personal order when opened directly. Label the generic order as 'Order #1048'. List each item with its original preview thumbnail, product name, selected license, formats, and a 'Download sample' button. Each button must generate and download a real local SVG version of that item's preview plus offer a plain-text license receipt; do not pretend to deliver a ZIP or a commercial product file. The order summary shows each price and the correct total. Actions are 'Back to shop' and 'Download license receipt'. Layout: Center a 760px-wide confirmation panel below the shared header, with generous 40px desktop and 22px mobile padding. Stack download rows with thumbnail left, metadata center, and button right; on mobile, make each row a compact card with a full-width button. Place the order summary in a separate bordered block beneath the items. The shared footer follows with extra top spacing. Motion: The check draws once with a 360ms SVG stroke animation and the panel fades in; skip the stroke animation under reduced motion. Show a local toast after each sample download starts. 2. **Download help** — Heading: 'Downloads not starting?' Copy: 'Check that your browser allows downloads, then try the sample again. Your order and license choices remain available on this device.' Add three short reminders: samples are generated locally, source-file redistribution is not permitted, and commercial terms cover one team of up to five people. Layout: A quiet three-column row sits below the confirmation panel, with each reminder separated by a Line border. Stack to one column on mobile. Do not add a contact form, email link, chat widget, or external support service. Motion: No additional motion. ## Assets - image: No raster or generated images are required. Create all hero art, product thumbnails, font specimens, preset swatches, bundle covers, and download thumbnails as original inline SVG and CSS components configured in src/content.ts. Keep these components in the source project; there are no image URLs to download or third-party image credits. - icon: Use lucide-react (ISC) for interface icons such as ShoppingBag, Plus, X, ArrowRight, Download, Check, ChevronDown, Search, and Menu. Render them as inline SVG at 18–22px with accessible labels on icon-only buttons. Create the simple three-sheet brand mark and favicon from scratch, and record Lucide's package, source, author, and ISC license in ASSETS.md. - font: Self-host Fraunces Variable and Inter Variable through @fontsource-variable/fraunces and @fontsource-variable/inter, and IBM Plex Mono through @fontsource/ibm-plex-mono. Use only the listed OFL weights, keep font files local in the production build, and list each package, source, author, and OFL license in ASSETS.md. ## Don'ts - Do not add a backend, server code, API routes, database, authentication, payment processing, email delivery, third-party APIs, analytics, or forms that submit anywhere. Cart and order state are local only, and checkout is explicitly a static demo. - Do not claim that money was charged or that commercial product files were delivered. Generate only real local SVG samples and plain-text license receipts from browser data; never use fake ZIP links or broken download buttons. - Do not use existing marketplace or seller names, logos, slogans, exact brand palettes, reference code, reference copy, or reference preview compositions. - Do not use real product names, existing template designs, preset products, commercial font products, or copied preview images. Every seller, product, package, price, preview, and line of copy must be invented for the active variable values. - Do not use reference-specific mascots, signature illustrations, custom fonts, unique iconography, real people's likenesses, anime or game characters, or any existing brand logo. - Do not load external or hotlinked images, stock photos, placeholder-image services, CDN scripts, CDN styles, or font-service URLs. All visuals, icons, fonts, and scripts must ship locally. - Do not use commercial fonts or unlicensed and license-restricted component source. Use only the specified packages and implement every visual and interaction from scratch. - Do not expose variable placeholders such as [BRAND] in rendered copy, and do not leave design-shop products or language behind when PRODUCT_FOCUS changes. Keep all copy and catalog data in src/content.ts. - Do not add SEO metadata, Open Graph tags, JSON-LD, sitemap instructions, keyword-stuffed headings, or heading-hierarchy rules. Use only a plain [BRAND] document title and local favicon. - Do not link to bare directories or introduce server-dependent routes. Keep the three declared hash routes, working section anchors, and direct-load fallbacks for product and confirmation views. - Do not emit source maps, copy src/ into dist/, exceed 20 MB, or require more than npm run build. Preserve Vite base './' so all production asset URLs are relative. - Do not display dates, fake ratings, invented sales counts, countdowns, stock counters, newsletter forms, or social-proof badges. Keep the storefront informative without manufactured urgency. - Do not allow clipped previews, horizontal overflow, inaccessible overlays, keyboard traps, empty direct routes, or console errors at 1440×900 and 390×844. Respect prefers-reduced-motion and keep all content readable without animation. --- — Prompt by VibeFather · https://vibefather.ai/t/digital-download-shop · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 数字下载商店 完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。 ## 简介 为 [BRAND] 打造一个精致的数字下载商店,向 [AUDIENCE] 销售 [PRODUCT_FOCUS]。使用原创的代码绘制产品预览、详细的许可说明、持久购物车、折扣捆绑包,以及静态的即时下载确认页。 - 受众:销售数字资源的独立创作者和小型工作室,以及希望查看产品、了解其许可并无障碍获取文件的购物者。 - 目标:通过丰富的预览帮助访客比较产品、选择合适的许可、组建订单,并清楚了解结账后会发生什么,同时展示完整的静态商务流程。 - 基调:温暖、精确、富有创意自信且透明。使用简洁的产品文案和实用细节,不施加压力策略、不制造虚假稀缺、不夸大宣传。 ## 技术栈 - 框架:Vite 6 + React 19 + TypeScript 5 - 样式:Tailwind CSS 4 - 库:react(MIT)、react-dom(MIT)、lucide-react(ISC)、@fontsource-variable/fraunces(OFL-1.1)、@fontsource-variable/inter(OFL-1.1)、@fontsource/ibm-plex-mono(OFL-1.1) - 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。 - 设置: - 使用 React 19 和 TypeScript 5 搭建 Vite 6 脚手架;在 vite.config 中设置 base: './' 和 build.sourcemap: false,并且只将生产站点输出到 dist/。不要使用其他应用框架或路由器。 - 通过 @tailwindcss/vite 使用 Tailwind CSS 4。在 src/index.css 中定义颜色、字体、间距、阴影、圆角和关键帧令牌,并用 CSS 制作一个克制的纸张纹理背景。 - 将四个变量值、每个界面字符串、六条产品记录、分类定义、价格、捆绑内容、FAQ 和预览图配置放入 src/content.ts。当变量值变化时,重写目录、分类、产品详情、FAQ、预览标签、下载名称以及所有默认特定文案,确保旧店铺的内容不残留。 - 使用一个小型 React context 管理筛选器、选中产品、逐项许可证、购物车状态、抽屉可见性、toast 和已完成订单。将购物车和最新订单存储在 localStorage 中,防止同一产品和许可证的重复副本,并从内容数据推导每个价格和总计。 - 在不依赖路由库的情况下实现哈希路由 #/、#/product 和 #/confirmation。产品卡片在导航前设置选中产品;直接加载产品页时显示目录中的第一个项目,直接加载确认页时显示包含该项目及个人许可证的示例订单。 - 从各自的 Fontsource 包中本地导入 Fraunces Variable、Inter Variable 和 IBM Plex Mono。使用 lucide-react 作为界面图标,并为每个产品视觉使用原创的内联 SVG/CSS 组件;不要添加动画库。 - 使用三个偏移文件页和强调色,创建一个微小的原创 favicon 作为本地 SVG。使用包含 [BRAND] 的纯文档标题,不添加额外的 SEO 元数据。 ## 变量 - [BRAND] — 商店品牌(默认:“Nooktone Supply”)。为独立数字商品卖家虚构的名称。 - [PRODUCT_FOCUS] — 产品重点(默认:“design templates, photo presets, and display fonts”)。一个小写短语,命名三种相关的可下载产品类型。 - [AUDIENCE] — 主要受众(默认:“independent designers and creative studios”)。该商店服务的人群,以小写短语书写。 - [BRAND_LINE] — 品牌标语(默认:“Useful files for beautiful work.”)。一句简短的原创语句,体现卖家的观点。 - [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/digital-download-shop(默认:是;删除此行即可移除) “页面与区块”下的文案是为默认值撰写的。如果你的值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便日后无需改动组件即可替换内容。 ## 设计 ### 颜色(Colors) - 画布(Canvas)`#F3EFE6` — 暖色羊皮纸页面背景,带有非常微弱的 CSS 纤维纹理 - 表面(Surface)`#FFFCF6` — 卡片、抽屉、输入框和凸起的产品预览面板 - 墨色(Ink)`#20221E` — 主文本、深色套装横幅和主按钮背景 - 柔和色(Muted)`#68675F` — 次要文案、元数据和非活动控件 - 琥珀色(Amber)`#F2A93B` — 强调徽章、选中状态和小型图形细节;始终与 Ink 文本搭配 - 鼠尾草绿(Sage)`#B9D8C0` — 成功状态和选中的产品预览面板 - 淡紫色(Lilac)`#C9C3E8` — 备用预览背景和装饰性产品图案 - 线条色(Line)`#D6D0C4` — 一像素边框、分隔线和低调的网格线 ### 字体排印(Typography) - 用于主视觉、区块标题、产品名称和大号价格的编辑式展示字体:Fraunces Variable(OFL),字重 600/700 - 界面和正文文案:Inter Variable(OFL),字重 400/500/600/700 - 分类、文件格式、订单标签和紧凑的实用元数据:IBM Plex Mono(OFL),字重 500 ### 布局与动效(Layout & motion) - 间距:使用 4px 基础网格。内容最大宽度为 1280px,桌面端边距为 48px,移动端边距为 20px。页头高度为 76px,位于 34px 公告栏下方。区块的桌面端垂直内边距为 104px,移动端为 68px;产品网格使用 24px 间隙。主视觉 H1 为 clamp(48px, 5.4vw, 76px),行高 0.96;区块标题桌面端为 42px,移动端为 32px;正文为 16px,行高 1.65。 - 圆角:产品卡片和主要面板使用 22px 圆角,预览图案和输入框使用 16px,小型行项目使用 12px,标签和紧凑按钮使用全圆角胶囊形。使用清晰的 1px Line 边框和宽大、低透明度的橄榄色阴影,而非玻璃效果。 - 动效:初始加载时,主视觉文案在 420ms 内淡入并上移 14px,然后三个预览层以 80ms 的间隔依次进入,并带有小幅旋转,最终稳定到各自位置。 - 动效:主要区块在视口交叉率达到 12% 时显示一次,上移 16px,透明度过渡 380ms;当 IntersectionObserver 不可用时,绝不隐藏内容。 - 动效:悬停时产品卡片上移 4px,其预览图案在 180ms 内缩放至 1.015;筛选变化时网格交叉淡入淡出 160ms,不改变卡片尺寸。 - 动效:购物车抽屉在 260ms 内滑入,同时其背景淡入;锁定焦点,按 Escape 关闭,将焦点恢复到购物车按钮,并阻止背景滚动。 - 动效:哈希路由变化时滚动到顶部,并在 160ms 内淡入新的主内容。在 prefers-reduced-motion 下,移除显示动画、旋转、平滑滚动和变换,同时保持每个状态变化即时且可见。 - 图像:所有视觉元素均为原创内联 SVG 和 CSS,而非位图照片。使用纸色纸张、清晰的几何网格、字体样本字母、渐变样本、微型界面模型、微妙的 1px 轮廓和柔和的偏移阴影,构建一个连贯的触感产品封面系列。主视觉是由三个精致产品预览组成的分层构图,每个目录卡片都有来自内容数据的自身确定性预览配置。不要使用外部图片、可识别的产品、品牌标识、人物或生成图像资产。 ## 页面与区块 ### 店面(`index.html`) 1. **公告、页眉和导航** — 公告内容为 'Free updates on every purchase · Personal and commercial licenses'。品牌标识组合将原始的三页 SVG 标记与 [BRAND] 结合。导航链接为 Shop(#products)、Bundle(#bundle)和 License guide(#licenses)。购物车按钮显示当前商品数量并打开全局抽屉。在移动端,保持 Shop 和 Cart 可见,并将 Bundle 和 License guide 放入紧凑的无障碍菜单中。 布局:一个 34px 的 Ink 公告栏位于一个粘性的 76px 页眉上方,页眉具有半透明的 Canvas 背景、背景模糊和底部 Line 边框。内部内容使用共享的 1280px 容器。标识组合在左侧,导航居中,购物车在右侧;移动端菜单在页眉下方打开,不覆盖主视觉区域。 动效:粘性页眉在滚动 24px 后获得稍强的底部边框;移动端菜单和购物车数量以 160ms 的短过渡变化。 2. **分层店面主视觉** — 对于默认值,显示眉题 'SMALL-BATCH DIGITAL GOODS'、H1 'Make something good before lunch.' 和支持句 'Shop design templates, photo presets, and display fonts from Nooktone Supply. Preview every detail, choose your license, and leave with your files.'。将 [BRAND_LINE] 放在文案下方的小琥珀色纸标签上。CTA 为 'Shop all resources' 和 'Build a bundle'。一个安静的信任行写着 'Instant access · Free updates · Clear licenses'。视觉锚点由前方的 Sunroom Social Kit 界面页、右上方后方的 Pollen Display 样本和左下方后方的 Golden Hour Presets 色板条组成,并带有一个小的 '6 products / one shelf' 徽章。 布局:在桌面端,使用两栏主视觉,44% 文案和 56% artwork,列间距 64px,最小高度 610px。左侧文案垂直居中。右侧 artwork 填充一个 620×500px 的舞台:主要的 420×330px 预览位于中心,旋转 5deg,两个次要页面重叠约 25%,每个都有 1px Ink 边框和柔和的偏移阴影。在 390px 时,将文案堆叠在 340px 高的 artwork 舞台上方,按比例缩放所有图层,并保持 CTA 全宽且无水平溢出。 动效:使用指定的交错入场。当指针悬停在 artwork 上时,前页抬起 6px,次要页面移动不超过 4px;不要添加连续的浮动动画。 3. **产品目录** — 标题:'Fresh from the workbench'。介绍:'Six useful starting points, made to be opened, edited, and put to work.'。包含分类标签 All、Templates、Presets 和 Fonts,一个标记为 'Search the shelf' 的搜索字段,以及一个排序选择器,包含 Featured、Price: low to high 和 Price: high to low。六个默认产品为:Sunroom Social Kit — Templates — $24 — '42 warm, modular social layouts',带有微型编辑屏幕;Golden Hour Presets — Presets — $18 — '12 amber-forward color recipes',带有三个抽象的对比色板;Pollen Display — Fonts — $32 — 'A high-contrast serif in 3 weights',带有原始 Aa 样本;Studio Deck System — Templates — $28 — '36 composed slides for client pitches',带有幻灯片网格预览;Soft Focus Presets — Presets — $16 — '10 muted looks with gentle contrast',带有色调渐变条;Marker Mono — Fonts — $22 — 'A compact mono in 2 weights',带有原始字符网格样本。每张卡片显示分类、预览、标题、一行详情、包含格式和价格。'Preview' 打开 #/product;加号按钮添加个人许可证并显示 toast。空搜索结果说 'No resources match that search',并带有一个 Clear filters 按钮。 布局:从分割的标题行开始,然后是换行的筛选工具栏,然后是等高的 Surface 卡片的三列桌面网格。每个预览具有固定的 4:3 比例,后跟 22px 的文本内边距。在平板使用两列,在移动端使用一列。保持价格和操作在卡片底部对齐;不要截断产品名称。 动效:仅对不透明度和小的悬停抬升进行动画。立即更新可见结果计数,并通过礼貌的实时区域宣布筛选变化。 4. **Whole Shelf 捆绑包** — 眉题:'THE WHOLE SHELF'。H2:'One cart. Six resources. Every update.'。文案:'Get the complete default collection for $86 instead of $140. Personal and commercial options use the same clear terms as individual products.'。在两列清单中显示所有六个产品名称、'Save $54' 和一个按钮 'Add the bundle — $86'。捆绑包是一个独立的购物车项目,个人版定价 $86,商业版定价 $172;添加它不会重复六个单独项目。右侧包含一个代码绘制的六张微型封面扇形,使用与目录相同的预览配置。 布局:一个全宽的 Ink 面板,桌面内边距 56px,位于标准容器内。使用 52%/48% 的两栏构图,Paper 文本和 Amber 节省徽章;在移动端,将文本堆叠在 300px 高的封面扇形上方。面板保持矩形,22px 圆角,没有人为的倒计时或库存计数器。 动效:进入视口时,封面从 4px 堆叠偏移扇形展开到最终旋转,历时 420ms;捆绑包按钮有简单的 160ms 颜色和位移响应。 5. **许可证指南** — 标题:'Pay for the work, not the fine print.'。介绍:'Start personal, or choose commercial when the work is for clients or revenue.'。个人卡片:列出基础价格、一人、仅个人项目、免费更新、无客户工作。商业卡片:恰好为基础价格的 2×、一个团队最多五人、允许商业和客户最终产品、免费更新。两者均声明:'Do not resell, redistribute, or sublicense the source files.'。包含一个小链接 'Read common license questions' 指向 #faq。 布局:使用 38%/62% 分割,标题和介绍在左侧,两张相邻的许可证卡片在右侧。商业版有 Amber 顶部边框和 'For client work' 标签,而不是强制预选。在移动端,将所有三个块堆叠,间距 16px。 动效:以 70ms 交错显示两张卡片;此说明性部分中没有切换开关。 6. **制作者注记和实用 FAQ** — 制作者条幅写着 'Made slowly. Updated when it matters.' 和 'Every resource is checked in a real layout before it joins the shelf.'。以 Fraunces 字体添加 [BRAND] 名称作为文本签名,没有肖像或伪造的手写图像。FAQ 项目:'How do files arrive?' — 'The confirmation screen appears immediately after the demo order and lists every purchased item and its license.';'Are updates included?' — 'Yes. Every purchase includes later refinements to that resource.';'Can I use a personal license for client work?' — 'No. Choose commercial for client work, paid campaigns, or products you sell.';'What formats are included?' — 'Each product page lists its exact package, including editable vector files, portable previews, or desktop and web font formats.';'Can I share the source files?' — 'No. Commercial licenses cover one team of up to five people, but source files may not be redistributed.'。 布局:将制作者条幅放在带边框的 Surface 面板中,具有宽松的水平内边距。在其下方,FAQ 使用 34%/66% 分割:'Useful answers' 标题在左,五行手风琴在右。第一行默认打开;一次只打开一行。手风琴内容从不依赖动画来变得可读。 动效:手风琴高度和箭头旋转使用 180ms 过渡,在减少动态效果下禁用。 7. **页脚** — 显示品牌标识组合、[PRODUCT_FOCUS] 和行 'Made for [AUDIENCE]'。将 Shop、Bundle、License guide 和 FAQ 链接到其现有的 index 锚点。以 'Digital goods, thoughtfully packed.' 和可选的 [CREDIT] 链接结束。不要显示版权日期、新闻通讯表单、社交图标或外部市场链接。 布局:标准容器内带顶部边框的页脚使用 45px 桌面顶部内边距、两栏品牌/导航行和一条安静的小底部行。在移动端将导航堆叠在品牌下方。 动效:除共享的区块显示外,没有入场动画。 8. **全局购物车抽屉和 toast** — 购物车抽屉列出每个选定的产品或捆绑包,包含其缩略图、名称、许可证、价格、个人/商业分段控件和 Remove。更改许可证立即在基础价格和 2× 定价之间切换。将小计和总计显示为相同值,并注明 'No taxes or payment are collected in this static demo.'。主按钮为 'Complete demo order';它将购物车快照为最新订单,清空购物车,关闭抽屉,并打开 #/confirmation。空状态:'Your shelf is empty' 和一个 'Browse resources' 按钮。Toast 确认 Add、Remove、Already in cart 和 License updated 操作。 布局:桌面端使用固定右侧抽屉,宽 420px、全视口高度;移动端全宽并带 20px 内边距。行项目独立滚动,而总计和结账按钮固定在底部。包含可见的关闭按钮、对话框标签、焦点陷阱、Escape 处理和深色半透明背景。 动效:使用指定的 260ms 抽屉过渡,并在左下角附近出现小幅 toast 上浮;toast 停留 3 秒,且绝不遮挡购物车结账按钮。 ### 产品详情(`#/product`) 1. **产品预览与许可购买面板** — 使用在店铺前台选中的产品,直接打开时则使用 Sunroom Social Kit。面包屑:'Shop / [product name]'。对于默认的第一个产品,显示 'TEMPLATES'、'Sunroom Social Kit'、'$24'、'42 warm, modular social layouts',以及描述 'A flexible set of editorial posts, announcements, and carousels with room for real words. Includes 42 vector layouts, portable previews, and a concise style guide.'。元数据为 '42 layouts · SVG, PNG, PDF · Free updates'。预览标签为 Overview、Details 和 Contents;每个标签都会改变原始 SVG 构图,而不是加载图片。许可分段控件提供 Personal '$24' 和 Commercial '$48',所选条款显示在一个简短面板中。主按钮在基础价格下为 'Add to cart — $24',并更新为所选许可价格。辅助行:'Instant access · Lifetime updates · Clear license'。 布局:在共享页头下方,使用 58%/42% 双栏工作区,间距 48px。左侧是大型 4:3 预览,下方有三个紧凑标签;右侧是粘性购买面板,间距 24px,背景为 Surface。其他每个目录产品都复用此结构,使用各自的数据和预览。移动端将预览放在最前,购买面板改为静态,许可和购物车按钮全宽。 动效:预览标签切换以 160ms 交叉淡入淡出。选择许可时,价格数字垂直滑动 6px 并短暂淡入,同时布局高度保持不变。 2. **套餐详情手风琴** — 标题:'Know exactly what you are getting.'。三个手风琴为 What’s inside、Formats and compatibility 和 License summary。对于 Sunroom Social Kit,第一个列出 12 个公告布局、18 个轮播布局、12 个故事布局和一份 6 页样式指南;第二个列出可编辑 SVG、即用 PNG 和适合打印的 PDF;第三个重复当前选择的个人或商业条款。其他产品使用内容数据中的具体对应项,绝不复制默认详情。 布局:使用 32%/68% 分栏,标题在左,右侧为三行带边框的手风琴。第一个默认展开。下方添加一条窄的 Sage 安心条,文字为 'One resource, one clear license, updates included.'。 动效:使用与店铺前台 FAQ 相同的无障碍手风琴行为。 3. **相关产品** — 标题:'Keep the shelf consistent'。显示目录中的另外三个产品,优先同一分类,然后选择下一个可用项目。复用完全相同的产品卡片组件和 Preview 行为;不要显示当前选中的产品。 布局:桌面端三列网格,移动端在 64px 区块间距下方为单列网格。共享页脚紧随此区块。 动效:使用标准区块显现和卡片悬停行为。 ### 即时下载确认(`#/confirmation`) 1. **订单成功与示例下载** — 显示 Sage 对勾图标、眉题 'DEMO ORDER COMPLETE'、H1 'Your files are ready.',以及 'No payment was collected. This confirmation previews the instant-delivery experience.'。使用最近完成的订单,直接打开时则使用示例 Sunroom Social Kit 个人订单。将通用订单标记为 'Order #1048'。列出每个项目及其原始预览缩略图、产品名称、所选许可、格式和 'Download sample' 按钮。每个按钮必须生成并下载该项目预览的真实本地 SVG 版本,并提供纯文本许可收据;不要假装交付 ZIP 或商业产品文件。订单摘要显示每个价格和正确的总计。操作为 'Back to shop' 和 'Download license receipt'。 布局:在共享页头下方居中放置一个 760px 宽的确认面板,桌面端内边距为宽松的 40px,移动端为 22px。下载行堆叠排列,缩略图在左、元数据居中、按钮在右;移动端将每行变为紧凑卡片,按钮全宽。将订单摘要放在项目下方单独的带边框区块中。共享页脚随后出现,并增加顶部间距。 动效:对勾以 360ms SVG 描边动画绘制一次,面板淡入;在减少动态效果下跳过描边动画。每次示例下载开始后显示本地 toast。 2. **下载帮助** — 标题:'Downloads not starting?'。文案:'Check that your browser allows downloads, then try the sample again. Your order and license choices remain available on this device.'。添加三条简短提醒:示例在本地生成、不允许再分发源文件、商业条款覆盖一个最多五人的团队。 布局:确认面板下方放置一行安静的三列内容,每条提醒之间用 Line 边框分隔。移动端堆叠为一列。不要添加联系表单、电子邮件链接、聊天组件或外部支持服务。 动效:无额外动效。 ## 资产 - 图像:无需任何栅格图像或生成图像。将所有主视觉图、产品缩略图、字体样张、预设色板、套装封面和下载缩略图创建为原创的内联 SVG 和 CSS 组件,并在 src/content.ts 中配置。将这些组件保留在源项目中;没有需要下载的图像 URL,也没有第三方图像署名。 - 图标:使用 lucide-react(ISC)作为界面图标,例如 ShoppingBag、Plus、X、ArrowRight、Download、Check、ChevronDown、Search 和 Menu。将它们渲染为 18–22px 的内联 SVG,并在仅图标按钮上提供无障碍标签。从头创建简单的三页品牌标志和 favicon,并在 ASSETS.md 中记录 Lucide 的包、来源、作者和 ISC 许可证。 - 字体:通过 @fontsource-variable/fraunces 和 @fontsource-variable/inter 自托管 Fraunces Variable 和 Inter Variable,并通过 @fontsource/ibm-plex-mono 自托管 IBM Plex Mono。仅使用列出的 OFL 字重,在生产构建中将字体文件保留在本地,并在 ASSETS.md 中列出每个包、来源、作者和 OFL 许可证。 ## 不要做 - 不要添加后端、服务器代码、API 路由、数据库、身份验证、支付处理、邮件发送、第三方 API、分析统计,或任何会提交到某处的表单。购物车和订单状态仅限本地,结账明确为静态演示。 - 不要声称已扣款或已交付商业产品文件。仅从浏览器数据生成真实的本地 SVG 示例和纯文本许可证收据;绝不使用虚假 ZIP 链接或失效的下载按钮。 - 不要使用现有市场或卖家名称、徽标、口号、精确品牌配色、参考代码、参考文案或参考预览构图。 - 不要使用真实产品名称、现有模板设计、预设产品、商业字体产品或复制的预览图片。每个卖家、产品、套餐、价格、预览和每一行文案都必须针对当前变量值原创。 - 不要使用参考特有的吉祥物、标志性插画、自定义字体、独特图标、真实人物肖像、动漫或游戏角色,或任何现有品牌徽标。 - 不要加载外部或热链接图片、图库照片、占位图服务、CDN 脚本、CDN 样式或字体服务 URL。所有视觉元素、图标、字体和脚本都必须在本地提供。 - 不要使用商业字体或未授权及受许可证限制的组件源码。仅使用指定的包,并从零实现每个视觉和交互。 - 不要在渲染文案中暴露 [BRAND] 等变量占位符,并且当 PRODUCT_FOCUS 变化时,不要遗留设计商店产品或语言。将所有文案和目录数据保留在 src/content.ts 中。 - 不要添加 SEO 元数据、Open Graph 标签、JSON-LD、站点地图指令、关键词堆砌标题或标题层级规则。仅使用普通的 [BRAND] 文档标题和本地 favicon。 - 不要链接到裸目录或引入依赖服务器的路由。保留三个声明的哈希路由、可用的区块锚点,以及产品和确认视图的直接加载回退。 - 不要生成 source map、将 src/ 复制到 dist/、超过 20 MB,或要求超过 npm run build 的操作。保留 Vite base './',使所有生产资源 URL 都是相对的。 - 不要显示日期、虚假评分、编造的销量、倒计时、库存计数器、新闻订阅表单或社会证明徽章。保持店面信息丰富,不制造人为紧迫感。 - 不要在 1440×900 和 390×844 下出现预览被裁剪、水平溢出、不可访问的覆盖层、键盘陷阱、空的直接路由或控制台错误。尊重 prefers-reduced-motion,并确保所有内容在无动画时也可读。 --- — Prompt by VibeFather · https://vibefather.ai/t/digital-download-shop · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Digital Download Shop"
colors:
canvas: "#F3EFE6"
surface: "#FFFCF6"
ink: "#20221E"
muted: "#68675F"
amber: "#F2A93B"
sage: "#B9D8C0"
lilac: "#C9C3E8"
line: "#D6D0C4"
typography:
editorial_display_for_the_hero_section_titles_product_names_and_large_prices: { family: "Fraunces Variable", weights: [600, 700] }
interface_and_body_copy: { family: "Inter Variable", weights: [400, 500, 600, 700] }
categories_file_formats_order_labels_and_compact_utility_metadata: { family: "IBM Plex Mono", weights: [500] }
spacing: "Use a 4px base grid. Content max-width is 1280px with 48px desktop gutters and 20px mobile gutters. Header height is 76px below a 34px announcement bar. Sections have 104px desktop and 68px mobile vertical padding; product grids use 24px gaps. Hero H1 is clamp(48px, 5.4vw, 76px) with 0.96 line height, section titles are 42px desktop and 32px mobile, and body copy is 16px with 1.65 line height."
radius: "Use 22px corners on product cards and major panels, 16px on preview art and inputs, 12px on small line items, and fully rounded pills for chips and compact buttons. Use crisp 1px Line borders and broad, low-opacity olive shadows rather than glass effects."
---
# Digital Download Shop — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Canvas** `#F3EFE6` — Warm parchment page background with a very faint CSS fiber texture
- **Surface** `#FFFCF6` — Cards, drawers, input fields, and raised product-preview sheets
- **Ink** `#20221E` — Primary text, dark bundle band, and primary button background
- **Muted** `#68675F` — Secondary copy, metadata, and inactive controls
- **Amber** `#F2A93B` — Accent badges, selected states, and small graphic details; always pair with Ink text
- **Sage** `#B9D8C0` — Success states and selected product-preview panels
- **Lilac** `#C9C3E8` — Alternate preview background and decorative product art
- **Line** `#D6D0C4` — One-pixel borders, separators, and quiet grid lines
## Typography
- **Editorial display for the hero, section titles, product names, and large prices** — Fraunces Variable (OFL), weights 600/700. Self-host the font files.
- **Interface and body copy** — Inter Variable (OFL), weights 400/500/600/700. Self-host the font files.
- **Categories, file formats, order labels, and compact utility metadata** — IBM Plex Mono (OFL), weights 500. Self-host the font files.
## Spacing & shape
- Spacing: Use a 4px base grid. Content max-width is 1280px with 48px desktop gutters and 20px mobile gutters. Header height is 76px below a 34px announcement bar. Sections have 104px desktop and 68px mobile vertical padding; product grids use 24px gaps. Hero H1 is clamp(48px, 5.4vw, 76px) with 0.96 line height, section titles are 42px desktop and 32px mobile, and body copy is 16px with 1.65 line height.
- Radius: Use 22px corners on product cards and major panels, 16px on preview art and inputs, 12px on small line items, and fully rounded pills for chips and compact buttons. Use crisp 1px Line borders and broad, low-opacity olive shadows rather than glass effects.
## Motion
- On initial load, fade and rise the hero copy by 14px over 420ms, then bring the three preview layers in with 80ms staggers and small rotations settling to their final positions.
- Reveal major sections once at 12% viewport intersection with a 16px rise and 380ms opacity transition; never hide content when IntersectionObserver is unavailable.
- Product cards lift 4px and their preview art scales to 1.015 over 180ms on hover; filter changes crossfade the grid for 160ms without changing card dimensions.
- The cart drawer slides in over 260ms while its backdrop fades; trap focus, close on Escape, restore focus to the cart button, and prevent background scrolling.
- Hash-route changes scroll to the top and fade the new main content in over 160ms. Under prefers-reduced-motion, remove reveals, rotations, smooth scrolling, and transforms while keeping every state change immediate and visible.
## Imagery
All visuals are original inline SVG and CSS, not raster photographs. Build a coherent family of tactile product covers using paper-colored sheets, crisp geometric grids, font-specimen letters, gradient swatches, tiny interface mockups, subtle 1px outlines, and soft offset shadows. The hero is a layered composition of three polished product previews, and every catalog card has its own deterministic preview configuration from content data. Do not use external images, recognizable products, brand marks, people, or generated-image assets.
## Tone
Warm, precise, creatively assured, and transparent. Use concise product copy and practical details, with no pressure tactics, fake scarcity, or inflated claims.
---
— Prompt by VibeFather · https://vibefather.ai/t/digital-download-shop · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 一位销售预设的摄影师:将 [PRODUCT_FOCUS] 设置为 Lightroom 预设和叠加层,将六个产品记录替换为你的包,并重写图像使用的授权指南。
- 一家独立字体铸造厂:将 [BRAND] 指向你的工作室,用你的字体系列替换目录,并使用预览图展示样本字母和字重。
- 一位销售样本包的声音设计师:遵循音频资源演示,将 [PRODUCT_FOCUS] 设置为循环和单次采样,并更新捆绑包内容以分组你的库。
- 一家销售商业资产的小型工作室:将 [AUDIENCE] 设置为代理机构,保留商业授权定价,并重写常见问题以解释团队和客户使用。
数字商品下载商店:常见问题
如何更改数字商品下载商店模板中的产品和价格?
所有商品目录条目、价格、捆绑包内容、预览配置和常见问题都放在一个内容文件里。用你自己的文件替换六个默认产品记录,设置每个价格,并更新 Whole Shelf 捆绑包内容以匹配。当你更改品牌、产品重点、受众和品牌口号这四个变量时,重写目录、分类和界面文案,确保默认设计资源商店的内容不残留。
怎么用 AI 做一个数字商品下载商店?
复制本页的提示词,或者运行 npx vibefather add digital-download-shop,把 [BRAND]、[AUDIENCE]、[BRAND_LINE]、[PRODUCT_FOCUS] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。