Skip to content

pantoken-root / platforms/wordpress/src / themeJson

Variável: themeJson ​

const themeJson: ThemeJson

Experimental

O rebrand theme.json pronto.

Exemplo ​

Insira-o em um tema de blocos

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

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