

What it writes
A quieter hero, a magazine layout for the posts list, a bolder promotion: pnpm make:block-style adds the style to the block’s style select, for apex-rsc-blocks’ blocks, the site’s own Posts list or a block package’s. CSS-only, it writes a stylesheet that lists the block’s own tokens, ready to change; with --template, it writes a component of its own that starts from the block’s data, with its CSS. It can make the style the block’s default and hide the styles the project doesn’t want.
Safe by default
A name the block already has, a block the site doesn’t have, or hiding the default stops it before anything is written. Then it runs the type check and the site’s start-up checks. Run again with --force, it rewrites its files only while nobody has edited them.
Or ask for it
With Claude Code, the apex-make-block-style skill lists the block’s styles, asks what it needs, runs it, then offers to write the CSS or the template. The Block styles page under Features and Theming shows the command; the README sections “Project block styles” and “Generators” have the details.
pnpm make:block-style hero split --template --default --hide inverted \
--prefix acme --label en=Split --dry-runBlock styles, in the demo
Every block in each of its styles.