Skip to content

pantoken-root / wordpress

wordpress ​

Compatibility ​

Target: WordPress block themes. Current format: theme.json v3. Minimum host version: 6.6. Tested through 7.1.3. Newer releases require review.

Full compatibility matrix

实验性

@pantoken/wordpress — 将 Instructure 设计令牌作为 WordPress 区块主题 theme.json。

toThemeJson 将任意 IR 转换;themeJson 是现成的 rebrand 文档。 CLI 可以将其写入主题目录:pantoken generate wordpress --out ./my-theme。

接口 ​

类型别名 ​

变量 ​

函数 ​

引用 ​

default ​

重命名并重新导出 themeJson