Skip to content

Commit

Permalink
Issue #44 - add layout contentSize and wideSize. Remove overrides to …
Browse files Browse the repository at this point in the history
…core styles. This version didn't produce a syntax error!
  • Loading branch information
bobbingwide committed Apr 11, 2021
1 parent 17ec6a4 commit 00020f5
Showing 1 changed file with 9 additions and 136 deletions.
145 changes: 9 additions & 136 deletions experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,146 +169,19 @@
"spacing": {
"customPadding": true
},
"layout": {
"contentSize": "1140px",
"wideSize": "1340px"
}
},
"styles": {
"root": {
"color": {
"background": "var( --wp--preset--color--background )",
"text": "var( --wp--preset--color--foreground )",
"link": "var( --wp--preset--color--greeny)"
}
},
"core/paragraph": {
"color": {
"link": "var( --wp--preset--color--greeny )",
"text": "var( --wp--preset--color--foreground )"
},
"typography": {
"customFontWeight": true,
"customFontStyle": true,
"fontSize": "var( --wp--preset--font-size--normal )"
}
},
"core/heading/h1": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
},
"typography": {
"fontSize": "var( --wp--preset--font-size--largest )"
}
}
},
"core/heading/h2": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
},
"typography": {
"fontSize": "var( --wp--preset--font-size--larger )"
}
}
},
"core/heading/h3": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
},
"typography": {
"fontSize": "var( --wp--preset--font-size--large )",
"lineHeight": 1.2
}
}
},
"core/heading/h4": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
},
"typography": {
"fontSize": "var( --wp--preset--font-size--medium )",
"lineHeight": 1.2
}
}
},
"core/heading/h5": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
},
"typography": {
"fontSize": "var( --wp--preset--font-size--normal )",
"lineHeight": 1.2
}
"layout": {
"contentSize": "1140px",
"wideSize": "1340px"
}
},
"core/heading/h6": {
"styles": {
"styles": {
"root": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
"background": "var( --wp--preset--color--background )",
"text": "var( --wp--preset--color--foreground )",
"link": "var( --wp--preset--color--link)"
},
"typography": {
"fontSize": "var( --wp--preset--font-size--small )",
"lineHeight": 1.2
}
}
},
"core/columns": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
}
}
},
"core/group": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
}
}
},
"core/media-text": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
}
}
},
"core/excerpt": {
"styles": {
"color": {
"link": "var( --wp--preset--color--primary )",
"text": "var( --wp--preset--color--foreground )"
}
}
},
"core/post-title": {
"styles": {
"typography": {
"fontSize": "var( --wp--preset--font-size--normal )",
"lineHeight": 1.2
}
}
},
"core/post-date": {
"styles": {
"typography": {
"fontSize": "var( --wp--preset--font-size--small )",
"lineHeight": 1.2
}
"typography": {}
}
}
}
Expand Down

0 comments on commit 00020f5

Please sign in to comment.