Skip to content

Commit b452848

Browse files
Theme docs: Update appearance-tools docs to reflect opt-in for backgroundSize and aspectRatio (#59165)
Co-authored-by: andrewserong <andrewserong@git.wordpress.org> Co-authored-by: fabiankaegy < fabiankaegy@git.wordpress.org>
1 parent 99bbbe5 commit b452848

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/how-to-guides/themes/global-settings-and-styles.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,10 @@ Note, however, that not all settings are relevant for all blocks. The settings s
294294

295295
There's one special setting property, `appearanceTools`, which is a boolean and its default value is false. Themes can use this setting to enable the following ones:
296296

297-
- background: backgroundImage
297+
- background: backgroundImage, backgroundSize
298298
- border: color, radius, style, width
299299
- color: link
300-
- dimensions: minHeight
300+
- dimensions: aspectRatio, minHeight
301301
- position: sticky
302302
- spacing: blockGap, margin, padding
303303
- typography: lineHeight

docs/reference-guides/theme-json-reference/theme-json-living.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Code editors can pick up the schema and can provide helpful hints and suggestion
3131

3232
Setting that enables the following UI tools:
3333

34-
- background: backgroundImage
34+
- background: backgroundImage, backgroundSize
3535
- border: color, radius, style, width
3636
- color: link
3737
- dimensions: aspectRatio, minHeight

schemas/json/theme.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"type": "object",
2121
"properties": {
2222
"appearanceTools": {
23-
"description": "Setting that enables the following UI tools:\n\n- background: backgroundImage\n- border: color, radius, style, width\n- color: link\n- dimensions: aspectRatio, minHeight\n- position: sticky\n- spacing: blockGap, margin, padding\n- typography: lineHeight",
23+
"description": "Setting that enables the following UI tools:\n\n- background: backgroundImage, backgroundSize\n- border: color, radius, style, width\n- color: link\n- dimensions: aspectRatio, minHeight\n- position: sticky\n- spacing: blockGap, margin, padding\n- typography: lineHeight",
2424
"type": "boolean",
2525
"default": false
2626
}

0 commit comments

Comments
 (0)