🔧 migrate global settings to theme.json (#2964)
This commit is contained in:
38
theme.json
Normal file
38
theme.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||
"version": 2,
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"slug": "primary",
|
||||
"color": "#525ddc",
|
||||
"name": "Primary"
|
||||
}
|
||||
],
|
||||
"custom": false,
|
||||
"customGradient": false
|
||||
},
|
||||
"custom": {
|
||||
"spacing": {},
|
||||
"typography": {
|
||||
"font-size": {},
|
||||
"line-height": {}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"padding": true,
|
||||
"units": [
|
||||
"px",
|
||||
"%",
|
||||
"em",
|
||||
"rem",
|
||||
"vw",
|
||||
"vh"
|
||||
]
|
||||
},
|
||||
"typography": {
|
||||
"customFontSize": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user