Loading...
Loading...
Compare original and translation side by side
brand.yamlbrand.yamlbrand.yaml/brand-builder/design-tokensbrand.yaml/brand-builder/design-tokensundefinedundefined
**Ask via AskUserQuestion:**
1. **Identity**: Product name, domain, tagline, category
2. **Audience**: Primary user, segments, pain points
3. **Voice**: Tone (casual/professional/technical/playful), personality traits, things to avoid
4. **Content**: Topics, mix (product vs valuable), posting frequency
**通过AskUserQuestion提问:**
1. **品牌标识**:产品名称、域名、标语、品类
2. **目标受众**:核心用户、用户细分、痛点
3. **品牌调性**:语气(随意/专业/技术向/活泼)、性格特质、需规避的内容
4. **内容策略**:主题、内容比例(产品相关 vs 价值型内容)、发布频率hexToOklch()hexToOklch()brand.yamlundefinedbrand.yamlundefined
For new brands, construct the YAML programmatically with all sections:
- `version: "1"`
- `identity` from Phase 1
- `audience` from Phase 1
- `voice` from Phase 1
- `palette` with brand_hue, primary/secondary/accent (OKLCH + hex), light/dark backgrounds
- `typography` from Phase 2
- `spacing`, `radii`, `elevation`, `motion` with sensible defaults
- `content` from Phase 1
- `inspirations` from Phase 1
- `meta` with generation timestamp
对于新品牌,通过编程方式构建包含所有模块的YAML文件:
- `version: "1"`
- 阶段1收集的`identity`(品牌标识)
- 阶段1收集的`audience`(目标受众)
- 阶段1收集的`voice`(品牌调性)
- `palette`(调色板)包含品牌主色调、主色/辅助色/强调色(OKLCH + 十六进制)、亮色/暗色背景
- 阶段2确定的`typography`(字体系统)
- `spacing`(间距)、`radii`(圆角)、`elevation`(层级)、`motion`(动效)的合理默认值
- 阶段1收集的`content`(内容策略)
- 阶段1收集的`inspirations`(灵感来源)
- 包含生成时间戳的`meta`(元数据)node ~/Development/brand-kit/dist/src/cli.js validate brand.yaml
node ~/Development/brand-kit/dist/src/cli.js compile --out ./src/stylesnode ~/Development/brand-kit/dist/src/cli.js validate brand.yaml
node ~/Development/brand-kit/dist/src/cli.js compile --out ./src/stylesnode ~/Development/brand-kit/dist/src/cli.js render og-default \
--title "[Product Name]" \
--subtitle "[Tagline]" \
--out ./brand-preview.pngnode ~/Development/brand-kit/dist/src/cli.js render og-default \
--title "[Product Name]" \
--subtitle "[Tagline]" \
--out ./brand-preview.pngbrand.yamlbrand.yamlbrand-profile.yamlbrand-profile.yamlbrand.yaml./src/styles/./brand-preview.pngbrand.yaml./src/styles/./brand-preview.png/brand-compile/brand-assets/brand-builder/design-tokens/brand-compile/brand-assets/brand-builder/design-tokens