get_token_map
Map a Figma, DTCG, or Tokens Studio token name to the corresponding CSS custom property. Check how a token path resolves before building a theme.
Instructions
The design-token → cia-token mapping that theme_from_tokens applies, as data. Without path: { generatorVersion, contractVersion, explicit: { "": "--token" }, aliases: [{ pattern, replaceWith }], genericRule, targets: { required, optional } }. With path (e.g. "color.text.primary"): how that one path resolves — { token, mapped, via, status, required, feature, category }. Use it to map a Figma / DTCG / Tokens Studio token name to the cia custom property the same way the converter does, or to check a name before building a theme. Needs css-is-awesome >= 1.19.0 installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | One token path to resolve (dot-separated, e.g. spacing.4). Omit for the whole map. |