④段整套同步(六节 + P/S/F/J + 模板)+ open-design 移到技能根
一、④段整套同步(用户选候选 A)
- 新增 `references/stage-proto-doc/assets/产品文档模板.html`(16 KB/247 行,从备份拷、转 LF)。
- ④段 SKILL.md 换成备份 15:28 那版,并按模板口径改齐:
· 「产品文档框架」从「四块+一附录」改成**六节** —— 页面结构/功能清单/使用场景/操作流程/
跨页与界面状态/待确认与偏离;与模板同构,⛔ 不从空白页重写结构。
· 编号从 R/S/F 改成 **P 页面/S 场景/F 功能/J 二级功能**,各自唯一、按展示顺序通排。
· 保留旧版有价值的要求:每项功能补齐 做什么/入口在哪/输入边界/异常与恢复;重点功能三处标红;
横向流程图每步写清页面/功能/操作/完成判据。
· 完成标准「七节」→「六节」,自查清单同步换掉「需求」那批条目,补模板与配图两条。
· 路径 `designs/<项目>/` → `docs/pm/<项目>/ui/`(2 处)。
· 补回本机那条「每份产出文档开头都要有一张图」的引用(指向主 skill,段内不复述)。
- 主 skill 同步:四段结构表④行、④段沿革、画图小节(④段画页面结构图 + 用户路径)。
二、open-design 移到技能根(用户选候选 A)
- `git mv product-planning/references/stage-delivery/assets/open-design → open-design/`(4178 文件)。
- `.gitignore` 白名单加 `!/open-design/` —— 否则移出去就不再纳入版本控制。
- 引用改 11 处:路径形态 `assets/open-design/...` → `<技能根>/open-design/...`;
「随段携带的自带件」改称「同根技能」;「路径怎么找」那条改成自带件(段内相对路径)与
同根技能(`<技能根>/<技能名>/`)两类分开写。
- open-design 自己的 ATTRIBUTION.md 两处同步(它现在与 oil-ui-pro 同层)。
- 副作用(有益):命名闸门读数由 2063 降到 225 —— 此前它把 open-design 里 919 个第三方 md
当成规则一起扫了;现在只扫本包 23 个 md。已确认④段的 H1 与 4a/4b/4c 子步仍在检查范围内。
三、验收
- check_naming.py --ws E:/ProgramData/AIProject/contentm_agent = 通过 225 / 失败 0 / 提示 27。
- 活文件里 `assets/open-design` 残留 0;工作区 CRLF 文件 0。
This commit is contained in:
1 parent
fa0a9026c8
commit
5afeb6b78a
4184 files changed
+326
-70
No files matched your search
@@ -0,0 +1,438 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Framer — reference components</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="Reference fixture for design-systems/framer. Void black canvas,
|
||||
Framer Blue accent, GT Walsheim display with extreme negative
|
||||
letter-spacing, pill buttons, blue ring-shadow elevation."
|
||||
/>
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--bg: #000000;
|
||||
--surface: #090909;
|
||||
--surface-warm: var(--surface);
|
||||
|
||||
--fg: #ffffff;
|
||||
--fg-2: #a6a6a6;
|
||||
--muted: rgba(255, 255, 255, 0.6);
|
||||
--meta: rgba(255, 255, 255, 0.4);
|
||||
|
||||
--border: rgba(0, 153, 255, 0.15);
|
||||
--border-soft: rgba(255, 255, 255, 0.06);
|
||||
|
||||
--accent: #0099ff;
|
||||
--accent-on: #ffffff;
|
||||
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
||||
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
||||
|
||||
--success: #16a34a;
|
||||
--warn: #eab308;
|
||||
--danger: #dc2626;
|
||||
|
||||
--font-display: "GT Walsheim Framer Medium", "GT Walsheim Medium", "GT Walsheim", -apple-system, "Segoe UI", Inter, sans-serif;
|
||||
--font-body: "Inter Variable", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
|
||||
--font-mono: "Azeret Mono", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
|
||||
|
||||
--text-xs: 12px;
|
||||
--text-sm: 14px;
|
||||
--text-base: 15px;
|
||||
--text-lg: 18px;
|
||||
--text-xl: 22px;
|
||||
--text-2xl: 32px;
|
||||
--text-3xl: 62px;
|
||||
--text-4xl: 110px;
|
||||
|
||||
--leading-body: 1.3;
|
||||
--leading-tight: 0.95;
|
||||
--tracking-display: -0.05em;
|
||||
|
||||
--space-1: 4px;
|
||||
--space-2: 8px;
|
||||
--space-3: 12px;
|
||||
--space-4: 16px;
|
||||
--space-5: 20px;
|
||||
--space-6: 24px;
|
||||
--space-8: 32px;
|
||||
--space-12: 48px;
|
||||
|
||||
--section-y-desktop: 120px;
|
||||
--section-y-tablet: 80px;
|
||||
--section-y-phone: 60px;
|
||||
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 12px;
|
||||
--radius-lg: 20px;
|
||||
--radius-pill: 9999px;
|
||||
|
||||
--elev-flat: none;
|
||||
--elev-ring: 0 0 0 1px var(--border);
|
||||
--elev-raised:
|
||||
0 0.5px 0 0.5px rgba(255, 255, 255, 0.1),
|
||||
0 10px 30px rgba(0, 0, 0, 0.25);
|
||||
|
||||
--focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 70%);
|
||||
|
||||
--motion-fast: 150ms;
|
||||
--motion-base: 200ms;
|
||||
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
||||
|
||||
--container-max: 1200px;
|
||||
--container-gutter-desktop: 24px;
|
||||
--container-gutter-tablet: 16px;
|
||||
--container-gutter-phone: 12px;
|
||||
}
|
||||
|
||||
/* ─── Reset ─────────────────────────────────────────────── */
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
html, body { margin: 0; padding: 0; }
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-base);
|
||||
line-height: var(--leading-body);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-feature-settings: "cv01", "cv05", "cv09", "cv11", "ss03", "ss07";
|
||||
}
|
||||
|
||||
/* ─── Layout ─────────────────────────────────────────────── */
|
||||
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-gutter-desktop); }
|
||||
section { padding-block: var(--section-y-desktop); }
|
||||
section + section { border-top: 1px solid var(--border-soft); }
|
||||
@media (max-width: 1199px) {
|
||||
.container { padding-inline: var(--container-gutter-tablet); }
|
||||
section { padding-block: var(--section-y-tablet); }
|
||||
}
|
||||
@media (max-width: 809px) {
|
||||
.container { padding-inline: var(--container-gutter-phone); }
|
||||
section { padding-block: var(--section-y-phone); }
|
||||
}
|
||||
|
||||
/* ─── Typography — GT Walsheim display, Inter body ───────── */
|
||||
h1, h2, h3 {
|
||||
font-family: var(--font-display);
|
||||
font-weight: 500; /* GT Walsheim Medium — the brand weight, never bold */
|
||||
line-height: var(--leading-tight);
|
||||
margin: 0;
|
||||
color: var(--fg);
|
||||
}
|
||||
/* Display hero: 110px on desktop, scaling down on smaller breakpoints.
|
||||
The most extreme 0.85 line-height is reserved for this size only. */
|
||||
h1 {
|
||||
font-size: var(--text-4xl);
|
||||
line-height: 0.85;
|
||||
letter-spacing: var(--tracking-display);
|
||||
}
|
||||
h2 {
|
||||
font-size: var(--text-3xl);
|
||||
letter-spacing: var(--tracking-display);
|
||||
}
|
||||
h3 {
|
||||
font-size: var(--text-xl);
|
||||
font-family: var(--font-body);
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.025em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
@media (max-width: 1199px) {
|
||||
h1 { font-size: 85px; }
|
||||
h2 { font-size: 48px; }
|
||||
}
|
||||
@media (max-width: 809px) {
|
||||
h1 { font-size: 56px; letter-spacing: -0.04em; }
|
||||
h2 { font-size: 36px; }
|
||||
}
|
||||
p { margin: 0; }
|
||||
.lead { font-size: var(--text-lg); color: var(--fg-2); line-height: var(--leading-body); }
|
||||
.body-muted { color: var(--fg-2); }
|
||||
.body-sm { font-size: var(--text-sm); }
|
||||
.eyebrow {
|
||||
font-family: var(--font-body);
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.18em;
|
||||
font-weight: 500;
|
||||
}
|
||||
.stack-3 > * + * { margin-block-start: var(--space-3); }
|
||||
.stack-4 > * + * { margin-block-start: var(--space-4); }
|
||||
.stack-5 > * + * { margin-block-start: var(--space-5); }
|
||||
.stack-6 > * + * { margin-block-start: var(--space-6); }
|
||||
|
||||
/* ─── Buttons — pill shapes, no sharp corners ────────────── */
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
padding: 10px 18px;
|
||||
border-radius: var(--radius-pill); /* Pill — DESIGN.md: never sharp corners */
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-base);
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
transition:
|
||||
background-color var(--motion-fast) var(--ease-standard),
|
||||
color var(--motion-fast) var(--ease-standard),
|
||||
transform var(--motion-base) var(--ease-standard);
|
||||
text-decoration: none;
|
||||
}
|
||||
.btn:active { transform: scale(0.97); }
|
||||
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
|
||||
|
||||
/* Primary: solid white pill on void — DESIGN.md §4 primary CTA */
|
||||
.btn-primary {
|
||||
background: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
.btn-primary:hover { background: color-mix(in oklab, #ffffff, black 6%); }
|
||||
|
||||
/* Secondary: frosted glass pill on dark — DESIGN.md §4 frosted variant */
|
||||
.btn-secondary {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: var(--fg);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.btn-secondary:hover { background: rgba(255, 255, 255, 0.18); }
|
||||
|
||||
/* ─── Inputs — dark surface, blue focus ring ─────────────── */
|
||||
.field { display: flex; flex-direction: column; gap: var(--space-2); }
|
||||
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--fg); }
|
||||
.field input {
|
||||
padding: 12px 14px;
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--border-soft);
|
||||
background: var(--surface);
|
||||
color: var(--fg);
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-base);
|
||||
outline: none;
|
||||
transition:
|
||||
border-color var(--motion-fast) var(--ease-standard),
|
||||
box-shadow var(--motion-fast) var(--ease-standard);
|
||||
}
|
||||
.field input::placeholder { color: var(--meta); }
|
||||
.field input:hover { border-color: var(--border); }
|
||||
.field input:focus-visible {
|
||||
border-color: var(--accent);
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
.field-help { font-size: var(--text-xs); color: var(--muted); }
|
||||
|
||||
/* ─── Cards — near-black surface, Framer Blue ring shadow ── */
|
||||
.card {
|
||||
background: var(--surface);
|
||||
border-radius: var(--radius-md);
|
||||
padding: var(--space-6);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-3);
|
||||
box-shadow: var(--elev-ring); /* Framer Blue 1px ring — the signature */
|
||||
transition: box-shadow var(--motion-base) var(--ease-standard);
|
||||
}
|
||||
.card:hover {
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(0, 153, 255, 0.28),
|
||||
var(--elev-raised);
|
||||
}
|
||||
.card .card-eyebrow {
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--text-xs);
|
||||
color: var(--accent);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
/* ─── Badges ────────────────────────────────────────────── */
|
||||
.badge {
|
||||
display: inline-flex; align-items: center; gap: var(--space-2);
|
||||
padding: 4px 10px;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: var(--text-xs); font-weight: 500; line-height: 1.4;
|
||||
}
|
||||
.badge-accent {
|
||||
color: var(--accent);
|
||||
background: color-mix(in oklab, var(--accent), transparent 88%);
|
||||
box-shadow: inset 0 0 0 1px var(--border);
|
||||
}
|
||||
.badge-muted {
|
||||
color: var(--muted);
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
||||
|
||||
/* ─── Links ─────────────────────────────────────────────── */
|
||||
a { color: var(--accent); text-decoration: none; }
|
||||
a:hover { text-decoration: underline; text-underline-offset: 3px; }
|
||||
kbd {
|
||||
font-family: var(--font-mono); font-size: var(--text-xs);
|
||||
padding: 2px 6px; border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--border); background: var(--surface); color: var(--fg-2);
|
||||
}
|
||||
|
||||
/* ─── Layout helpers ────────────────────────────────────── */
|
||||
.hero { display: flex; flex-direction: column; gap: var(--space-8); }
|
||||
.hero-headline { max-width: 16ch; }
|
||||
.hero-lead { max-width: 48ch; }
|
||||
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
|
||||
.hero-meta {
|
||||
display: flex; align-items: center; gap: var(--space-3);
|
||||
margin-block-start: var(--space-6);
|
||||
color: var(--meta); font-size: var(--text-sm);
|
||||
}
|
||||
.hero-divider { width: 4px; height: 4px; border-radius: 50%; background: var(--border-soft); }
|
||||
|
||||
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
|
||||
@media (max-width: 1199px) { .features-grid { grid-template-columns: 1fr 1fr; } }
|
||||
@media (max-width: 809px) { .features-grid { grid-template-columns: 1fr; } }
|
||||
|
||||
.form-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-12); align-items: start; }
|
||||
@media (max-width: 1199px) { .form-row { grid-template-columns: 1fr; } }
|
||||
.form {
|
||||
display: flex; flex-direction: column; gap: var(--space-4);
|
||||
max-width: 460px;
|
||||
padding: var(--space-6);
|
||||
background: var(--surface);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--elev-raised); /* Floating elevated stack */
|
||||
}
|
||||
.form-actions { display: flex; gap: var(--space-3); margin-block-start: var(--space-2); }
|
||||
.icon { width: 16px; height: 16px; flex-shrink: 0; }
|
||||
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
|
||||
|
||||
/* ─── Background glow — subtle blue radial behind hero ──── */
|
||||
.hero-glow {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
}
|
||||
.hero-glow::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -10% -20% auto -20%;
|
||||
height: 60%;
|
||||
background: radial-gradient(50% 60% at 50% 0%, rgba(0, 153, 255, 0.15), transparent 70%);
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
<section data-od-id="hero" class="hero-glow">
|
||||
<div class="hero">
|
||||
<div class="stack-6">
|
||||
<p class="eyebrow">Reference fixture · framer</p>
|
||||
<h1 class="hero-headline">The internet is your canvas.</h1>
|
||||
<p class="lead hero-lead">
|
||||
Design and ship production-grade sites without writing the
|
||||
boilerplate. Every interaction, every breakpoint, every motion
|
||||
curve — composed on the void, rendered to the open web.
|
||||
</p>
|
||||
<div class="hero-actions">
|
||||
<a href="./tokens.css" class="btn btn-primary">
|
||||
Start designing
|
||||
<svg class="icon" viewBox="0 0 24 24" fill="none"
|
||||
stroke="currentColor" stroke-width="1.75"
|
||||
stroke-linecap="round" stroke-linejoin="round"
|
||||
aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg>
|
||||
</a>
|
||||
<a href="./DESIGN.md" class="btn btn-secondary">Read the spec</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-meta">
|
||||
<span>v1.0</span>
|
||||
<span class="hero-divider" aria-hidden="true"></span>
|
||||
<span>Press <kbd>⌘</kbd> <kbd>K</kbd> to search tokens</span>
|
||||
<span class="hero-divider" aria-hidden="true"></span>
|
||||
<span class="badge badge-accent">
|
||||
<span class="badge-dot" aria-hidden="true"></span>
|
||||
Live preview
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section data-od-id="features">
|
||||
<div class="stack-4">
|
||||
<p class="eyebrow">What this fixture exercises</p>
|
||||
<h2 style="max-width: 18ch">Craft is the product, polish is the proof.</h2>
|
||||
</div>
|
||||
<div class="features-grid" style="margin-block-start: var(--space-8)">
|
||||
<article class="card">
|
||||
<span class="card-eyebrow">01 · CANVAS</span>
|
||||
<h3>Pure void, no compromise.</h3>
|
||||
<p class="body-muted body-sm">
|
||||
--bg (#000000) → --surface (#090909) → --accent (#0099ff).
|
||||
Absolute black is the foundation — never charcoal, never
|
||||
brown-tinted dark gray. The void is the design.
|
||||
</p>
|
||||
<a href="./tokens.css" class="body-sm">Inspect surface tokens →</a>
|
||||
</article>
|
||||
<article class="card">
|
||||
<span class="card-eyebrow">02 · TYPE</span>
|
||||
<h3>Compressed, spring-loaded.</h3>
|
||||
<p class="body-muted body-sm">
|
||||
GT Walsheim Medium at -0.05em tracking gives display
|
||||
text the breathless density Framer is known for. Inter
|
||||
for body, with six OpenType features for refined micro-type.
|
||||
</p>
|
||||
<a href="./DESIGN.md" class="body-sm">Read the typography rules →</a>
|
||||
</article>
|
||||
<article class="card">
|
||||
<span class="card-eyebrow">03 · DEPTH</span>
|
||||
<h3>Blue rings, white edges.</h3>
|
||||
<p class="body-muted body-sm">
|
||||
Cards are contained by a 1px Framer Blue ring shadow
|
||||
(rgba(0, 153, 255, 0.15)) — depth comes from light tints,
|
||||
not from heavy drop shadows. The blue is the brand.
|
||||
</p>
|
||||
<a href="./tokens.css" class="body-sm">Inspect elevation →</a>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section data-od-id="form">
|
||||
<div class="form-row">
|
||||
<div class="stack-5">
|
||||
<p class="eyebrow">Form components</p>
|
||||
<h2>Inputs in the void.</h2>
|
||||
<p class="body-muted" style="max-width: 44ch">
|
||||
Form fields sit on the near-black surface with subtle
|
||||
translucent borders. Focus lights up the Framer Blue ring —
|
||||
a halo, not a hard edge, so the void stays sacred even
|
||||
while you type.
|
||||
</p>
|
||||
<div class="row-between" style="max-width: 44ch">
|
||||
<span class="badge badge-muted">
|
||||
<span class="badge-dot" aria-hidden="true"></span>
|
||||
No tracking
|
||||
</span>
|
||||
<span class="body-sm" style="color: var(--meta)">Updated <time datetime="2026-05-18">2026-05-18</time></span>
|
||||
</div>
|
||||
</div>
|
||||
<form class="form" onsubmit="event.preventDefault();">
|
||||
<div class="field">
|
||||
<label for="email">Work email</label>
|
||||
<input id="email" type="email" placeholder="[email protected]" autocomplete="email" required />
|
||||
<p class="field-help">We'll send a beta invite and nothing else.</p>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="project">Project name</label>
|
||||
<input id="project" type="text" placeholder="Untitled canvas" autocomplete="off" />
|
||||
<p class="field-help">You can rename it any time from the editor.</p>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary">Request access</button>
|
||||
<button type="button" class="btn btn-secondary">View showcase</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user