Created
February 8, 2022 17:30
-
-
Save ryanwelcher/25ad8704b03233d7696425bf7559ec0f to your computer and use it in GitHub Desktop.
When adding theme.json to an existing Classic Theme, these settings will stop the default color and typography controls from being enabled.
This file contains 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": "http://schemas.wp.org/trunk/theme.json", | |
"version": 2, | |
"settings": { | |
"layout": { | |
"contentSize": "750px" | |
}, | |
"color": { | |
"background": false, | |
"custom": false, | |
"customDuotone": false, | |
"customGradient": false, | |
"defaultGradients": false, | |
"defaultPalette": false, | |
"text": false | |
}, | |
"typography": { | |
"customFontSize": false, | |
"dropCap": false, | |
"fontStyle": false, | |
"fontWeight": false, | |
"letterSpacing": false, | |
"lineHeight": false, | |
"textDecoration": false, | |
"textTransform": false | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment