Skip to content

pantoken / platforms/vanilla/src / VANILLA_TO_INSTUI

Variable: VANILLA_TO_INSTUI

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

Expérimental

Chemin de variable Foundation avec points → le jeton Instructure qui le remplit.

Exemple

Lire un mapping, ou élargir la couverture en l'étendant dans une nouvelle map

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" };