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 Feb 16, 2021
1 parent 0a51f71 commit 69f1972
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tt1-blocks/experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,26 @@
"fontSize": "var(--wp--preset--font-size--extra-small)",
"lineHeight": "var(--wp--custom--line-height--body)"
}
},
"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 69f1972

Please sign in to comment.