用这个模板做的 4 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
Pixelshell 是一个把作品集做成虚构的九十年代末桌面操作系统的模板。它面向动态设计师,希望访客在阅读内容之前先玩一玩网站。一段简短的打字机式启动日志之后,出现青灰色的桌面,左侧一列像素图标,任务栏带实时时钟,奶油色窗口配厚实的暖灰色斜面边框。你可以拖动标题栏移动窗口。点击窗口会把它带到最前,其他窗口变暗。窗口可以最小化到任务栏,双击可以最大化。开始菜单里有关于、作品、作品集锦、联系、壁纸切换器,以及一个关机项,点下去会停在告别屏幕。
作品窗口是一个文件浏览器,里面有六个项目。每个项目都在自己的窗口中打开,带一个用 CSS、SVG 或 canvas 绘制的循环预览:正弦波标题卡、环绕图形、弹跳字体、并排的缓动曲线、旋转网格和均衡器条。它们都不是视频文件,所以构建体积很小,而且每个循环都可以在代码里重新设计样式。一个作品集锦窗口会依次播放全部六个项目,你还可以在一个小确认对话框之后清空 Scraps 回收站。
这个模板适合动态设计师、动画师、插画师和创意开发者,他们想要一个让人记得住、同时又读得快的个人网站。配色是柔和的青灰和奶油色,加一个橘色点缀。标题用 Pixelify Sans,小标签用 Silkscreen,正文用 IBM Plex Mono。它不使用任何真实操作系统的标志、配色或图标。
要改编它,先改品牌、姓名、领域、城市和邮箱,然后在单一内容文件里重写项目列表。要换预览,替换一个小型组件即可。在手机上,桌面会变成固定任务栏上方的一列堆叠手风琴窗口。偏好减少动态效果的访客会跳过启动过程,直接看到静态画面。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Retro Desktop OS Portfolio Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief A single-page portfolio for [OWNER_NAME], a [DISCIPLINE] based in [CITY], presented as a fictional late-90s desktop operating system called "[BRAND] Shell". A short typed boot log leads into a teal-gray desktop with pixel icons, a bottom taskbar with a live clock and a start menu. Content lives in beveled windows (About, Work, Showreel, Contact, Scraps). You can drag, focus, minimize, maximize and close them. Each project in the Work file browser opens its own window with a looping preview drawn in CSS, SVG or canvas. On mobile the desktop becomes a stacked list of accordion windows above a fixed taskbar. The look is original: warm bevels, cream window bodies, muted teal-gray wallpaper and one tangerine accent. It uses no real OS branding, palette, icons or copy. - Audience: Studios, agencies and art directors hiring a freelance [DISCIPLINE]. They have a minute to spare and like to explore a site before they read it. - Goal: Make the visitor open at least one project window and see a loop play, then make it easy to reach [CONTACT_EMAIL] from the Contact window or the start menu. - Tone: Playful, nerdy and warm. Short lines with a deadpan humor about frames, curves and render times. The copy never imitates real operating system messages. ## Stack - Framework: Vite 5 + React 18 + TypeScript - Styling: Tailwind CSS 3.4 - Libraries: react (MIT), react-dom (MIT), motion (MIT), @fontsource/pixelify-sans (OFL-1.1), @fontsource/ibm-plex-mono (OFL-1.1), @fontsource/silkscreen (OFL-1.1), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Scaffold with npm create vite@latest (template react-ts), then install motion, the three @fontsource packages, and [email protected] postcss autoprefixer as dev dependencies; run npx tailwindcss init -p. - vite.config.ts: base './', build.outDir 'dist', build.sourcemap false. The defaults minify the build and keep src/ out of dist/. - main.tsx imports @fontsource/pixelify-sans/400.css, 500.css and 700.css, @fontsource/ibm-plex-mono/400.css, 500.css and 600.css, and @fontsource/silkscreen/400.css. - tailwind.config.js theme.extend.colors: desk #4F7E7A, deskDot #46716D, chrome #CBC5B7, hi #FFFCF3, lo #6E695F, edge #24211C, cream #F3ECDD, creamDim #E4DBC8, ink #1F1D1A, slate #24323A, stage #1A2228, idle #8F8A80, accent #FF6A2B, accentDeep #C94A16, plum #6E5F78, olive #6F7656. - tailwind.config.js theme.extend.fontFamily: display ['Pixelify Sans', 'monospace'], pixel ['Silkscreen', 'monospace'], mono ['IBM Plex Mono', 'monospace']. - In src/index.css @layer components, define .bevel-out (box-shadow: inset 1px 1px 0 #FFFCF3, inset -1px -1px 0 #24211C, inset 2px 2px 0 #E9E2D2, inset -2px -2px 0 #6E695F), .bevel-in (the same four shadows with light and dark swapped) and .win-shadow (box-shadow 4px 4px 0 rgba(20,24,22,.35)). - Put every keyframe (blink, caret, preview loops, scraps-out) in src/index.css. Respect @media (prefers-reduced-motion: reduce) by setting animation: none on all of them. - Keep all copy, the six projects, the boot log lines, the scraps and the dialog text in src/content.ts. If the variable values differ from the defaults, rewrite all of that copy for the new person and discipline, keeping the same lengths and structure. - Put the window manager in src/os/useWindowManager.ts: useReducer holding a map of windows {id, kind, open, minimized, maximized, x, y, w, h, z, prevRect} plus a zCounter. Actions are OPEN, CLOSE, FOCUS, MINIMIZE, TOGGLE_MAX, MOVE. FOCUS sets z = ++zCounter, and the focused window is the open, non-minimized one with the highest z. - Implement drag yourself in src/os/Window.tsx with pointer events on the title bar: pointerdown calls setPointerCapture and stores the offset, pointermove dispatches MOVE inside requestAnimationFrame, and pointerup releases. Clamp so at least 80px of the title bar stays inside the desktop and the title bar never goes above y=0. Disable drag while maximized and below 768px. - Each project preview is its own component in src/previews/ with props {playing: boolean}. Canvas previews use requestAnimationFrame, scale for devicePixelRatio, and cancel the frame loop when playing is false or the component unmounts. - Draw the pixel icons in src/os/icons.tsx as 16x16 string grids (one char per pixel mapped to a palette) rendered as SVG <rect>s with shape-rendering='crispEdges', displayed at 48x48. - public/favicon.svg is a 16x16 pixel loop mark: a tangerine ring with a cream play triangle. The document <title> is '[BRAND] Shell — [OWNER_NAME], [DISCIPLINE]'. - Write ASSETS.md at the project root. It states that all icons, previews and wallpaper are code-drawn and lists the three Fontsource fonts with OFL-1.1. ## Variables - [BRAND] — Studio / OS name (default: "Loopwork"). Shown as '[BRAND] Shell' in boot log, start menu banner and desktop watermark - [OWNER_NAME] — Your name (default: "Juno Halvorsen") - [DISCIPLINE] — Discipline (default: "Motion designer"). Drives About copy and project types - [CITY] — City (default: "Rotterdam") - [CONTACT_EMAIL] — Contact email (default: "[email protected]") - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/retro-desktop-os-portfolio 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.
Pro 模板
解锁完整提示词和源码
- 完整提示词:设计、版块、动效、素材
- 每个在线演示的源码
- 商用授权
在线演示和 DESIGN.md 仍然免费。
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Retro Desktop OS Portfolio"
colors:
desktop: "#4F7E7A"
desktop_dot: "#46716D"
chrome: "#CBC5B7"
highlight: "#FFFCF3"
shade: "#6E695F"
edge: "#24211C"
cream: "#F3ECDD"
cream_dim: "#E4DBC8"
ink: "#1F1D1A"
slate: "#24323A"
stage: "#1A2228"
idle: "#8F8A80"
tangerine: "#FF6A2B"
tangerine_deep: "#C94A16"
plum_tint: "#6E5F78"
olive_tint: "#6F7656"
typography:
display_window_titles_about_headline_goodbye_screen_start_menu_banner: { family: "Pixelify Sans", weights: [400, 500, 700] }
tiny_ui_labels_icon_labels_clock_tray_boot_progress_caption: { family: "Silkscreen", weights: [400] }
body_text_tables_fields_boot_log_buttons: { family: "IBM Plex Mono", weights: [400, 500, 600] }
spacing: "4px base grid. Window body padding is 16px, title bar height 26px, taskbar height 40px on desktop and 52px on mobile, icon cells 96x88px. Body text is 14px with line-height 1.55. Table rows are 28px. Buttons are 28px tall with 12px horizontal padding."
radius: "0px everywhere. Every edge is square. Depth comes only from the 2px bevels and the hard 4px offset window shadow, never from blur or rounded corners."
---
# Retro Desktop OS Portfolio — 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
- **Desktop** `#4F7E7A` — Wallpaper base (default tint)
- **Desktop dot** `#46716D` — 2px pixel dots of the wallpaper pattern
- **Chrome** `#CBC5B7` — Window frames, taskbar, buttons, start menu (warm gray)
- **Highlight** `#FFFCF3` — Top/left bevel light edge
- **Shade** `#6E695F` — Inner bevel shadow
- **Edge** `#24211C` — Outer bevel dark edge, pixel icon outlines
- **Cream** `#F3ECDD` — Window bodies, text fields
- **Cream dim** `#E4DBC8` — Row hover, table header, status bars
- **Ink** `#1F1D1A` — Body text
- **Slate** `#24323A` — Active title bar, start menu banner, boot and goodbye backgrounds (with #141816)
- **Stage** `#1A2228` — Background of every looping preview
- **Idle** `#8F8A80` — Inactive title bars
- **Tangerine** `#FF6A2B` — The single hot accent: selection, primary buttons, close-hover, REC dot, progress blocks, preview highlights
- **Tangerine deep** `#C94A16` — Pressed state of accent buttons
- **Plum tint** `#6E5F78` — Alternate wallpaper tint 2
- **Olive tint** `#6F7656` — Alternate wallpaper tint 3
## Typography
- **Display: window titles, About headline, goodbye screen, start menu banner** — Pixelify Sans (OFL), weights 400/500/700. Self-host the font files.
- **Tiny UI labels: icon labels, clock, tray, boot progress caption** — Silkscreen (OFL), weights 400. Self-host the font files.
- **Body text, tables, fields, boot log, buttons** — IBM Plex Mono (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: 4px base grid. Window body padding is 16px, title bar height 26px, taskbar height 40px on desktop and 52px on mobile, icon cells 96x88px. Body text is 14px with line-height 1.55. Table rows are 28px. Buttons are 28px tall with 12px horizontal padding.
- Radius: 0px everywhere. Every edge is square. Depth comes only from the 2px bevels and the hard 4px offset window shadow, never from blur or rounded corners.
## Motion
- Boot: log lines type in at 10ms per character with an 80ms pause between lines (about 2s total). Then a 24-block tangerine progress bar fills one block every 20ms, and the boot screen fades out over 250ms. A click or any key skips straight to the desktop. The boot plays once per session (sessionStorage key 'shell-booted') and never under reduced motion.
- Window open: Motion animates from opacity 0, scale 0.92 to opacity 1, scale 1 over 180ms with ease [0.2,0.8,0.2,1]. Close: to opacity 0, scale 0.96 over 120ms, using AnimatePresence. Minimize: to opacity 0, scale 0.6, y +60 over 160ms. Restore reverses it.
- Start menu: opens from the taskbar with opacity 0→1 and y 8→0 over 140ms using CSS steps(4) for a stepped, retro feel. Close is instant.
- Clock colon blinks with steps(1) once per second. The tray REC dot pulses between opacity 1 and 0.25 every 1.2s.
- Icon select: the label background turns tangerine instantly, with no easing. Button press switches .bevel-out to .bevel-in and shifts the label 1px right and 1px down.
- Scraps empty: rows collapse one after another, 40ms apart (height to 0, x +24px, opacity 0, 200ms each), then the empty state fades in.
- Project previews loop forever at 60fps while their window is open, not minimized and the tab is visible. They pause otherwise.
- prefers-reduced-motion: skip the boot, open and close windows instantly, show each preview as a static frame (t = 1.2s) with a Play button the visitor can press to opt in, and stop the clock blink and REC pulse.
## Imagery
No bitmaps. Everything is code-drawn: the wallpaper is a CSS background of 2px #46716D dots on an 8px grid over the desktop tint, the desktop icons are 16x16 pixel-art SVGs at 3x, the About portrait is a 12x12 pixel monogram tile generated from OWNER_NAME's initials (slate, cream and tangerine squares, no face), and all six project previews are animated SVG, CSS or canvas compositions on the #1A2228 stage. Icons use a limited palette of edge #24211C, cream #F3ECDD, chrome #CBC5B7, slate #24323A and tangerine #FF6A2B.
## Tone
Playful, nerdy and warm. Short lines with a deadpan humor about frames, curves and render times. The copy never imitates real operating system messages.
---
— Prompt by VibeFather · https://vibefather.ai/t/retro-desktop-os-portfolio · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 自由动画师:把 BRAND 设成你的工作室名,DISCIPLINE 设为 animation,并用你自己的循环替换六个项目预览,让作品浏览器展示你的作品集锦。
- 插画师个人网站:保留桌面外壳,设置 OWNER_NAME 和 CITY,围绕绘画而不是帧数和渲染时间重写关于窗口的文案。
- 小型动态工作室:把 BRAND 指向工作室,加宽作品窗口来列出客户项目,并把联系窗口和开始菜单指向工作室邮箱。
- 创意开发者作品集:保留 canvas 预览,换成你自己的生成式草图,并更改壁纸切换器的选项来匹配你的配色。
复古桌面 OS 作品集:常见问题
访客在复古桌面 OS 作品集上实际能做什么?他们最先看到什么?
访客先看到一段简短的打字机式启动日志,然后是一个青灰色桌面,左边一列像素图标,任务栏带实时时钟。他们可以拖动标题栏移动窗口,点击窗口把它带到最前、其他窗口变暗,把窗口最小化到任务栏,双击最大化,打开开始菜单可以看到关于、作品、作品集锦、联系、壁纸切换器,以及一个关机项,点下去会停在告别屏幕。
页面上没有视频文件,项目预览是怎么实现的?
作品文件浏览器里的六个项目各自在独立窗口中打开,带一个用 CSS、SVG 或 canvas 绘制的循环预览:正弦波标题卡、环绕图形、弹跳字体、并排的缓动曲线、旋转网格和均衡器条。作品集锦窗口会依次播放全部六个项目。因为没有任何视频文件,构建体积很小,而且每个循环都可以在代码里重新设计样式。
怎么用 AI 做一个复古桌面 OS 作品集?
复制本页的完整提示词(Pro),或者运行 npx vibefather add retro-desktop-os-portfolio,把 [CITY]、[BRAND]、[DISCIPLINE]、[OWNER_NAME] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
复古桌面 OS 作品集模板的演示是哪个 AI 模型做的?
演示由 Claude Opus 5.5 在 Cursor 里完成;另一个案例由 Claude Opus 5.5 在 Cursor 里完成;另一个案例由 Gemini 4 Carbon 在 Cursor 里完成;另一个案例由 GPT-6 Astra 在 Codex 里完成。每次都用公开的提示词原样生成,没有额外补充,可以并排比较不同模型的效果。