define more block styles
This commit is contained in:
64
theme.json
64
theme.json
@ -2,6 +2,7 @@
|
|||||||
"version": 3,
|
"version": 3,
|
||||||
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"useRootPaddingAwareAlignments": true,
|
||||||
"appearanceTools": true,
|
"appearanceTools": true,
|
||||||
"color": {
|
"color": {
|
||||||
"defaultDuotone": false,
|
"defaultDuotone": false,
|
||||||
@ -202,7 +203,7 @@
|
|||||||
"fluid": false,
|
"fluid": false,
|
||||||
"name": "medium",
|
"name": "medium",
|
||||||
"size": "16px",
|
"size": "16px",
|
||||||
"slug": "small"
|
"slug": "medium"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fluid": false,
|
"fluid": false,
|
||||||
@ -219,13 +220,72 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"styles": {
|
"styles": {
|
||||||
|
"spacing": {
|
||||||
|
"padding": {
|
||||||
|
"top": "0",
|
||||||
|
"bottom": "0",
|
||||||
|
"left": "0",
|
||||||
|
"right": "0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"background": "var(--wp--preset--color--background)",
|
"background": "var(--wp--preset--color--background)",
|
||||||
"text": "var(--wp--preset--color--foreground)"
|
"text": "var(--wp--preset--color--foreground)"
|
||||||
},
|
},
|
||||||
"typography": {
|
"typography": {
|
||||||
"fontFamily": "var(--wp--preset--font-family--sora)",
|
"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": [
|
"templateParts": [
|
||||||
|
|||||||
Reference in New Issue
Block a user