用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
一本杂志应该像读者带回家的实体物件一样经过深思熟虑。这个网站以一个大型的、代码绘制的期刊封面开场,荧光粉和品蓝印版,可见的半色调,以及一个小黄色纸标签。颜色重叠成紫色,而阅读表面保持干净易读。紧凑的报头、超大的期刊主题和实用的阅读链接,让开场屏幕具有文化出版物的节奏感,而不是产品发布。
默认出版物探索人们一起制作东西的小空间。它的故事网格包括共享修理台、聆听室、社区版画制作和公共晚餐的安静后勤。读者可以按栏目筛选、在本地保存故事,并打开完整的深度阅读,包含原创段落、拉引语、插图和阅读进度线。贡献者卡片使用原创几何肖像和具体的编辑角色。每篇文章都有内容,而不是一个死掉的“阅读更多”链接。
一个印刷版块比较单期和小型订阅套装,并在本地确认前展示算术。它不收集付款,也不声称发送电子邮件。第二个示例将出版物改为设计与制作期刊,拥有不同的标题、贡献者、文章散文和印刷定价,同时保持相同的视觉系统。
所有 artwork 均使用 SVG 和 CSS 制作,因此没有外部照片需要授权或替换。内容集中在一个模块中,字体本地打包,减少动态模式会移除印版漂移。该布局对于独立杂志、文化期刊和有小而重要内容要表达的编辑集体来说,是一个有用的起点。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Risograph Indie Magazine Website Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build [BRAND], a fictional independent print and web magazine in [CITY]. Issue theme: [ISSUE_THEME]. Preserve fluorescent risograph overprint, not polished commercial card UI. - Audience: Curious readers, neighborhood makers and independent print collectors. - Goal: Browse original stories, finish a long read, save an article and try a truthful local print subscription flow. - Tone: Observant, specific, warmly critical. No startup slogans or invented readership claims. ## Stack - Framework: Vite + React + TypeScript - Styling: Vanilla CSS - Libraries: vite (MIT), react (MIT), react-dom (MIT), typescript (Apache-2.0), @fontsource/archivo-black (OFL-1.1), @fontsource/ibm-plex-sans (OFL-1.1) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Set Vite base to ./ and build.sourcemap to false. Use a single src/content.ts for all editable content and fully rewrite its data for variable changes. - Implement responsive components and CSS tokens in src/styles.css. Bundle fonts through the listed Fontsource packages; import only the weights actually used. - Provide semantic native controls and keyboard/touch alternatives; implement focus-managed dialogs and local-only validated form feedback. ## Variables - [BRAND] — Brand (default: "Sidefold"). Rewrite every related headline, item, label, alt and confirmation for this value. - [ISSUE_THEME] — Issue Theme (default: "Small Acts, Loud Places"). Rewrite every related headline, item, label, alt and confirmation for this value. - [CITY] — City (default: "Port Briar"). Rewrite every related headline, item, label, alt and confirmation for this value. - [PRINT_PRICE] — Print Price (default: "18"). Rewrite every related headline, item, label, alt and confirmation for this value. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/risograph-indie-magazine-website 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 - Fluorescent pink `#FF48B0` — Large hero left field, cover ink plate, story panels. WCAG relative-luminance calculations: #16113B text on #FF48B0: 5.78:1; #FFFFFF text on #0078BF: 4.73:1; #FFFFFF text on #572178: 11.09:1; #16113B text on #FFE64D: 14.16:1; #16113B text on #FFFFFF: 17.84:1. Use these pairs for every normal-size label/body/button. Decorative overlaps/gradients carry no text; readable text gets a solid backing. - Process blue `#0078BF` — Large hero right field and solid article feature bands. - Overprint purple `#572178` — Decorative intersection plate; never fake multiply text. - Paper yellow `#FFE64D` — Subscription tabs and reading markers. - Paper white `#FFFFFF` — Long-read surface. - Ink `#16113B` — Body on pink/yellow/white; not a background substitute. ### Typography - Display: Archivo Black (OFL), weights 700 - Body: IBM Plex Sans (OFL), weights 400/700 ### Layout & motion - Spacing: 1120px editorial grid, 40px desktop gutters / 20px mobile; 12-column cover with 6/6 split; 88px major spacing / 52px mobile; body max 65ch. - Radius: 0px paper corners; 2px button edges. 2px dark rules, no rounded SaaS cards. - Motion: On first appearance cover blue plate shifts 2px over 550ms once; maintain readable masthead as a single unshifted layer. - Motion: Story hover/focus shifts illustration plate 2px for 150ms; progress line follows actual article scroll. No looping grain. Reduced motion freezes registration and removes route transitions. - Imagery: Original SVG risograph artwork only: halftone hands assembling a table, ribbed bench, circular speaker, abstract print rollers; consistent #FF48B0/#0078BF ink and #572178 overlaps. A polished physical issue mock has cover front, spine, shadow and page fore-edge. Contributors use original abstract geometric cut-paper portraits of fictional people with varied silhouettes; no photo or real likeness, no initials-only avatars. Grain is an inline seeded SVG filter or tiny CSS dot pattern at opacity <=.09, never on text. ## Pages & Sections ### [BRAND] — [ISSUE_THEME] (`index.html`) 1. **Masthead and issue cover** — Header: [BRAND] wordmark, Stories, Contributors, Print; saved bookmark button with count. Eyebrow 'Independent culture, printed with care'. H1 '[ISSUE_THEME]'. Intro 'A repair bench, an open listening room, and the people who keep a place useful. Stories from [CITY] and beyond.' Issue marker 'Issue 04 • 96 pages • Two inks'. CTAs 'Read the cover story' links ./index.html#/story/shared-bench and 'Get the print issue' scrolls print section. Cover text '[BRAND] / [ISSUE_THEME] / 04'. Footer note 'Made to be read, folded, and passed along.' Header menu collapses to accessible drawer at <760px. Layout: 56px masthead in #FFE64D with #16113B text. Hero 620px minimum: left 46% full #FF48B0, right 54% full #0078BF; visible strong-color fields each >=30% first screen. 96px Archivo Black theme on pink; 440×500 physical issue visual on blue has white edge and original pink/blue halftone table geometry overprinted purple. Two col desktop, stacked mobile with 56px headline and cover >=330px wide. No text over grain or overlap. Motion: One slight 2px registration arrival, then static. Cover CTA instant hash navigation. 2. **Story desk** — Heading 'What holds a place together?'. Filter buttons All / Places / People / Objects, result count and Saved toggle. Six story records with IDs, section, author, read time and full original text: shared-bench, Places, 'A bench with room for one more', Mina Vale, 6 min; listening-room, Places, 'A room that listens back', Jules Fen, 4 min; shared-supper, People, 'The table that travels', Etta Penn, 5 min; pocket-press, Objects, 'A press small enough to borrow', Noor Lane, 4 min; repair-ledger, Objects, 'Notes in the repair ledger', Mina Vale, 3 min; doorway-garden, People, 'Growing things by the doorway', Jules Fen, 5 min. Each has specific 24–35 word standfirst about the object/place, original SVG motif, 'Read story' and separate 'Save story' action. Filters and saved list work together, empty state 'No saved stories in this section yet.' Persist IDs in namespaced localStorage. Every card opens its own full story route with 4 substantive 70–100 word paragraphs; use the cover article prose below as the quality benchmark. Layout: White #FFFFFF grid with #16113B labels and 2px rules; first story spans 2 of 3 columns with a 420px pink #FF48B0 print illustration, other motifs #0078BF/#FFE64D; purple #572178 category tabs have white text. Mobile single column, no masonry reading reorder. Filter bar wraps. Motion: 150ms ink nudge on hover/focus; filter content never animates from zero opacity. 3. **Contributors** — 'The hands behind the pages'. Mina Vale — editor, records how shared objects change a room; Jules Fen — sound writer, keeps the listening notes; Etta Penn — illustrator, draws the useful things people overlook; Noor Lane — printmaker, tests small tools with large questions. Each profile includes a short 30-word original note and an article link. No social links unless an actual local profile panel exists. Profiles open a local dialog listing their published story IDs and short bio. Layout: Blue #0078BF full band with white headings; four white profile panels, #16113B body, each has a 96px pink/yellow/blue original geometric fictional portrait rather than initials. On mobile 2 columns then 1 at <=360px. Motion: Portrait registration reacts at most 2px to focus; tap opens biography. 4. **Print desk** — 'A good story deserves a paper life.' 'Uncoated paper, two bright inks, and a spine that opens flat. Nothing hidden behind a screen.' Single issue: $[PRINT_PRICE], 96 pages; Three-issue bundle: price equals 2.5×PRINT_PRICE rounded to nearest dollar; 'Domestic shipping included. International availability is not simulated.' Radio choose Single / Bundle, quantity 1–4, email, country selector Domestic / Other. Live total = unit price × quantity. Other country shows 'This local demo does not quote international shipping' and disables reservation. Submit 'Preview print reservation' validates email and selection and shows in-place receipt 'Local demo only. Nothing was charged, ordered, or emailed.' Include Clear form. No address collection and no checkout language. Layout: Yellow #FFE64D band, #16113B copy; 60/40 text/form, a second tilted issue spread visual in #FF48B0/#0078BF beside the heading. Form white with square 2px ink borders, selected radios purple #572178/white. Mobile single col. Motion: Arithmetic updates immediately, aria-live total; no celebratory confetti. 5. **Footer** — [BRAND] — 'Independent pages, shared attention.' Links Stories, Contributors, Print; accessible Return to top. 'A fictional publication demo. Reading and reservation controls stay on this device.' No copyright year. Layout: Purple #572178 with white text and pink #FF48B0 decorative strip, 32px padding. Motion: Static. ### [BRAND] — Long read (`#/story`) 1. **Full article and reading tools** — Direct open #/story shows shared-bench. #/story/<id> selects a known story; unknown ID falls back to cover story with a small 'Opening the cover story' message. Shared header with Back to stories, text size A−/A+ (18–24px), Save story (local), reading progress 0–100 from actual article geometry, not a timer. Cover article heading 'A bench with room for one more', deck 'At the back of a borrowed workshop, one shared surface makes space for a neighborhood to learn by doing.', by Mina Vale, Places, 6 min. Opening: 'The bench is never quite clear. A blue clamp rests beside a cup of worn pencils, and a chair with three steady legs waits for somebody to notice the fourth. Nobody has written a membership rule. The only agreement is simpler: if you use a tool, leave it ready for the next pair of hands.' Section The useful kind of welcome: 'Tomas, who keeps the key, says the easiest way to make a room feel private is to label everything with a person’s name. Here the drawers are labeled by what they hold. Screws. Sandpaper. Things that might be useful. The last drawer is the largest. It is also the one visitors open first, because uncertainty is a good reason to start a conversation.' Pull quote 'A shared place is built again every time somebody makes room.' Section Repairs that travel: 'The repair is rarely the whole story. A broken lamp brings in a neighbor who has lived two doors away for years. A stuck drawer becomes a lesson in reading the grain. Before the object leaves, someone writes its problem and its repair in a small ledger. Not a record of expertise, but a record of attention. The next person starts one page further along.' Section Leave a little space: 'Near closing, the bench returns to something close to empty. The pencils stay. So does the chair, now steady on four legs. Tomas leaves one clear corner because arriving with a broken thing can feel like asking too much. An empty patch of wood is his way of answering before the question is spoken. There is room here. Put it down.' Add two equally concrete 70-word paragraphs on tool borrowing and the ledger, keeping total cover story around 600 words. Show large code-drawn risograph clamp/bench figure, caption 'A shared surface, drawn from the story.' End with related stories and Back to all stories; no fake comments. Layout: Top bar yellow #FFE64D / ink #16113B; title spread half #FF48B0 half #0078BF with headline on pink and a separate white reading surface. Body max 65ch on #FFFFFF, #16113B 19px/1.7; purple #572178 pullquote on yellow panel, no textured body. Figure repeats exact pink/blue/purple geometry. Mobile reading tools wrap, no sticky obstruction. Motion: Thin progress indicator in #572178; reduced motion disables smoothing. No animated text. ## Assets - font: Self-host Archivo Black, IBM Plex Sans using the Fontsource packages listed in Stack; OFL-1.1, no external font requests. - image: Draw original issue cover, six editorial motifs, spread and four abstract fictional contributor portraits as inline SVG; seeded halftone patterns and 2px registration offsets in pink #FF48B0 / blue #0078BF / purple #572178. No external artwork, photos, logos or copied covers; list as original project artwork in ASSETS.md. ## Don'ts - Build a static-only demo: no backend, API routes, databases, authentication, payments, third-party APIs, analytics, telemetry, or forms that send network requests. Confirmations must explicitly say local demo; never claim an order, booking, generated service result, or email was sent. - Use Vite base ./, relative local assets, hash routes or real .html filenames; no bare-directory links. Direct-open every route and ensure any detail route without an ID renders its first item. Build minified dist/ with npm run build, no source maps or source files, total dist under 20 MB. - Keep all editable copy, fictional sample data, prices, interaction labels, alt text and A/B content in a single src/content.ts module. Keep 3–6 variables. When variables change, rewrite all related content consistently; never leave the default brand or subject in the second case. - All visible language and alt text use US English. Do not render calendar dates, years, dated copyright lines, fake freshness or popularity metrics. Operational weekdays and times, track durations, relative timers, issue identifiers and dimensions are permitted. - Use only original code/art/copy, permissive MIT/ISC/BSD/Apache/CC0 dependencies and locally bundled OFL fonts. No copied site code, existing logos, famous characters, commercial fonts, restricted components or recognizable real-person likeness. List every font, dependency and generated artwork in ASSETS.md with source and license. - Everything is local at runtime: no hotlinked pictures, font CDNs, remote scripts, remote music or placeholder-image services. Download exactly the specified template-hosted images before build; record full source URL, target path, alt text and generated credit in ASSETS.md. - At 1440×900 and 390×844 keep zero console errors and no horizontal overflow. Touch targets at least 44px, visible keyboard focus and labeled inputs, Escape/outside close and focus restore for dialogs, drawer focus trap, scroll lock and aria-live for result changes. Hover effects need equivalent focus/tap paths. - Respect prefers-reduced-motion: remove looping transforms, scroll scrub and parallax, show final static states, never autoplay audio/video, no flashing, strobe or rapid full-screen luminance changes. Do not hide essential content pending animation. - Preserve the assigned palette with at least two strong hero colors occupying large areas. No neutral cream/charcoal fallback, no gradients behind normal text, no low-contrast small labels. Use the calculated AA text/background pairs in Design. - No copyrighted editorial collages or real magazine mastheads. Never use CSS blend-mode on body text; print grain and registration belong only to illustration layers. Contributor visuals are original abstract fictional geometric portraits, permitted consistently across Design and Assets; no real likeness or initials-only substitution. - For altCase Folio Signal, completely rewrite all six stories, contributor names/bios and 600-word lead article around tool sharing and communal meals in West Alder; retain identical section order, overprint art language, routes and local interactions. Do not leave Sidefold, Port Briar, default titles or prices behind. --- — Prompt by VibeFather · https://vibefather.ai/t/risograph-indie-magazine-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# Risograph 独立杂志网站 完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。 ## 简介 构建 [BRAND],一本位于 [CITY] 的虚构独立印刷与网络杂志。期号主题:[ISSUE_THEME]。保留荧光丝网印刷(risograph)叠印效果,而非精致的商业卡片式 UI。 - 受众:充满好奇心的读者、社区创作者和独立印刷品收藏者。 - 目标:浏览原创故事、完成一篇长文阅读、收藏一篇文章,并体验真实可信的本地印刷订阅流程。 - 语气:观察敏锐、具体、温和而带有批判性。不要创业口号,也不要编造读者数量。 ## 技术栈 - 框架:Vite + React + TypeScript - 样式:原生 CSS(Vanilla CSS) - 库:vite(MIT)、react(MIT)、react-dom(MIT)、typescript(Apache-2.0)、@fontsource/archivo-black(OFL-1.1)、@fontsource/ibm-plex-sans(OFL-1.1) - 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。 - 设置: - 将 Vite base 设为 ./,并将 build.sourcemap 设为 false。使用单个 src/content.ts 存放所有可编辑内容,并针对变量变更完全重写其数据。 - 在 src/styles.css 中实现响应式组件和 CSS 令牌。通过列出的 Fontsource 包打包字体;仅导入实际使用的字重。 - 提供语义化的原生控件以及键盘/触摸替代方案;实现焦点管理的对话框和仅本地验证的表单反馈。 ## 变量 - [BRAND] — 品牌(默认:“Sidefold”)。针对此值重写所有相关标题、条目、标签、alt 和确认信息。 - [ISSUE_THEME] — 期号主题(默认:“Small Acts, Loud Places”)。针对此值重写所有相关标题、条目、标签、alt 和确认信息。 - [CITY] — 城市(默认:“Port Briar”)。针对此值重写所有相关标题、条目、标签、alt 和确认信息。 - [PRINT_PRICE] — 印刷版价格(默认:“18”)。针对此值重写所有相关标题、条目、标签、alt 和确认信息。 - [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/risograph-indie-magazine-website(默认:是;删除此行即可移除) “页面与区块”下的文案是按默认值撰写的。如果你的值不同,请针对它们重写每个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。 ## 设计 ### 颜色 - 荧光粉 `#FF48B0` — 大型主视觉左侧区域、封面墨版、故事面板。WCAG 相对亮度计算:#16113B 文字置于 #FF48B0 上:5.78:1;#FFFFFF 文字置于 #0078BF 上:4.73:1;#FFFFFF 文字置于 #572178 上:11.09:1;#16113B 文字置于 #FFE64D 上:14.16:1;#16113B 文字置于 #FFFFFF 上:17.84:1。所有常规尺寸的标签/正文/按钮均使用这些配对。装饰性重叠/渐变不承载文字;可读文字须有实色衬底。 - 印刷蓝 `#0078BF` — 大型主视觉右侧区域及实色文章特写色带。 - 叠印紫 `#572178` — 装饰性交叠色版;切勿伪造正片叠底文字。 - 纸黄 `#FFE64D` — 订阅标签页与阅读标记。 - 纸白 `#FFFFFF` — 长读版面。 - 墨色 `#16113B` — 用于粉色/黄色/白色背景上的正文;不可作为背景替代色。 ### 字体排印 - 展示字体:Archivo Black(OFL),字重 700 - 正文字体:IBM Plex Sans(OFL),字重 400/700 ### 布局与动效 - 间距:1120px 编辑网格,桌面端 40px 栏间距 / 移动端 20px;12 栏封面采用 6/6 分割;88px 主间距 / 移动端 52px;正文最大 65ch。 - 圆角:纸张边角 0px;按钮边缘 2px。2px 深色线条,不使用圆角 SaaS 卡片。 - 动效:首次出现时,封面蓝色色版在 550ms 内偏移 2px,仅一次;报头保持可读,作为单一未偏移图层。 - 动效:故事悬停/聚焦时,插画色版在 150ms 内偏移 2px;进度线跟随实际文章滚动。无循环颗粒。减少动态效果时冻结套准并移除路由过渡。 - 图像:仅使用原创 SVG 孔版印刷插画:半调双手组装桌子、罗纹长凳、圆形扬声器、抽象印刷滚筒;一致的 #FF48B0/#0078BF 油墨与 #572178 叠印。精致的实体刊物样机包含封面正面、书脊、阴影和页口。撰稿人使用原创抽象几何剪纸肖像,描绘轮廓各异的虚构人物;不使用照片或真实肖像,不使用仅含首字母的头像。颗粒为内联种子化 SVG 滤镜或微小 CSS 点阵图案,不透明度 <=.09,绝不叠加于文字上。 ## 页面与区块 ### [BRAND] — [ISSUE_THEME] (`index.html`) 1. **报头与本期封面** — 页眉:[BRAND] 字标、Stories、Contributors、Print;带计数的收藏书签按钮。眉题 'Independent culture, printed with care'。H1 '[ISSUE_THEME]'。引言 'A repair bench, an open listening room, and the people who keep a place useful. Stories from [CITY] and beyond.' 期号标记 'Issue 04 • 96 pages • Two inks'。CTA 'Read the cover story' 链接到 ./index.html#/story/shared-bench,'Get the print issue' 滚动到印刷区块。封面文字 '[BRAND] / [ISSUE_THEME] / 04'。页脚注 'Made to be read, folded, and passed along.' 页眉菜单在 <760px 时折叠为可访问抽屉。 布局:56px 报头,背景 #FFE64D,文字 #16113B。首屏最小 620px:左侧 46% 满铺 #FF48B0,右侧 54% 满铺 #0078BF;首屏可见的强色块各 >=30%。粉色上使用 96px Archivo Black 主题字;蓝色上的 440×500 实体刊物视觉带白色边缘,原始粉/蓝半调表格几何以紫色叠印。桌面双栏,移动端堆叠,标题 56px,封面 >=330px 宽。文字不得压在颗粒纹理上或相互重叠。 动效:一次轻微的 2px 套准入场,随后静止。封面 CTA 即时哈希导航。 2. **故事台** — 标题 'What holds a place together?'。筛选按钮 All / Places / People / Objects,结果计数和 Saved 切换。六条故事记录,含 ID、分区、作者、阅读时长和完整原文:shared-bench,Places,'A bench with room for one more',Mina Vale,6 min;listening-room,Places,'A room that listens back',Jules Fen,4 min;shared-supper,People,'The table that travels',Etta Penn,5 min;pocket-press,Objects,'A press small enough to borrow',Noor Lane,4 min;repair-ledger,Objects,'Notes in the repair ledger',Mina Vale,3 min;doorway-garden,People,'Growing things by the doorway',Jules Fen,5 min。每条都有具体的 24–35 词导语,讲述该物件/场所,原创 SVG 图案,'Read story' 和单独的 'Save story' 操作。筛选与收藏列表协同工作,空状态 'No saved stories in this section yet.' 将 ID 持久化到带命名空间的 localStorage。每张卡片打开自己的完整故事路由,含 4 段实质性的 70–100 词段落;以下方封面文章正文作为质量基准。 布局:白色 #FFFFFF 网格,标签 #16113B,2px 分隔线;第一条故事跨 3 列中的 2 列,配 420px 粉色 #FF48B0 印刷插画,其他图案 #0078BF/#FFE64D;紫色 #572178 分类标签配白色文字。移动端单列,不做瀑布流阅读重排。筛选栏换行。 动效:悬停/聚焦时 150ms 墨迹轻推;筛选内容绝不以零不透明度开始动画。 3. **撰稿人** — 'The hands behind the pages'。Mina Vale — 编辑,记录共享物件如何改变一个房间;Jules Fen — 声音写作者,维护聆听笔记;Etta Penn — 插画师,画人们忽视的有用之物;Noor Lane — 版画师,用大问题测试小工具。每个档案含一段 30 词原创短注和一篇文章链接。除非存在真实的本地档案面板,否则不加社交链接。档案打开本地对话框,列出其已发布故事 ID 和简短简介。 布局:蓝色 #0078BF 整幅色带配白色标题;四个白色档案面板,#16113B 正文,每个配 96px 粉/黄/蓝原创几何虚构肖像,而非首字母。移动端 2 列,<=360px 时 1 列。 动效:肖像套准对聚焦最多反应 2px;点按打开简介。 4. **印刷台** — 'A good story deserves a paper life.' 'Uncoated paper, two bright inks, and a spine that opens flat. Nothing hidden behind a screen.' 单期:$[PRINT_PRICE],96 页;三期套装:价格等于 2.5×PRINT_PRICE 四舍五入到最接近的美元;'Domestic shipping included. International availability is not simulated.' 单选 Single / Bundle,数量 1–4,邮箱,国家选择 Domestic / Other。实时总价 = 单价 × 数量。选择 Other 国家时显示 'This local demo does not quote international shipping' 并禁用预订。提交 'Preview print reservation' 校验邮箱和选择,并就地显示回执 'Local demo only. Nothing was charged, ordered, or emailed.' 包含 Clear form。不收集地址,不使用结账措辞。 布局:黄色 #FFE64D 色带,#16113B 文案;60/40 文本/表单,标题旁另有一幅倾斜的刊物跨页视觉,用 #FF48B0/#0078BF。表单白色,方形 2px 墨色边框,选中单选为紫色 #572178/白色。移动端单列。 动效:算术即时更新,aria-live 总价;无庆祝彩纸。 5. **页脚** — [BRAND] — 'Independent pages, shared attention.' 链接 Stories、Contributors、Print;可访问的 Return to top。'A fictional publication demo. Reading and reservation controls stay on this device.' 无版权年份。 布局:紫色 #572178 配白色文字和粉色 #FF48B0 装饰条,32px 内边距。 动效:静态。 ### [BRAND] — 长读 (`#/story`) 1. **完整文章与阅读工具** — 直接打开 #/story 显示 shared-bench。#/story/<id> 选择已知故事;未知 ID 回退到封面故事,并显示小提示 'Opening the cover story'。共享页眉含 Back to stories、文字大小 A−/A+(18–24px)、Save story(本地)、阅读进度 0–100,基于实际文章几何而非计时器。封面文章标题 'A bench with room for one more',导语 'At the back of a borrowed workshop, one shared surface makes space for a neighborhood to learn by doing.',作者 Mina Vale,Places,6 min。开篇:'The bench is never quite clear. A blue clamp rests beside a cup of worn pencils, and a chair with three steady legs waits for somebody to notice the fourth. Nobody has written a membership rule. The only agreement is simpler: if you use a tool, leave it ready for the next pair of hands.' 章节 The useful kind of welcome:'Tomas, who keeps the key, says the easiest way to make a room feel private is to label everything with a person’s name. Here the drawers are labeled by what they hold. Screws. Sandpaper. Things that might be useful. The last drawer is the largest. It is also the one visitors open first, because uncertainty is a good reason to start a conversation.' 拉引 'A shared place is built again every time somebody makes room.' 章节 Repairs that travel:'The repair is rarely the whole story. A broken lamp brings in a neighbor who has lived two doors away for years. A stuck drawer becomes a lesson in reading the grain. Before the object leaves, someone writes its problem and its repair in a small ledger. Not a record of expertise, but a record of attention. The next person starts one page further along.' 章节 Leave a little space:'Near closing, the bench returns to something close to empty. The pencils stay. So does the chair, now steady on four legs. Tomas leaves one clear corner because arriving with a broken thing can feel like asking too much. An empty patch of wood is his way of answering before the question is spoken. There is room here. Put it down.' 增加两段同样具体的 70 词段落,分别关于工具借用和账本,使封面故事总字数保持在约 600 词。展示大型代码绘制的孔版印刷夹具/工作台图形,图注 'A shared surface, drawn from the story.' 结尾含相关故事和 Back to all stories;无虚假评论。 布局:顶栏黄色 #FFE64D / 墨色 #16113B;标题跨页一半 #FF48B0 一半 #0078BF,标题在粉色上,另设独立白色阅读面。正文最大 65ch,背景 #FFFFFF,#16113B 19px/1.7;紫色 #572178 拉引置于黄色面板,正文无纹理。图形重复精确的粉/蓝/紫几何。移动端阅读工具换行,无粘性遮挡。 动效:#572178 细进度指示器;减少动态时禁用平滑。无动画文字。 ## 资产 - 字体:使用 Stack 中列出的 Fontsource 包自托管 Archivo Black、IBM Plex Sans;OFL-1.1,不发起外部字体请求。 - 图像:以 inline SVG 绘制原创期刊封面、六个编辑图案、跨页以及四幅抽象虚构撰稿人肖像;使用带种子的半色调图案和 2px 套印偏移,颜色为粉色 #FF48B0 / 蓝色 #0078BF / 紫色 #572178。不使用外部 artwork、照片、logo 或复制的封面;在 ASSETS.md 中列为原创项目 artwork。 ## 不要做 - 构建纯静态演示:不要后端、API 路由、数据库、身份验证、支付、第三方 API、分析、遥测,或会发送网络请求的表单。确认信息必须明确说明是本地演示;绝不要声称已发送订单、预订、生成的服务结果或电子邮件。 - 使用 Vite base ./、相对本地资源、哈希路由或真实的 .html 文件名;不要使用裸目录链接。直接打开每个路由,并确保任何没有 ID 的详情路由渲染其第一个项目。使用 npm run build 构建压缩的 dist/,不要 source maps 或源文件,dist 总大小低于 20 MB。 - 将所有可编辑文案、虚构示例数据、价格、交互标签、alt 文本和 A/B 内容保留在单个 src/content.ts 模块中。保留 3–6 个变量。当变量变化时,一致地重写所有相关内容;绝不要在第二个案例中留下默认品牌或主题。 - 所有可见语言和 alt 文本使用美式英语。不要渲染日历日期、年份、带日期的版权行、虚假的新鲜度或流行度指标。运营工作日和时间、轨道持续时间、相对计时器、问题标识符和尺寸是允许的。 - 仅使用原创代码/艺术/文案、宽松的 MIT/ISC/BSD/Apache/CC0 依赖项和本地捆绑的 OFL 字体。不要复制网站代码、现有徽标、著名角色、商业字体、受限组件或可识别的真人肖像。在 ASSETS.md 中列出每个字体、依赖项和生成的艺术作品及其来源和许可证。 - 运行时一切都在本地:不要热链接图片、字体 CDN、远程脚本、远程音乐或占位图片服务。在构建前准确下载指定的模板托管图片;在 ASSETS.md 中记录完整源 URL、目标路径、alt 文本和生成的署名。 - 在 1440×900 和 390×844 下保持零控制台错误且无水平溢出。触摸目标至少 44px,可见的键盘焦点和带标签的输入,对话框的 Escape/外部关闭和焦点恢复,抽屉焦点陷阱、滚动锁定和结果变化的 aria-live。悬停效果需要等效的焦点/点击路径。 - 尊重 prefers-reduced-motion:移除循环变换、滚动擦除和视差,显示最终静态状态,绝不自动播放音频/视频,无闪烁、频闪或快速全屏亮度变化。不要隐藏等待动画的基本内容。 - 保留指定的调色板,至少两种强烈的英雄色占据大面积。不要中性奶油色/炭灰色回退,不要在正常文本后面使用渐变,不要低对比度的小标签。在 Design 中使用计算出的 AA 文本/背景配对。 - 不要受版权保护的编辑拼贴或真实杂志刊头。绝不要在正文文本上使用 CSS blend-mode;印刷颗粒和套准仅属于插图图层。贡献者视觉是原创抽象虚构几何肖像,在 Design 和 Assets 中一致允许;不要真实肖像或仅首字母替代。 - 对于 altCase Folio Signal,完全重写所有六个故事、贡献者姓名/简介和 600 字主文章,围绕 West Alder 的工具共享和公共餐食;保留相同的部分顺序、套印艺术语言、路由和本地交互。不要留下 Sidefold、Port Briar、默认标题或价格。 --- — Prompt by VibeFather · https://vibefather.ai/t/risograph-indie-magazine-website · 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: "Risograph Indie Magazine Website"
colors:
fluorescent_pink: "#FF48B0"
process_blue: "#0078BF"
overprint_purple: "#572178"
paper_yellow: "#FFE64D"
paper_white: "#FFFFFF"
ink: "#16113B"
typography:
display: { family: "Archivo Black", weights: [700] }
body: { family: "IBM Plex Sans", weights: [400, 700] }
spacing: "1120px editorial grid, 40px desktop gutters / 20px mobile; 12-column cover with 6/6 split; 88px major spacing / 52px mobile; body max 65ch."
radius: "0px paper corners; 2px button edges. 2px dark rules, no rounded SaaS cards."
---
# Risograph Indie Magazine Website — 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
- **Fluorescent pink** `#FF48B0` — Large hero left field, cover ink plate, story panels. WCAG relative-luminance calculations: #16113B text on #FF48B0: 5.78:1; #FFFFFF text on #0078BF: 4.73:1; #FFFFFF text on #572178: 11.09:1; #16113B text on #FFE64D: 14.16:1; #16113B text on #FFFFFF: 17.84:1. Use these pairs for every normal-size label/body/button. Decorative overlaps/gradients carry no text; readable text gets a solid backing.
- **Process blue** `#0078BF` — Large hero right field and solid article feature bands.
- **Overprint purple** `#572178` — Decorative intersection plate; never fake multiply text.
- **Paper yellow** `#FFE64D` — Subscription tabs and reading markers.
- **Paper white** `#FFFFFF` — Long-read surface.
- **Ink** `#16113B` — Body on pink/yellow/white; not a background substitute.
## Typography
- **Display** — Archivo Black (OFL), weights 700. Self-host the font files.
- **Body** — IBM Plex Sans (OFL), weights 400/700. Self-host the font files.
## Spacing & shape
- Spacing: 1120px editorial grid, 40px desktop gutters / 20px mobile; 12-column cover with 6/6 split; 88px major spacing / 52px mobile; body max 65ch.
- Radius: 0px paper corners; 2px button edges. 2px dark rules, no rounded SaaS cards.
## Motion
- On first appearance cover blue plate shifts 2px over 550ms once; maintain readable masthead as a single unshifted layer.
- Story hover/focus shifts illustration plate 2px for 150ms; progress line follows actual article scroll. No looping grain. Reduced motion freezes registration and removes route transitions.
## Imagery
Original SVG risograph artwork only: halftone hands assembling a table, ribbed bench, circular speaker, abstract print rollers; consistent #FF48B0/#0078BF ink and #572178 overlaps. A polished physical issue mock has cover front, spine, shadow and page fore-edge. Contributors use original abstract geometric cut-paper portraits of fictional people with varied silhouettes; no photo or real likeness, no initials-only avatars. Grain is an inline seeded SVG filter or tiny CSS dot pattern at opacity <=.09, never on text.
## Tone
Observant, specific, warmly critical. No startup slogans or invented readership claims.
---
— Prompt by VibeFather · https://vibefather.ai/t/risograph-indie-magazine-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 邻里艺术期刊:将 BRAND 设置为你的期刊,CITY 设置为你的地区,并围绕本地工作室、工作坊和共享工具重写六个故事。
- 设计与制作 zine:保留视觉系统,将 ISSUE_THEME 更改为材料主题,并将贡献者角色重写为制作者、插画家和版画家。
- 销售期刊的小型出版社:将 PRINT_PRICE 设置为你的封面价格,在印刷台文案中描述你的纸张和装订,并将确认链接到自己的订单表单。
- 文化集体档案:保留筛选栏目“地点”、“人物”和“物品”作为你的目录,并将保存的故事替换为过去期刊的阅读列表。
Risograph 独立杂志网站:常见问题
如何更改 Risograph 独立杂志网站中的杂志名称、城市和期刊主题?
Risograph 独立杂志网站模板暴露四个变量:BRAND、ISSUE_THEME、CITY 和 PRINT_PRICE。将 BRAND 设置为出版物名称,ISSUE_THEME 设置为封面标题,CITY 设置为所在地,PRINT_PRICE 设置为封面价格。任务要求代理重写每个标题、导语、贡献者说明、替代文本和确认信息,确保没有任何内容仍然提到默认的 Sidefold、Port Briar 或 Small Acts, Loud Places。
我可以在 Risograph 独立杂志网站中添加真实照片而不是 SVG artwork 吗?
Risograph 独立杂志网站模板仅附带原创 SVG 和 CSS artwork:半色调桌子、罗纹长凳、圆形扬声器、印刷滚筒和几何贡献者肖像。没有外部照片需要授权或替换。如果你想使用照片,请让你的 AI 代理将图案替换为图像,同时保留粉色和品蓝墨水处理以及紫色叠印,并将文字保持在颗粒层之外,以便标签保持可读。
怎么用 AI 做一个Risograph 独立杂志网站?
复制本页的提示词,或者运行 npx vibefather add risograph-indie-magazine-website,把 [CITY]、[BRAND]、[ISSUE_THEME]、[PRINT_PRICE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
Risograph 独立杂志网站模板的演示是哪个 AI 模型做的?
演示由 GPT-6.1 Sol 在 Codex 里完成;另一个案例由 GLM-5.3 在 ZCode 里完成。每次都用公开的提示词原样生成,没有额外补充,可以并排比较不同模型的效果。