Skip to content

Commit

Permalink
List block: add color controls.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebulanStanphill committed Jul 16, 2020
1 parent 79271eb commit aac320a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/block-library/src/list/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"source": "html",
"selector": "ol,ul",
"multiline": "li",
"__unstableMultilineWrapperTags": [
"ol",
"ul"
],
"__unstableMultilineWrapperTags": [ "ol", "ul" ],
"default": ""
},
"type": {
Expand All @@ -30,6 +27,9 @@
"supports": {
"anchor": true,
"className": false,
"__experimentalColor": {
"gradients": true
},
"__unstablePasteTextInline": true,
"lightBlockWrapper": true
}
Expand Down
4 changes: 4 additions & 0 deletions packages/block-library/src/list/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ol.has-background,
ul.has-background {
padding: $block-bg-padding--v $block-bg-padding--h;
}
1 change: 1 addition & 0 deletions packages/block-library/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
@import "./image/style.scss";
@import "./latest-comments/style.scss";
@import "./latest-posts/style.scss";
@import "./list/style.scss";
@import "./media-text/style.scss";
@import "./navigation/style.scss";
@import "./navigation-link/style.scss";
Expand Down

0 comments on commit aac320a

Please sign in to comment.