style-tile
One compact board showing a color and type pairing — palette with contrast, type specimen and scale, core components, radius and spacing — built on the design-token contract so a chosen tile becomes a design system with no loss.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.1k
- Forks
- 104
01 前言 Front Matter
- od
- { "mode": "design-system", "craft": { "requires": [ "color", "typography" ] }, "preview": { "type": "html", "entry": "index.html" }, "platform": "desktop", "scenario": "design", "design_system": { "requires": false }, "example_prompt": "Show me four color and type pairings for a calm, trustworthy fintech brand, as style tiles I can compare and then keep one as our design system." }
- name
- style-tile
- tags
- [ "style tile", "color palette", "type pairing", "brand", "moodboard", "design tokens", "配色", "字体搭配" ]
- emoji
- 🎨
- en_name
- Style Tile
- zh_name
- 风格样张
- category
- design-system
- scenario
- design
- triggers
- [ "style tile", "color and type", "color palette", "type pairing", "font pairing", "brand colors", "visual direction", "配色", "字体搭配" ]
- description
- One compact board showing a color and type pairing — palette with contrast, type specimen and scale, core components, radius and spacing — built on the design-token contract so a chosen tile becomes a design system with no loss.
- en_description
- One compact board showing a color and type pairing — palette with contrast, type specimen and scale, core components, radius and spacing — built on the design-token contract so a chosen tile becomes a design system with no loss.
02 资源文件 1
- 其他.od-local-overlay82 B
03 SKILL.md 正文
Style Tile
Intent. A style tile shows one visual direction (colors, type, the feel of components) on a single board, before anyone designs a page. People compare several side by side and pick one, so each tile must be quick to read and honest about how the system behaves.
Usually you make tiles inside a design exploration: prepare_open_design_exploration with this skill gives each tile its direction. A single tile works too.
The token contract (required)
The tile's :root declares the design-token contract, and everything on the tile is styled through those custom properties. That is what lets choose_open_design_direction with next: "save-design-system" copy the tile into tokens.css exactly. Declare at least:
- Identity:
--bg,--surface,--fg,--muted,--border,--accent,--font-display,--font-body. - Type scale:
--text-xs,--text-sm,--text-base,--text-lg,--text-xl,--text-2xl,--text-3xl,--text-4xl,--leading-body,--leading-tight,--tracking-display. - Layout:
--container-max,--container-gutter-phone,--container-gutter-tablet,--container-gutter-desktop,--section-y-phone,--section-y-tablet,--section-y-desktop. - Recommended too:
--accent-on,--accent-hover,--radius-sm,--radius-md,--radius-lg,--radius-pill,--elev-raised,--font-mono,--success,--warn,--danger.
Put data-od-style-tile on the tile's root element. check_open_design_artifact reports every missing required token as token-missing.
What the tile shows
- Header: the direction's name and one line on its mood ("Calm, precise, quietly confident").
- Palette: a swatch per role (
bg,surface,fg,muted,border,accent, plus status colors if declared). Each swatch shows its role, hex value, and the contrast ratio of the text that sits on it (for examplefg on bg 14.97:1). Compute the ratios; don't estimate them. Body text pairs need 4.5:1. - Type specimen: the display face at
--text-4xlwith a short headline, the body face in a real paragraph at--text-base, and the scale from--text-4xldown to--text-xs, each labelled with its size. Name both families. - Components: a primary and a secondary button, an input with a label, a card with a title and a line of text, and a tag. All of them use the tokens.
- Shape and space: the radius scale, a spacing ruler and the raised elevation, small.
Fonts come from Google Fonts. The tile is one screen on desktop (about 1200×900) and reflows to a single column on a phone.
Make tiles different
In an exploration, every tile must differ from every other in at least two of: accent hue family, neutral temperature (warm or cool greys), display face classification (serif, sans, mono, display), and radius scale (sharp, soft, pill). Two blues with the same sans and the same radius aren't two directions.
Then
When the user picks a tile, call choose_open_design_direction with next: "save-design-system". Its instructions carry the tile's tokens verbatim for tokens.css; the agent writes DESIGN.md to describe them and registers the system, which becomes active.
04 同仓库更多 Skills
youtube-clipper
YouTube clip generation and editing with automated workflows — pull source video, slice highlights, add captions, and export.
writing-guidelines
Review docs/prose for Writing Guidelines compliance. Use when asked to "review my docs", "check writing style", "audit prose", "review docs voice and tone", or "check this page against the writing handbook".
wpds
WordPress Design System. Apply WordPress's official design tokens, typography, and component patterns to themes and sites.
weread-year-in-review-video-template
WeRead-inspired HyperFrames video template for vertical annual reading reports, personal reading dashboards, book-note recaps, and shareable year-in-review stories. Use when users want a 9:16 HTML-to-MP4 reading report with warm paper texture, editorial Chinese typography, book-page metaphors, data highlights, and deterministic motion.
web-design-guidelines
Review UI code for Web Interface Guidelines compliance by the Vercel engineering team. Covers layout, typography, color, motion, and accessibility for product UI.
web-clone
网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 / React-Vue-Next 内容站 / WebGL-Canvas 重前端站三大分支,并强制核对任何 AI 二手分析里的可执行代码。