Skip to content

Commit

Permalink
Group Block: Add border radius (#27665)
Browse files Browse the repository at this point in the history
* Add border radius to group block
* Update theme-json docs for group border radius
  • Loading branch information
aaronrobertshaw authored Jan 11, 2021
1 parent 6b8bf91 commit 5453288
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/designers-developers/developers/themes/theme-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,12 @@ h4 {
}
```

#### Border Properties

| Context | Radius |
| --- | --- |
| Group | Yes |

#### Color Properties

These are the current color properties supported by blocks:
Expand Down
3 changes: 3 additions & 0 deletions packages/block-library/src/group/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
},
"spacing": {
"padding": true
},
"__experimentalBorder": {
"radius": true
}
},
"editorStyle": "wp-block-group-editor",
Expand Down

0 comments on commit 5453288

Please sign in to comment.