Skip to content

pantoken-root / formats/dtcg/src / dtcg

Variable: dtcg ​

const dtcg: DtcgDoc

Beta

The rebrand theme as a DTCG document (the default).

Example ​

ts
import { dtcg } from "@pantoken/dtcg";
import { writeFileSync } from "node:fs";

writeFileSync("tokens.json", JSON.stringify(dtcg, null, 2));