define caption styles

This commit is contained in:
Aadil Ayub 2024-05-30 14:12:16 +05:00
parent e5c230a1fa
commit 2e6a673bee

View File

@ -542,6 +542,21 @@
} }
} }
}, },
"css": "figcaption.wp-element-caption {\n display: inline-block;\n margin: 0;\n padding: 8px 12px;\n}",
"elements": {
"caption": {
"color": {
"background": "var(--wp--preset--color--black)",
"text": "var(--wp--preset--color--white)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--commit-mono)",
"fontSize": "12px",
"fontWeight": "525",
"lineHeight": "1.45"
}
}
},
"typography": { "typography": {
"fontFamily": "sans-serif" "fontFamily": "sans-serif"
} }