Skip to content

pantoken / platforms/wordpress/src / themeJson

Variável: themeJson

const themeJson: ThemeJson

Experimental

O rebrand theme.json pronto.

Exemplo

Escreva-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));