define more block styles

This commit is contained in:
2025-04-02 16:58:02 +05:00
parent 903e2c150a
commit ed50a5a34b

View File

@ -2,6 +2,7 @@
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"settings": {
"useRootPaddingAwareAlignments": true,
"appearanceTools": true,
"color": {
"defaultDuotone": false,
@ -202,7 +203,7 @@
"fluid": false,
"name": "medium",
"size": "16px",
"slug": "small"
"slug": "medium"
},
{
"fluid": false,
@ -219,13 +220,72 @@
}
},
"styles": {
"spacing": {
"padding": {
"top": "0",
"bottom": "0",
"left": "0",
"right": "0"
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--sora)",
"fontSize": "var(--wp--preset--font-size--medium)"
"fontWeight": "300",
"fontSize": "var(--wp--preset--font-size--standard)"
},
"blocks": {
"core/image": {
"border": {
"color": "#FFF",
"width": "1px",
"style": "solid",
"radius": "12px"
}
},
"core/heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--eb-garamond)",
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontWeight": "700",
"lineHeight": "1.0"
}
},
"core/paragraph": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--sora)",
"fontWeight": "300",
"fontSize": "var(--wp--preset--font-size--standard)"
}
},
"core/button": {
"color": {
"background": "transparent",
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textTransform": "uppercase",
"fontFamily": "var(--wp--preset--font-family--jura)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "700"
},
"border": {
"width": "1px",
"style": "solid",
"radius": "0.85em"
},
"spacing": {
"padding": {
"bottom": ".5em",
"top": ".5em",
"left": ".75em",
"right": ".75em"
}
}
}
}
},
"templateParts": [