可用样式选项

新样式选项定期集成到theme.json中。在任何给定的时间,通过theme.json或样式编辑器了解可用的样式选项都是一项挑战。为了澄清,下表显示了每个theme.json样式选项可用的WordPress版本,以及将相应控件添加到用户界面以允许从样式编辑器管理样式的时间。

样式关键点

钥匙 theme.json自 样式编辑器自
颜色.渐变 5.8 5.9
颜色背景 5.8 5.9
颜色.text 5.8 5.9
边框.颜色 5.9 5.9
border.width(边框宽度) 5.9 5.9
边框样式 5.9 5.9
边界半径 5.8 5.9
border.radius.top左侧 5.9 5.9
border.radius.top右 5.9 5.9
border.radius.bottom左侧 5.9 5.9
border.radius.bottom右 5.9 5.9
border.top.颜色 6.1 6.1
border.top.width(边框顶部宽度) 6.1 6.1
border.top.样式 6.1 6.1
边框.右侧.颜色 6.1 6.1
边框右侧宽度 6.1 6.1
border.right.样式 6.1 6.1
边框.底部.颜色 6.1 6.1
border.bottom.width(边框.底部.宽度) 6.1 6.1
border.bottom.样式 6.1 6.1
border.left.color(边框.左侧颜色) 6.1 6.1
border.left.width(边框.左侧宽度) 6.1 6.1
border.left.style(边框.左侧样式) 6.1 6.1
排版.font家族 5.9 5.9
字体.fontSize 5.8 5.9
排版.fontStyle 5.9 5.9
排版.fontWeight 5.9 5.9
印刷字体.字母间距 5.9 5.9
typegraphy.line高度 5.8 5.9
typegraphy.text装饰 5.9 6.2
typegraphy.text转换 5.9 6
间距填充 5.9 5.9
间距.pading.top 5.8 5.9
间距.pading.right 5.8 5.9
间距.pading.left 5.8 5.9
间距.衬垫.底部 5.8 5.9
间距边距 5.9 5.9
间距.边距.顶部 5.8 5.9
间距边距右侧 5.8 5.9
间距.边距.左侧 5.8 5.9
间距.边缘.底部 5.8 5.9
间隔块间隙 5.9 5.9
尺寸最小高度 6.2 不适用
大纲颜色 6.2 不适用
大纲.偏移 6.2 不适用
大纲.样式 6.2 不适用
大纲.宽度 6.2 不适用
过滤器.uotone 5.9 不适用
阴影 6.1 6.2