define paragraph and heading styles
This commit is contained in:
parent
eded876dea
commit
e5c230a1fa
32
theme.json
32
theme.json
@ -510,6 +510,38 @@
|
|||||||
"useRootPaddingAwareAlignments": true
|
"useRootPaddingAwareAlignments": true
|
||||||
},
|
},
|
||||||
"styles": {
|
"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": {
|
"typography": {
|
||||||
"fontFamily": "sans-serif"
|
"fontFamily": "sans-serif"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user