Skip to content

Instantly share code, notes, and snippets.

@pattyok
Created July 12, 2021 23:03
Show Gist options
  • Save pattyok/0e7726a15c59ba8d183d2d1427728b48 to your computer and use it in GitHub Desktop.
Save pattyok/0e7726a15c59ba8d183d2d1427728b48 to your computer and use it in GitHub Desktop.
Theme.json WordPress
{
"version": 1,
"settings": {
"color": {
"custom": false,
"customGradient": false,
"link": false,
"gradients": [],
"duotone": [],
"palette": [
{
"slug": "black",
"color": "#323E48",
"name": "Black"
},
{
"slug": "blue-dark",
"color": "#12284C",
"name": "Blue Dark"
},
{
"slug": "blue-med",
"color": "#4064A0",
"name": "Blue Medium"
},
{
"slug": "blue-med-dark",
"color": "#0354A0",
"name": "Blue Medium Dark"
},
{
"slug": "blue",
"color": "#1B3D72",
"name": "Blue"
},
{
"slug": "teal",
"color": "#007C85",
"name": "Teal"
},
{
"slug": "teal-med",
"color": "#009CA7",
"name": "Teal Medium"
},
{
"slug": "teal-light",
"color": "#8AD3D7",
"name": "Teal Light"
},
{
"slug": "yellow",
"color": "#FDB713",
"name": "Yellow"
},
{
"slug": "white",
"color": "#FFFFFF",
"name": "White"
},
{
"slug": "grey",
"color": "#323E48",
"name": "Grey"
},
{
"slug": "grey-transparent",
"color": "#323E4808",
"name": "Grey BG"
}
]
},
"layout": {
"contentSize": "610px",
"wideSize": "1240px"
},
"typography": {
"customFontSize": true,
"customFontStyle": true,
"customFontWeight": false,
"customLineHeight": false,
"customTextDecorations": false,
"customTextTransforms": false,
"fontSizes": [
{
"slug": "extra-small",
"size": "16px",
"name": "Extra small"
},
{
"slug": "normal",
"size": "18px",
"name": "Small"
},
{
"slug": "medium",
"size": "20px",
"name": "Normal"
},
{
"slug": "medium-large",
"size": "24px",
"name": "Large"
},
{
"slug": "large",
"size": "36px",
"name": "Extra large"
},
{
"slug": "extra-large",
"size": "40px",
"name": "Extra large"
},
{
"slug": "huge",
"size": "96px",
"name": "Huge"
},
{
"slug": "gigantic",
"size": "144px",
"name": "Gigantic"
}
],
"fontFamilies": [
{
"fontFamily": "Lato, sans-serif",
"slug": "global-font"
},
{
"fontFamily": "\"Cinzel\", sans-serif",
"slug": "headings-font"
}
]
},
"spacing": {
"customPadding": true,
"customMargin": true,
"units": [
"px",
"vh",
"vw"
]
},
"border": {
"customColor": false,
"customRadius": false,
"customStyle": false,
"customWidth": false
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment