Skip to content

pantoken / platforms/vanilla/src / VANILLA_TO_INSTUI

Variável: VANILLA_TO_INSTUI

const VANILLA_TO_INSTUI: Readonly<Record<string, string>>

Experimental

Caminho de variável Foundation pontilhado → o token Instructure que o preenche.

Exemplo

Leia um mapeamento, ou amplie a cobertura espalhando-o em um novo mapa

ts
import { VANILLA_TO_INSTUI } from "@pantoken/vanilla";

VANILLA_TO_INSTUI["global.mainColors.primary"]; // "--instui-color-background-brand"
const extended = { ...VANILLA_TO_INSTUI, "global.body.color": "--instui-color-text-base" };