Skip to content

pantoken-root / design/swatches/src / swatches

Spremenljivka: swatches ​

const swatches: Swatch[]

Eksperimentalno

Barvni vzorci rebrand (privzeta paleta).

Primer ​

Kodirajte vnaprej pripravljeno paleto v poljuben format

ts
import { writeFileSync } from "node:fs";
import { swatches, toAse, toGpl } from "@pantoken/swatches";

writeFileSync("instructure.ase", toAse(swatches));
writeFileSync("instructure.gpl", toGpl(swatches));