pantoken / platforms/wordpress/src / themeJson
Variable: themeJson
constthemeJson:ThemeJson
Experimental
The ready-made rebrand theme.json.
Example
Write it into a block theme
ts
import { writeFileSync } from "node:fs";
import { themeJson } from "@pantoken/wordpress";
writeFileSync("./my-theme/theme.json", JSON.stringify(themeJson, null, 2));