theme: add typography styles
This commit is contained in:
parent
91ad61a917
commit
8fff4a1564
20
theme.json
20
theme.json
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user