ThemesCorners
Back to glossary

theme.json

The central configuration file for a block theme's colours, fonts, spacing, and layout.

theme.json replaces many style-config PHP files that used to be scattered around. The editor reads it to show colour palettes, font sizes, and layout options that match the public layout. It's also the canonical place to register patterns and starter templates.

Related terms