You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0c5ea30
Browse filesBrowse the repository at this point in the historyBrowse files
Introduces the underlying support for a new backgroundClip property in
the block supports system, style engine, and theme.json schema without
exposing any editor UI controls.
The setting is not an appearance tools opt-in. Themes that want the
control must set settings.background.backgroundClip explicitly.
Copy file name to clipboardExpand all lines: docs/reference-guides/theme-json-reference/theme-json-living.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ Settings related to background.
62
62
| backgroundImage | Allow users to set a background image. |`boolean`|`false`|
63
63
| backgroundSize | Allow users to set values related to the size of a background image, including size, position, and repeat controls. |`boolean`|`false`|
64
64
| gradient | Allow users to set a gradient background. |`boolean`|`false`|
65
+
| backgroundClip | Allow users to set background clip. Pass true for all methods, or an array of CSS values: ["text", "padding-box", "border-box", "content-box"]. |`boolean`, `[ string ]`||
0 commit comments