Last active
November 18, 2021 20:14
-
-
Save ryanwelcher/25f26761d5de6ef614eef71c16e7790b to your computer and use it in GitHub Desktop.
WordPress 5.9 Theme.json color 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": { | |
| "color": { | |
| "background": true, | |
| "coreGradients": true, | |
| "corePalette": true, | |
| "text": true, | |
| "palette": [ | |
| { | |
| "name": "Black", | |
| "slug": "black", | |
| "color": "#000000" | |
| } | |
| ] | |
| }, | |
| "blocks": { | |
| "core/button": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false, | |
| "palette": [ | |
| { | |
| "name": "Blue", | |
| "slug": "blue", | |
| "color": "blue" | |
| } | |
| ] | |
| } | |
| }, | |
| "core/code": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/column": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/columns": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/comment-author-name": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/comment-date": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/comment-content": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/comment-edit-link": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/comment-reply-link": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/group" :{ | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/list": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/media-text": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/navigation": { | |
| "color": { | |
| "corePalette": false | |
| } | |
| }, | |
| "core/paragraph": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-author": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-comments": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-comments-count": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-comments-form": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-comments-link": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-date": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-excerpt": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-terms": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/post-title": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/preformatted": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/pullquote": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": 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 | |
| } | |
| }, | |
| "core/query-pagination-previous": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/query-title": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/quote": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/search": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/separator": { | |
| "color": { | |
| "corePalette": false | |
| } | |
| }, | |
| "core/site-tagline": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/site-title": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": false | |
| } | |
| }, | |
| "core/social-links": { | |
| "color": { | |
| "corePalette": false | |
| } | |
| }, | |
| "core/table": { | |
| "color": { | |
| "background": false, | |
| "coreGradients": false, | |
| "corePalette": false, | |
| "text": 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 | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment