themes-wordpress/awburn/theme.json
Jeff Ong aa9fd4d844
Awburn: add theme (#7310)
* Initial commit and remove theme attribute.

* Rename to awburn.

* Add home template.

* Remove comments.

* Escape patterns.

* Update to reference patterns.

* Version bump.

* Consolidate footer patterns.

* Fix home.

* Rename images.

* Convert to webp and compress.

* Add font license info.

* Add layout constrain to post content.

* Image license credits and missing image.

* Bump version.
2023-08-30 21:29:14 +02:00

728 lines
No EOL
14 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#252525",
"name": "Primary",
"slug": "primary"
},
{
"color": "#005ae1",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#474747",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#ffffff",
"name": "Background",
"slug": "background"
},
{
"color": "#f7f9fd",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "620px",
"definitions": {
"constrained": {
"baseStyles": [
{
"rules": {
"float": "left",
"margin-inline-end": "2em",
"margin-inline-start": "0"
},
"selector": " > .alignleft"
},
{
"rules": {
"float": "right",
"margin-inline-end": "0",
"margin-inline-start": "2em"
},
"selector": " > .alignright"
},
{
"rules": {
"margin-left": "auto !important",
"margin-right": "auto !important"
},
"selector": " > .aligncenter"
},
{
"rules": {
"margin-left": "auto !important",
"margin-right": "auto !important",
"max-width": "var(--wp--style--global--content-size)"
},
"selector": " > :where(:not(.alignleft):not(.alignright):not(.alignfull))"
},
{
"rules": {
"max-width": "var(--wp--style--global--wide-size)"
},
"selector": " > .alignwide"
}
],
"className": "is-layout-constrained",
"name": "constrained",
"slug": "constrained",
"spacingStyles": [
{
"rules": {
"margin-block-end": "0",
"margin-block-start": "0"
},
"selector": " > *"
},
{
"rules": {
"margin-block-end": "0",
"margin-block-start": null
},
"selector": " > * + *"
}
]
},
"default": {
"baseStyles": [
{
"rules": {
"float": "left",
"margin-inline-end": "2em",
"margin-inline-start": "0"
},
"selector": " > .alignleft"
},
{
"rules": {
"float": "right",
"margin-inline-end": "0",
"margin-inline-start": "2em"
},
"selector": " > .alignright"
},
{
"rules": {
"margin-left": "auto !important",
"margin-right": "auto !important"
},
"selector": " > .aligncenter"
}
],
"className": "is-layout-flow",
"name": "default",
"slug": "flow",
"spacingStyles": [
{
"rules": {
"margin-block-end": "0",
"margin-block-start": "0"
},
"selector": " > *"
},
{
"rules": {
"margin-block-end": "0",
"margin-block-start": null
},
"selector": " > * + *"
}
]
},
"flex": {
"baseStyles": [
{
"rules": {
"align-items": "center",
"flex-wrap": "wrap"
},
"selector": ""
},
{
"rules": {
"margin": "0"
},
"selector": " > *"
}
],
"className": "is-layout-flex",
"displayMode": "flex",
"name": "flex",
"slug": "flex",
"spacingStyles": [
{
"rules": {
"gap": null
},
"selector": ""
}
]
}
},
"wideSize": "1200px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [],
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/inter_normal_700.ttf"
]
},
{
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/inter_normal_500.ttf"
]
},
{
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/inter_normal_600.ttf"
]
},
{
"fontFamily": "Inter",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/inter_normal_400.ttf"
]
}
],
"fontFamily": "Inter",
"slug": "inter"
},
{
"fontFace": [
{
"fontFamily": "Literata 60pt",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/literata-60pt_normal_700.ttf"
]
}
],
"fontFamily": "Literata 60pt",
"slug": "literata-60pt"
},
{
"fontFace": [
{
"fontFamily": "Literata",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/literata_normal_500.ttf"
]
},
{
"fontFamily": "Literata",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/literata_italic_500.ttf"
]
},
{
"fontFamily": "Literata",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/literata_italic_400.ttf"
]
},
{
"fontFamily": "Literata",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/literata_normal_400.ttf"
]
}
],
"fontFamily": "Literata",
"slug": "literata"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "2px"
},
"color": {
"background": "var:preset|color|secondary"
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"radius": "0.25rem",
"style": "solid",
"width": "2px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/heading": {
"color": {
"text": "var:preset|color|primary"
},
"elements": {
"link": {
"color": {
"text": "var:preset|color|primary"
}
}
}
},
"core/image": {
"border": {
"radius": "2px"
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var:preset|font-size|small"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "0.7rem",
"letterSpacing": "0.03rem",
"textTransform": "uppercase"
}
},
"core/post-navigation-link": {
"typography": {
"fontFamily": "var:preset|font-family|literata"
}
},
"core/post-terms": {
"typography": {
"fontSize": "0.8rem"
}
},
"core/post-title": {
"color": {
"text": "var:preset|color|primary"
},
"elements": {
"link": {
":hover": {
"color": {
"text": "var:preset|color|secondary"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var:preset|color|primary"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"style": "solid",
"width": "1px 0"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "italic"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal"
}
},
"core/search": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var:preset|color|foreground"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var:preset|color|primary"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontSize": "1.8rem",
"fontStyle": "normal",
"fontWeight": "500",
"letterSpacing": "-0.06rem"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
},
"outline": {
"color": "var(--wp--preset--color--primary)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
"h1": {
"typography": {
"fontSize": "2.4rem"
}
},
"h2": {
"typography": {
"fontSize": "2.1rem"
}
},
"h3": {
"typography": {
"fontSize": "1.8rem"
}
},
"h4": {
"typography": {
"fontSize": "1.4rem"
}
},
"h5": {
"typography": {
"fontSize": "1.2rem"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontFamily": "var:preset|font-family|inter",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"color": {
"text": "var:preset|color|primary"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var:preset|color|secondary"
}
}
},
"spacing": {
"blockGap": "var:preset|spacing|50",
"padding": {
"bottom": "0px",
"left": "40px",
"right": "40px",
"top": "0px"
}
},
"typography": {
"fontFamily": "var:preset|font-family|inter",
"fontSize": "var:preset|font-size|small",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}