Skip to content

Instantly share code, notes, and snippets.

@ryanwelcher
Last active November 18, 2021 20:14
Show Gist options
  • Save ryanwelcher/2ce28ebb6e47245f6dfc1c6517564767 to your computer and use it in GitHub Desktop.
Save ryanwelcher/2ce28ebb6e47245f6dfc1c6517564767 to your computer and use it in GitHub Desktop.
WordPress 5.9 Theme.json all properties and block level overrides.
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 1,
"settings": {
"spacing": {
"blockGap": true
},
"border": {
"radius": true,
"color": true,
"style": true,
"width": true
},
"color": {
"background": true,
"coreGradients": true,
"corePalette": true,
"text": true,
"palette": [
{
"name": "Black",
"slug": "black",
"color": "#000000"
}
]
},
"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": {
"border": {
"radius": false
},
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": []
}
},
"core/buttons": {
"spacing": {
"blockGap": false
}
},
"core/code": {
"border":{
"radius": false,
"color": false,
"style": false,
"width": false
},
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/column": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
}
},
"core/columns": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"spacing": {
"blockGap": false
}
},
"core/comment-author-avatar": {
"border":{
"radius": false,
"color": false,
"style": false,
"width": false
}
},
"core/comment-author-name": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/comment-date": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/comment-content": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/comment-edit-link": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/comment-reply-link": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/group" :{
"border":{
"radius": false,
"color": false,
"style": false,
"width": false
},
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
}
},
"core/image" :{
"border":{
"radius": false
}
},
"core/list": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/media-text": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
}
},
"core/navigation": {
"color": {
"corePalette": false
},
"spacing": {
"blockGap": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false,
"textDecoration": false
}
},
"core/paragraph": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false,
"textDecoration": false
}
},
"core/post-author": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/post-comments": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/post-comments-count": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false
}
},
"core/post-comments-form": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/post-comments-link": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/post-date": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/post-excerpt": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/post-terms": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/post-title": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/preformatted": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/pullquote": {
"border":{
"radius": false,
"color": false,
"style": false
},
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/query": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
}
},
"core/query-pagination-next": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/query-pagination-previous": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/query-title": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/quote": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/search": {
"border":{
"radius": false,
"color": false
}
},
"core/separator": {
"color": {
"corePalette": false
}
},
"core/site-tagline": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/site-title": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontFamilies": [],
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/social-links": {
"color": {
"corePalette": false
},
"spacing": {
"blockGap": false
}
},
"core/table": {
"border":{
"color": false,
"style": false,
"width": false
},
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"typography": {
"fontStyle": false,
"fontWeight": false,
"letterSpacing": false,
"textTransform": false
}
},
"core/template-part": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
}
},
"core/term-description": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
}
},
"core/verse": {
"color": {
"background": false,
"coreGradients": false,
"corePalette": false,
"text": false
},
"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