-
-
Save mkdizajn/0336f0676a47cc27a3a2841ce9d9683b 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