Skip to content

Commit

Permalink
updated theme.json to fit new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera committed Feb 15, 2021
1 parent f7f94bf commit 4286238
Showing 1 changed file with 33 additions and 52 deletions.
85 changes: 33 additions & 52 deletions mayland-blocks/experimental-theme.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"global": {
"settings": {
"settings": {
"defaults": {
"color": {
"gradients": [ ],
"palette": [
Expand Down Expand Up @@ -107,96 +107,77 @@
"wide": "1022px"
}
}
},
"styles": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)",
"link": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": "var(--wp--custom--line-height--body)",
"fontFamily": "var(--wp--preset--font-family--poppins)"
}
}
},
"core/heading/h1": {
"styles": {
"styles": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)",
"link": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": "var(--wp--custom--line-height--body)",
"fontFamily": "var(--wp--preset--font-family--poppins)"
},

"core/heading/h1": {
"typography": {
"fontSize": "41.47px",
"lineHeight": "var(--wp--custom--line-height--headings)"
}
}
},
"core/heading/h2": {
"styles": {
},
"core/heading/h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": "var(--wp--custom--line-height--headings)"
}
}
},
"core/heading/h3": {
"styles": {
},
"core/heading/h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": "var(--wp--custom--line-height--headings)"
}
}
},
"core/heading/h4": {
"styles": {
},
"core/heading/h4": {
"typography": {
"fontSize": "24px",
"lineHeight": "var(--wp--custom--line-height--headings)"
}
}
},
"core/heading/h5": {
"styles": {
},
"core/heading/h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": "var(--wp--custom--line-height--headings)"
}
}
},
"core/heading/h6": {
"styles": {
},
"core/heading/h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "var(--wp--custom--line-height--headings)"
}
}
},
"core/post-title/h1": {
"styles": {
},
"core/post-title/h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": "var(--wp--custom--line-height--headings)"
}
}
},
"core/post-date": {
"styles": {
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground-light)",
"link": "var(--wp--preset--color--foreground-light)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
}
},
"core/site-title": {
"styles": {
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
}
},
"core/navigation": {
"styles": {
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
Expand Down

0 comments on commit 4286238

Please sign in to comment.