theme: add typography styles

This commit is contained in:
desmukh 2023-01-18 14:29:28 +05:00
parent 91ad61a917
commit 8fff4a1564
1 changed files with 19 additions and 1 deletions

View File

@ -93,7 +93,8 @@
},
"styles": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--karmilla)"
"fontFamily": "var(--wp--preset--font-family--karmilla)",
"fontSize": "21px"
},
"color": {
"background": "var(--wp--preset--color--background)",
@ -113,6 +114,23 @@
"fontWeight": "600",
"textTransform": "uppercase"
}
},
"core/heading": {
"elements": {
"h1": {
"typography": {
"fontSize": "44px",
"fontWeight": "400",
"lineHeight": "0.9"
}
},
"h2": {
"typography": {
"fontSize": "14px",
"textTransform": "uppercase"
}
}
}
}
}
},