ui-craft-minimal
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUI Craft — Minimal
UI Craft — 极简
Pre-committed minimal style: editorial clean, Linear / Notion / Vercel. Whitespace is the composition. One accent, hairline borders, almost no motion.
预设极简风格:编辑级简洁,Linear / Notion / Vercel 风。留白是构图的核心。单一强调色,极细边框,几乎无动效。
Knobs (locked)
调节旋钮(已锁定)
- CRAFT_LEVEL = 8 — minimal aesthetics only work when executed precisely; Polish Pass is mandatory.
- MOTION_INTENSITY = 3 — hover + modal enter/exit only. No scroll reveals, no page transitions, no stagger.
- VISUAL_DENSITY = 2 — whitespace-heavy, 1-2 items per row, generous gutters.
Do not re-ask these in Discovery. Skip straight to accent + font confirmation if ambiguous.
- CRAFT_LEVEL = 8 — 极简美学只有精准落地才能成立,必须执行 Polish Pass。
- MOTION_INTENSITY = 3 — 仅保留 hover 与模态框的进入/退出动效。无滚动揭示、无页面过渡、无错落动画。
- VISUAL_DENSITY = 2 — 大量留白,每行1-2个元素,间距宽松。
请勿在 Discovery 阶段重复询问这些参数。若有歧义,直接确认强调色与字体即可。
Style anchors
风格锚点
- Black or near-black type on white or near-white canvas. Monochrome + ONE accent.
- Inter / Geist for body — never a display font.
- Section padding 120-200px vertical, 40-80px gutters.
- Hairline borders in place of shadows.
1px solid oklch(92% 0.005 250) - Typography is the hierarchy. No decorative gradients, patterns, or glass.
- Single-column hero default. Asymmetry via one supporting element, not layout tricks.
- Motion is punctuation, not spectacle.
- Every pixel deliberate. When in doubt, cut it.
- 白色或近白色画布上使用黑色或近黑色文字。单色配色 + 仅1种强调色。
- 正文使用 Inter / Geist 字体 — 绝不使用展示字体。
- 区块垂直内边距为120-200px,横向间距40-80px。
- 使用极细边框 替代阴影。
1px solid oklch(92% 0.005 250) - 排版即层级。不使用装饰性渐变、图案或玻璃拟态效果。
- 默认采用单栏 Hero 布局。通过单个辅助元素实现不对称,而非使用布局技巧。
- 动效是点缀,而非噱头。
- 每一个像素都经过深思熟虑。拿不准的时候,直接删掉。
Base rules (inherited)
基础规则(继承自通用规范)
All rules in apply. This file overrides knob defaults and adds style-specific guidance below. The anti-slop and craft tests still apply in full.
../ui-craft/SKILL.md../ui-craft/SKILL.mdStyle-specific overrides
风格专属覆盖规则
Typography
- Body: Inter or Geist, 400 weight. UI emphasis: 500. Never 600/700 in body copy.
- as fallback stack.
system-ui, -apple-system - Headings: /
tracking-tightabove 24px, 500 or 600 max.-0.02em - on headings,
text-wrap: balanceon paragraphs.text-wrap: pretty - No display serifs. No geometric display sans. No mixing two sans families.
Color
- Surface: (light) /
oklch(99% 0 0)(dark).oklch(14% 0.005 250) - Text: primary,
oklch(18% 0.01 250)secondary.oklch(46% 0.01 250) - Accent reserved for: primary CTA, active nav item, one key metric. That is it.
- Borders: light /
oklch(92% 0.005 250)dark. No colored borders.oklch(24% 0.008 250)
Spacing & layout
- Section vertical: (96 / 128 / 160px) minimum; 200px for hero on large screens.
py-24 md:py-32 lg:py-40 - Container: typical;
max-w-5xlfor reading content.max-w-3xl - One accent placement per viewport preferred; two max.
- No card grids with more than 2 columns on desktop.
Borders & elevation
- Default chrome = 1px hairline border, no shadow.
- Elevation only for floating UI (menus, toasts, modals) — single soft ambient shadow, not layered.
- Radius: 6px inputs, 8px cards, 12px modals. Keep the scale narrow.
Motion
- Allowed: hover (opacity / border color, 120-150ms), modal + dialog enter/exit (180-220ms ease-out), focus ring.
- Forbidden at this intensity: scroll-triggered reveals, stagger, page transitions, parallax, magnetic cursor, entrance choreography.
- Any animation must honor .
prefers-reduced-motion
Composition
- Hero: left-aligned or centered headline, ONE supporting element (social proof line, screenshot, single chip). No floating badges, orbs, blobs.
- Features: stacked rows with a single real visual each. No 3-up uniform icon grids even when tempting.
- Nav: text-only links, current state = accent underline or weight 500. No pill backgrounds.
排版
- 正文:Inter 或 Geist,字重400。UI 强调用字重500。正文中绝对不使用600/700字重。
- 后备字体栈为 。
system-ui, -apple-system - 标题:24px以上使用 /
tracking-tight字间距,字重最高500或600。-0.02em - 标题使用 ,段落使用
text-wrap: balance。text-wrap: pretty - 不使用衬线展示字体。不使用几何无衬线展示字体。不混合使用两种无衬线字体族。
颜色
- 表面色:(浅色模式)/
oklch(99% 0 0)(深色模式)。oklch(14% 0.005 250) - 文字色:主色 ,次色
oklch(18% 0.01 250)。oklch(46% 0.01 250) - 强调色仅用于:主 CTA、当前导航项、一个关键指标。仅此而已。
- 边框色:浅色模式 / 深色模式
oklch(92% 0.005 250)。不使用彩色边框。oklch(24% 0.008 250)
间距与布局
- 区块垂直内边距:最小为 (96 / 128 / 160px);大屏幕下 Hero 区为200px。
py-24 md:py-32 lg:py-40 - 容器宽度:通常为 ;阅读类内容使用
max-w-5xl。max-w-3xl - 每个视口内优先仅放置1处强调色;最多2处。
- 桌面端卡片网格列数不超过2列。
边框与层级
- 默认 UI 元素采用1px极细边框,无阴影。
- 层级阴影仅用于浮动 UI(菜单、Toast、模态框)— 使用单个柔和环境阴影,而非多层阴影。
- 圆角:输入框6px,卡片8px,模态框12px。保持圆角尺度差异较小。
动效
- 允许的动效:hover(透明度/边框颜色变化,120-150ms)、模态框与对话框的进入/退出(180-220ms ease-out 缓动)、焦点环。
- 此动效强度下禁止使用:滚动触发揭示、错落动画、页面过渡、视差效果、磁吸光标、入场编排动画。
- 所有动画必须遵循 规则。
prefers-reduced-motion
构图
- Hero 区:标题左对齐或居中,仅搭配1个辅助元素(用户信任背书文案、截图、单个标签)。不使用浮动徽章、球体、渐变斑点。
- 功能区:采用堆叠行布局,每行仅搭配1个真实视觉元素。即便看起来不错,也不要使用三列统一图标网格。
- 导航:纯文本链接,当前状态用强调色下划线或500字重标识。不使用胶囊形背景。
Reference files to read first
需优先阅读的参考文件
Keep the reading list tight. Load only these from :
../ui-craft/references/- — spacing, hierarchy, composition
layout.md - — scale, readability, weight
typography.md - — monochrome scales, OKLCH, dark mode
color.md - — focus, contrast, keyboard
accessibility.md
Skip , , unless explicitly relevant.
dashboard.mdstack.mdsound.md精简阅读列表,仅从 加载以下文件:
../ui-craft/references/- — 间距、层级、构图
layout.md - — 字号体系、可读性、字重
typography.md - — 单色阶、OKLCH、深色模式
color.md - — 焦点、对比度、键盘操作
accessibility.md
除非明确相关,否则跳过 、、。
dashboard.mdstack.mdsound.mdAnti-patterns for THIS style
本风格的反模式
- Multiple accent colors. One accent, period.
- Display serifs, geometric display sans, or mixing two sans families.
- Decorative gradients, mesh backgrounds, noise overlays, glass panels.
- Scroll-triggered reveals, stagger, page transitions — even "subtle" ones.
- Uniform 3-column icon-heading-text feature grids.
- Colored shadows or glows as affordances.
- Dense layouts. If density feels right, this is the wrong variant — switch to .
ui-craft-dense-dashboard - Pill backgrounds on nav links or buttons by default; prefer text + underline.
- Section padding under 96px on desktop.
- 多种强调色。只能有1种强调色,没有例外。
- 衬线展示字体、几何无衬线展示字体,或混合使用两种无衬线字体族。
- 装饰性渐变、网格背景、噪点叠加层、玻璃面板。
- 滚动触发揭示、错落动画、页面过渡 — 哪怕是“微妙”的也不行。
- 统一的三列「图标-标题-文本」功能网格。
- 使用彩色阴影或发光作为可操作提示。
- 密集布局。如果觉得密集布局更合适,说明用错了风格变体 — 请切换到 。
ui-craft-dense-dashboard - 默认给导航链接或按钮加胶囊背景;优先使用文本+下划线样式。
- 桌面端区块垂直内边距小于96px。