Skip to content

pantoken / platforms/wordpress/src / themeJson

ตัวแปร: themeJson

const themeJson: ThemeJson

ทดลอง

ตัว rebrand theme.json ที่พร้อมใช้งาน.

ตัวอย่าง

เขียนลงในธีมบล็อก

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

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