Skip to content

pantoken-root / design/swatches/src / swatches

Variabele: swatches ​

const swatches: Swatch[]

Experimenteel

De rebrand kleurstalen (het standaardpalet).

Voorbeeld ​

Codeer het kant-en-klare palet naar elk formaat

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

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