Skip to content

pantoken / platforms/wordpress/src / themeJson

Variable: themeJson

const themeJson: ThemeJson

Expérimental

Le rebrand theme.json prêt à l'emploi.

Exemple

Écrivez-le dans un thème de blocs

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

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