Skip to content

Commit

Permalink
Blockbase: Move block styles to theme.json
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Jun 28, 2021
1 parent c562229 commit f82c2b1
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 14 deletions.
1 change: 0 additions & 1 deletion blockbase/assets/ponyfill.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion blockbase/sass/blocks/_list.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ul,
ol {
font-family: var(--wp--custom--list--typography--font-family);
padding-left: var(--wp--custom--list--spacing--padding--left);
}
3 changes: 0 additions & 3 deletions blockbase/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@
}
},
"list": {
"typography": {
"fontFamily": "var(--wp--custom--body--typography--font-family)"
},
"spacing": {
"padding": {
"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"
Expand Down
3 changes: 0 additions & 3 deletions mayland-blocks/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@
}
},
"list": {
"typography": {
"fontFamily": "var(--wp--custom--body--typography--font-family)"
},
"spacing": {
"padding": {
"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"
Expand Down
3 changes: 0 additions & 3 deletions quadrat/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@
}
},
"list": {
"typography": {
"fontFamily": "var(--wp--custom--body--typography--font-family)"
},
"spacing": {
"padding": {
"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"
Expand Down
2 changes: 2 additions & 0 deletions seedlet-blocks/assets/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions seedlet-blocks/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@
}
},
"list": {
"typography": {
"fontFamily": "var(--wp--custom--body--typography--font-family)"
},
"spacing": {
"padding": {
"left": "calc( 2 * var(--wp--custom--margin--horizontal) )"
Expand Down

0 comments on commit f82c2b1

Please sign in to comment.