define paragraph and heading styles

This commit is contained in:
Aadil Ayub 2024-05-30 13:45:59 +05:00
parent eded876dea
commit e5c230a1fa

View File

@ -510,6 +510,38 @@
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/heading": {
"color": {
"text": "var(--wp--preset--color--black)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--black)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-sans-condensed)",
"fontSize": "var(--wp--preset--font-size--huge)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-1.12px",
"lineHeight": "1.0"
}
},
"core/paragraph": {
"color": {
"text": "var(--wp--preset--color--black)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.45"
}
}
},
"typography": {
"fontFamily": "sans-serif"
}