Skip to content

pantoken-root / platforms/wordpress/src / themeJson

Variabile: themeJson ​

const themeJson: ThemeJson

Sperimentale

Il rebrand theme.json già pronto.

Esempio ​

Inseriscilo in un tema a blocchi

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

writeFileSync("./my-theme/theme.json", JSON.stringify(themeJson, null, 2));