name: figma-themejson-typography description: Extract WordPress theme.json typography tokens from a Figma variables table. Use when the user provides a Figma node URL or ID for typography variables and needs normalized font families, font sizes, line heights, font weights, or related typography token mappings. metadata: version: "1.0.2"
Figma ThemeJSON Typography
Overview
Extract typography tokens from a Figma variables table and map them into WordPress theme.json-ready structures.
Required Input
- Figma node URL or node ID for the typography variables table
Workflow
- Read typography variables from the provided node.
- Group tokens by family such as font sizes, line heights, font weights, families, or letter spacing.
- Normalize token names into stable WordPress-friendly slugs.
- Preserve semantic naming when the Figma system already uses coherent labels.
- Flag ambiguous typography groups, duplicate values, and mixed naming systems.
- Separate clearly extractable tokens from items that need manual review.
Output Contract
Return:
Typography Tokens
- grouped typography tokens with normalized names and values
Notes
- ambiguous groupings
- likely manual-review items
- mapping recommendations for
theme.json
Guardrails
- Do not flatten all typography into one undifferentiated list.
- Do not invent unsupported font families or weights.
- Keep token families distinct.
_Built by 🧱 LightSpeedWP with ☕, 🚀, and open-source spirit!_ Contributors