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 Apr 13, 2020
1 parent 0463af8 commit 7f69226
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const settings = {
],
supports: {
className: false,
__experimentalColor: 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 "./paragraph/style.scss";
Expand Down

0 comments on commit 7f69226

Please sign in to comment.