Created
November 16, 2021 19:41
-
-
Save ryanwelcher/6cb62cb79af121497ebd47a85ec3e05f to your computer and use it in GitHub Desktop.
WordPress 5.9 Theme.json typography support and block level overrides.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://schemas.wp.org/trunk/theme.json", | |
| "version": 1, | |
| "settings": { | |
| "typography": { | |
| "fontFamilies": [ | |
| { | |
| "fontFamily": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif", | |
| "slug": "system-fonts", | |
| "name": "System fonts" | |
| }, | |
| { | |
| "fontFamily": "Helvetica Neue, Helvetica, Arial, sans-serif", | |
| "slug": "helvetica-arial", | |
| "name": "Helvetica or Arial" | |
| } | |
| ], | |
| "fontStyle": true, | |
| "fontWeight": true, | |
| "letterSpacing": true, | |
| "textDecoration": true, | |
| "textTransform": true | |
| }, | |
| "blocks": { | |
| "core/button": { | |
| "typography": { | |
| "fontFamilies": [] | |
| } | |
| }, | |
| "core/code": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/comment-author-name": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/comment-date": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/comment-content": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/comment-edit-link": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/comment-reply-link": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/list": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/navigation": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false, | |
| "textDecoration": false | |
| } | |
| }, | |
| "core/paragraph": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false, | |
| "textDecoration": false | |
| } | |
| }, | |
| "core/post-author": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/post-comments": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/post-comments-count": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false | |
| } | |
| }, | |
| "core/post-comments-form": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/post-comments-link": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/post-date": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/post-excerpt": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/post-terms": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/post-title": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/preformatted": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/pullquote": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/query-pagination-next": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/query-pagination-previous": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/query-title": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/quote": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/site-tagline": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/site-title": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/table": { | |
| "typography": { | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| }, | |
| "core/verse": { | |
| "typography": { | |
| "fontFamilies": [], | |
| "fontStyle": false, | |
| "fontWeight": false, | |
| "letterSpacing": false, | |
| "textTransform": false | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment