diff --git a/packages/pen-ai-skills/skills/domains/cjk-typography.md b/packages/pen-ai-skills/skills/domains/cjk-typography.md index e3489d28a..17cf7b500 100644 --- a/packages/pen-ai-skills/skills/domains/cjk-typography.md +++ b/packages/pen-ai-skills/skills/domains/cjk-typography.md @@ -12,8 +12,8 @@ category: domain CJK TYPOGRAPHY (Chinese/Japanese/Korean): -- Headings: "Noto Sans SC" (Chinese) / "Noto Sans JP" / "Noto Sans KR". NEVER "Space Grotesk"/"Manrope" for CJK. -- Body: "Inter" (system CJK fallback) or "Noto Sans SC". -- CJK lineHeight: headings 1.3-1.4 (NOT 1.1), body 1.6-1.8. letterSpacing: 0, NEVER negative. -- CJK buttons: each char is approximately fontSize wide. Container width >= (charCount x fontSize) + padding. -- Detect CJK from user request language — use CJK fonts for ALL text nodes. +- Headings: "Noto Sans SC" (Chinese) / "Noto Sans JP" (Japanese) / "Noto Sans KR" (Korean). NEVER "Space Grotesk" / "Manrope" for CJK — no CJK glyphs. +- Body: ALWAYS "Inter" (uses system CJK fallback at render time). Do NOT pick a script-specific Noto for body — that rule is HEADING-only. Matches the `text` section of get_design_prompt, `decomposition.md` ("body='Inter'"), and `add_body_text_v0`. +- CJK lineHeight: headings 1.3-1.4 (NOT 1.1 like Latin), body 1.6-1.8 (Latin body is 1.4-1.6). letterSpacing: 0, NEVER negative (causes CJK character overlap). +- CJK buttons: each char is approximately fontSize wide. Container width >= (charCount × fontSize) + padding. +- Detect CJK from user request language — apply CJK rules (script-specific Noto for headings; Inter + CJK lineHeight/letterSpacing for body; 0 letterSpacing everywhere).