@@ -257,7 +257,7 @@ input[type=checkbox] + label {
}
.wp-block-code code {
- font-family: var(--wp--preset--font-family--code);
+ font-family: var(--wp--custom--code--typography--font-family);
.wp-block-gallery .blocks-gallery-image figcaption,
@@ -85,11 +85,6 @@
"fontFamily": "var(--font-headings, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif)",
"slug": "headings",
"name": "Headings"
- },
- {
- "fontFamily": "monospace",
- "slug": "code",
- "name": "Code"
]
},
@@ -180,7 +175,7 @@
"code": {
"typography": {
- "fontFamily": "var(--wp--preset--font-family--code)"
+ "fontFamily": "monospace"
"quote": {
@@ -0,0 +1,4 @@
+// TODO: This can be removed when Gutenberg applies fontFamily correcly to .wp-block-code code
+.wp-block-code code {
+}