Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group Block: Add support for custom border settings #29591

Merged
merged 2 commits into from
Mar 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/designers-developers/developers/themes/theme-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ By using the `experimental-theme.json` file to set style properties in a structu

Some of the advantages are:

- Reduce the amount of CSS enqueued.
- Reduce the amount of CSS enqueued.
- Prevent specificity wars.

### CSS Custom Properties
Expand Down Expand Up @@ -403,10 +403,10 @@ The `defaults` block selector can't be part of the `styles` section and will be

#### Border Properties

| Block | Radius |
| --- | --- |
| Group | Yes |
| Image | Yes |
| Block | Color | Radius | Style | Width |
| --- | --- | --- | --- | --- |
| Group | Yes | Yes | Yes | Yes |
| Image | Yes | - | - | - |

#### Color Properties

Expand Down
5 changes: 4 additions & 1 deletion packages/block-library/src/group/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
"padding": true
},
"__experimentalBorder": {
"radius": true
"color": true,
"radius": true,
"style": true,
"width": true
}
},
"editorStyle": "wp-block-group-editor",
Expand Down