Skip to content

Commit

Permalink
Supply default style values for code block
Browse files Browse the repository at this point in the history
Supplied typeography, padding and border style values for code block
style defaults
  • Loading branch information
pbking committed Apr 29, 2021
1 parent 08b86b0 commit 50b87cd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tt1-blocks/experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,25 @@
"fontWeight": "var(--wp--custom--font-weight--normal)",
"textTransform": "uppercase"
}
},
"core/code": {
"typography": {
"fontSize": "var(--wp--preset--font-size--extra-small)"
},
"spacing": {
"padding": {
"top": "var(--wp--custom--spacing--unit)",
"bottom": "var(--wp--custom--spacing--unit)",
"left": "var(--wp--custom--spacing--unit)",
"right": "var(--wp--custom--spacing--unit)"
}
},
"border": {
"radius": "0px",
"color": "var(--wp--preset--color--dark-gray)",
"style": "solid",
"width": "1.5px"
}
}
},
"customTemplates": [
Expand Down

0 comments on commit 50b87cd

Please sign in to comment.