generate basic block theme with color palette
This commit is contained in:
59
theme.json
Normal file
59
theme.json
Normal file
@ -0,0 +1,59 @@
|
||||
{
|
||||
"version": 2,
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"color": {
|
||||
"defaultPalette": false,
|
||||
"defaultGradients": false,
|
||||
"defaultDuotone": false,
|
||||
"palette": [
|
||||
{
|
||||
"slug": "background",
|
||||
"color": "#ffffff",
|
||||
"name": "Background"
|
||||
},
|
||||
{
|
||||
"slug": "foreground",
|
||||
"color": "#dc3e9d",
|
||||
"name": "Foreground"
|
||||
},
|
||||
{
|
||||
"slug": "primary",
|
||||
"color": "#dc3e9d",
|
||||
"name": "Primary"
|
||||
},
|
||||
{
|
||||
"slug": "secondary",
|
||||
"color": "#27c773",
|
||||
"name": "Secondary"
|
||||
}
|
||||
]
|
||||
},
|
||||
"layout": {
|
||||
"contentSize": "700px",
|
||||
"wideSize": "1100px"
|
||||
},
|
||||
"spacing": {
|
||||
"units": [ "px", "em", "rem", "vh", "vw", "%" ]
|
||||
},
|
||||
"typography": {
|
||||
"dropCap": true,
|
||||
"fontFamilies": [
|
||||
{
|
||||
"name": "System (Roboto, Segoe UI, Ubuntu)",
|
||||
"slug": "system",
|
||||
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--system)"
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--background)",
|
||||
"text": "var(--wp--preset--color--foreground)"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user