Cheat Sheet: Every setting that you can remove using theme.json

Level: ,

Last updated

Below is a code example of every setting that you can remove using theme.json:

{
	"version": 2,
	"settings": {
		"appearanceTools": false,
		"border": {
			"color": false,
			"radius": false,
			"style": false,
			"width": false
		},
		"color": {
			"text": false,
			"background": false,
			"link": false,
			"custom": false,
			"customDuotone": false,
			"customGradient": false,
			"defaultDuotone": false,
			"defaultGradients": false,
			"defaultPalette": false
		},
		"dimensions": {
			"minHeight": false
		}
		"layout": {
			"contentSize": null,
			"wideSize": null
		},
		"position": {
			"sticky": false,
		},
		"spacing": {
			"blockGap": null,
			"margin": false,
			"padding": false,
			"units": [],
			"customSpacingSize": false,
			"spacingScale": [],
		},
		"shadow": {
			"defaultPresets": false
		},
		"typography": {
			"fluid": false,
			"customFontSize": false,
			"fontStyle": false,
			"fontWeight": false,
			"letterSpacing": false,
			"lineHeight": false,
			"textDecoration": false,
			"textTransform": false,
			"dropCap": false,
			"fontSizes": [],
			"fontFamilies": []
		},
		"useRootPaddingAwareAlignments": false
	}
}

To disable the “Inherit default layout” setting for container blocks like group, remove the

"layout": {
	"contentSize": null,
	"wideSize": null
},