Available Styles Options

New styles options are integrated into theme.json on a regular basis. Knowing the style options available through theme.json or the styles editor at any given time can be challenging. To clarify, the table below indicates the WordPress version when each theme.json styles option became available and when a corresponding control was added to the user interface to allow management of the style from the Styles editor.

Styles Keys

Keytheme.json SinceStyle Editor Since
color.gradient5.85.9
color.background5.85.9
color.text5.85.9
border.color5.95.9
border.width5.95.9
border.style5.95.9
border.radius5.85.9
border.radius.topLeft5.95.9
border.radius.topRight5.95.9
border.radius.bottomLeft5.95.9
border.radius.bottomRight5.95.9
border.top.color6.16.1
border.top.width6.16.1
border.top.style6.16.1
border.right.color6.16.1
border.right.width6.16.1
border.right.style6.16.1
border.bottom.color6.16.1
border.bottom.width6.16.1
border.bottom.style6.16.1
border.left.color6.16.1
border.left.width6.16.1
border.left.style6.16.1
typography.fontFamily5.95.9
typography.fontSize5.85.9
typography.fontStyle5.95.9
typography.fontWeight5.95.9
typography.letterSpacing5.95.9
typography.lineHeight5.85.9
typography.textDecoration5.96.2
typography.textTransform5.96.0
spacing.padding5.95.9
spacing.padding.top5.85.9
spacing.padding.right5.85.9
spacing.padding.left5.85.9
spacing.padding.bottom5.85.9
spacing.margin5.95.9
spacing.margin.top5.85.9
spacing.margin.right5.85.9
spacing.margin.left5.85.9
spacing.margin.bottom5.85.9
spacing.blockGap5.95.9
dimensions.minHeight6.2N/A
outline.color6.2N/A
outline.offset6.2N/A
outline.style6.2N/A
outline.width6.2N/A
filter.duotone5.9N/A
shadow6.16.2

最終更新日: