themes-wordpress/lynx/theme.json
alaczek 30d56bd3e4
Lynx: Update default color palette. (#6645)
* Lynx: Remove the unused secondary color.

* Lynx: Remove the pink variation - needs more work.

* Lynx: Remove the secondary color from style variations.

* Lynx: Minor tweaks to button style in style variations blue & green.
2022-09-30 14:06:25 +10:00

267 lines
No EOL
5.3 KiB
JSON

{
"version": 2,
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"appearanceTools": true,
"color": {
"palette": [
{
"slug": "primary",
"color": "#113AF5",
"name": "Primary"
},
{
"slug": "tertiary",
"color": "#D9D9D9",
"name": "Tertiary"
},
{
"slug": "foreground",
"color": "#1E1E1E",
"name": "Foreground"
},
{
"slug": "background",
"color": "#FFFFFF",
"name": "Background"
}
]
},
"custom": {
"spacing": {
"small": "max(1.25rem, 2vw)",
"medium": "clamp(2rem, 8vw, calc(4 * var(--wp--style--block-gap)))",
"large": "clamp(4rem, 12vw, 10rem)",
"outer": "var(--wp--custom--spacing--small, 1.25rem)"
},
"typography": {
"line-height": {
"tiny": 1.15,
"small": 1.2,
"medium": 1.4,
"normal": 1.6
}
}
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.125rem",
"min": ".875rem"
},
"name": "Extra Small",
"size": "1rem",
"slug": "x-small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"size": "1.125rem",
"slug": "small"
},
{
"fluid": {
"max": "1.5rem",
"min": "1.125rem"
},
"size": "1.3rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.5rem"
},
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "2.75rem",
"min": "2rem"
},
"size": "2.5rem",
"slug": "x-large"
},
{
"fluid": {
"max": "4rem",
"min": "2.875rem"
},
"name": "Huge",
"size": "3rem",
"slug": "xx-large"
},
{
"fluid": {
"max": "10rem",
"min": "6rem"
},
"name": "Gigantic",
"size": "8rem",
"slug": "xxx-large"
}
]
},
"layout": {
"contentSize": "650px",
"wideSize": "1000px"
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "2px",
"width": "2px"
},
"color": {
"background": "var(--wp--preset--color--foreground)",
"text": "var(--wp--preset--color--background)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-title": {
"typography": {
"lineHeight": "var(--wp--custom--typography--line-height--tiny)",
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"core/post-comments": {
"spacing": {
"padding": {
"top": "var(--wp--custom--spacing--small)"
}
}
},
"core/pullquote": {
"border": {
"width": "1px 0"
}
},
"core/query-title": {
"typography": {
"lineHeight": "var(--wp--custom--typography--line-height--small)",
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"core/quote": {
"border": {
"width": "0 0 0 1px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"fontSize": "var(--wp--preset--font-size--x-small)",
"fontWeight": "normal"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"lineHeight": "var(--wp--custom--typography--line-height--small)",
"fontSize": "var(--wp--preset--font-size--xx-large)"
}
},
"h2": {
"typography": {
"lineHeight": "var(--wp--custom--typography--line-height--small)",
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h3": {
"typography": {
"lineHeight": "var(--wp--custom--typography--line-height--small)",
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "italic"
}
},
"h4": {
"typography": {
"lineHeight": "var(--wp--custom--typography--line-height--medium)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "italic"
}
},
"h5": {
"typography": {
"textTransform": "uppercase",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"textTransform": "uppercase",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"spacing": {
"blockGap": "1.5rem"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"lineHeight": "var(--wp--custom--typography--line-height--normal)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"templateParts": [
{
"name": "header",
"title": "Header",
"area": "header"
},
{
"name": "footer",
"title": "Footer",
"area": "footer"
}
]
}