When styling blocks, you should always do so via the theme.json styles property if possible. This ensures that your styles have the best…| WordPress Developer Resources
Learn how to create custom block styles in WordPress using theme.json, PHP, or JavaScript—perfect for theme and plugin developers targeting the block editor.| WordPress.com News
Block style variations (block styles, for short) let you create alternate styles for individual blocks. Registered styles appear in the user…| WordPress Developer Resources
This is the living specification for version 3 of theme.json. This version works with WordPress 6.6 or later, and the latest Gutenberg plugin.| WordPress Developer Resources
The Block Variations API allows you to define multiple versions (variations) of a block. A block variation differs from the original block…| WordPress Developer Resources
Block Styles allow alternative styles to be applied to existing blocks. They work by adding a className to the block's wrapper. This…| WordPress Developer Resources