80e036574b
Refactor/blockbase color admin (#6043) Moved templates from old folder location to new (#6073) Blockbase: Implement the Button elements API (#6041) Blockbase: Implement Comment Block and removed CSS (#6080) Fix/migrate blockbase font self hosted (#6123) Blockbase children: update comments block (#6153) Blockbase: Changed the trigger to render social icons (#6079) Blockbase: move button padding styles from ponyfill to theme.json (#5901) Co-authored-by: Grant Kinney <hi@grant.mk> Co-authored-by: Jeremy Yip <jeremy.yip@automattic.com> Co-authored-by: MaggieCabrera <maggie.cabrera@automattic.com> Co-authored-by: madhusudhand <madhusudhan.dollu@gmail.com>
216 lines
4.3 KiB
JSON
216 lines
4.3 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/theme-v1.json",
|
|
"version": 1,
|
|
"templateParts": [
|
|
{
|
|
"name": "header",
|
|
"area": "header"
|
|
},
|
|
{
|
|
"name": "footer",
|
|
"area": "footer"
|
|
},
|
|
{
|
|
"name": "post-meta",
|
|
"area": "Post Meta"
|
|
}
|
|
],
|
|
"settings": {
|
|
"color": {
|
|
"gradients": [
|
|
{
|
|
"slug": "hard-diagonal",
|
|
"gradient": "linear-gradient(to bottom right, #3C8067 49.9%, #FAFBF6 50%)",
|
|
"name": "Hard diagonal"
|
|
},
|
|
{
|
|
"slug": "hard-diagonal-inverted",
|
|
"gradient": "linear-gradient(to top left, #3C8067 49.9%, #FAFBF6 50%)",
|
|
"name": "Hard diagonal inverted"
|
|
},
|
|
{
|
|
"slug": "hard-horizontal",
|
|
"gradient": "linear-gradient(to bottom, #3C8067 50%, #FAFBF6 50%)",
|
|
"name": "Hard horizontal"
|
|
},
|
|
{
|
|
"slug": "hard-horizontal-inverted",
|
|
"gradient": "linear-gradient(to top, #3C8067 50%, #FAFBF6 50%)",
|
|
"name": "Hard horizontal inverted"
|
|
},
|
|
{
|
|
"slug": "diagonal",
|
|
"gradient": "linear-gradient(to bottom right, #3C8067, #FAFBF6)",
|
|
"name": "Diagonal"
|
|
},
|
|
{
|
|
"slug": "diagonal-inverted",
|
|
"gradient": "linear-gradient(to top left, #3C8067, #FAFBF6)",
|
|
"name": "Diagonal inverted"
|
|
},
|
|
{
|
|
"slug": "horizontal",
|
|
"gradient": "linear-gradient(to bottom, #3C8067, #FAFBF6)",
|
|
"name": "Horizontal"
|
|
},
|
|
{
|
|
"slug": "horizontal-inverted",
|
|
"gradient": "linear-gradient(to top, #3C8067, #FAFBF6)",
|
|
"name": "Horizontal inverted"
|
|
},
|
|
{
|
|
"slug": "stripe",
|
|
"gradient": "linear-gradient(to bottom, transparent 20%, #3C8067 20%, #3C8067 80%, transparent 80%)",
|
|
"name": "Stripe"
|
|
}
|
|
],
|
|
"palette": [
|
|
{
|
|
"slug": "primary",
|
|
"color": "#3C8067",
|
|
"name": "Primary"
|
|
},
|
|
{
|
|
"slug": "secondary",
|
|
"color": "#336D58",
|
|
"name": "Secondary"
|
|
},
|
|
{
|
|
"slug": "foreground",
|
|
"color": "#333333",
|
|
"name": "Foreground"
|
|
},
|
|
{
|
|
"slug": "background",
|
|
"color": "#ffffff",
|
|
"name": "Background"
|
|
},
|
|
{
|
|
"slug": "tertiary",
|
|
"color": "#FAFBF6",
|
|
"name": "tertiary"
|
|
}
|
|
]
|
|
},
|
|
"custom": {
|
|
"button": {
|
|
"border": {
|
|
"color": "var(--wp--custom--color--primary)"
|
|
},
|
|
"hover": {
|
|
"color": {
|
|
"background": "var(--wp--custom--color--secondary)"
|
|
},
|
|
"border": {
|
|
"color": "var(--wp--custom--color--secondary)"
|
|
}
|
|
}
|
|
},
|
|
"latest-posts": {
|
|
"meta": {
|
|
"color": {
|
|
"text": "var(--wp--custom--color--foreground)"
|
|
}
|
|
}
|
|
},
|
|
"gap": {
|
|
"baseline": "10px",
|
|
"horizontal": "25px",
|
|
"vertical": "30px"
|
|
},
|
|
"pullquote": {
|
|
"citation": {
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "20px"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"contentSize": "620px",
|
|
"wideSize": "790px"
|
|
},
|
|
"typography": {
|
|
"customFontSize": true,
|
|
"customLineHeight": true,
|
|
"fontSizes": [
|
|
{
|
|
"name": "Small",
|
|
"slug": "small",
|
|
"size": "1rem"
|
|
},
|
|
{
|
|
"name": "Medium",
|
|
"slug": "medium",
|
|
"size": "1.125rem"
|
|
},
|
|
{
|
|
"name": "Large",
|
|
"slug": "large",
|
|
"size": "1.5rem"
|
|
},
|
|
{
|
|
"name": "Extra Large",
|
|
"slug": "x-large",
|
|
"size": "1.75rem"
|
|
}
|
|
],
|
|
"spacing": {
|
|
"customPadding": true,
|
|
"units": [ "px", "em", "rem", "vh", "vw" ]
|
|
}
|
|
}
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/heading": {
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|playfair-display"
|
|
}
|
|
},
|
|
"core/post-title": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-large)",
|
|
"fontFamily": "var:preset|font-family|playfair-display"
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"border": {
|
|
"style": "none"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"left": 0,
|
|
"right": 0,
|
|
"top": "var(--wp--custom--gap--vertical)",
|
|
"bottom": "var(--wp--custom--gap--vertical)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "2rem",
|
|
"fontStyle": "italic",
|
|
"lineHeight": "1.3"
|
|
}
|
|
},
|
|
"core/separator": {
|
|
"color": {
|
|
"text": "#EFEFEF"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"color": {
|
|
"link": "var(--wp--custom--color--primary)"
|
|
},
|
|
"typography": {
|
|
"fontSize": "3.4375rem"
|
|
}
|
|
}
|
|
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|fira-sans"
|
|
}
|
|
}
|
|
}
|