themes-wordpress/luminance/theme.json
Takashi Irie 0f913c123f
Luminance: Add theme (#7173)
* Luminance: Add theme

* Fix typo and spacing in style.css

* Luminance: Minor adjustment for post titles

---------

Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2023-07-11 22:32:45 +01:00

772 lines
19 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#eae8db",
"name": "Base",
"slug": "base"
},
{
"color": "#29281f",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#000000",
"name": "Primary",
"slug": "primary"
}
],
"text": true
},
"layout": {
"contentSize": "800px",
"wideSize": "1200px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [
{
"name": "1",
"size": "0.25rem",
"slug": "30"
},
{
"name": "2",
"size": "1rem",
"slug": "40"
},
{
"name": "3",
"size": "2rem",
"slug": "50"
},
{
"name": "4",
"size": "4rem",
"slug": "60"
},
{
"name": "5",
"size": "6rem",
"slug": "70"
},
{
"name": "6",
"size": "8rem",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Instrument Serif",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/instrument-serif_normal_400.ttf"
]
},
{
"fontFamily": "Instrument Serif",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/instrument-serif_italic_400.ttf"
]
}
],
"fontFamily": "Instrument Serif",
"slug": "instrument-serif"
},
{
"fontFace": [
{
"fontFamily": "Instrument Sans",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/instrument-sans_normal_400.ttf"
]
},
{
"fontFamily": "Instrument Sans",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/instrument-sans_normal_500.ttf"
]
},
{
"fontFamily": "Instrument Sans",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/instrument-sans_normal_600.ttf"
]
},
{
"fontFamily": "Instrument Sans",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/instrument-sans_normal_700.ttf"
]
},
{
"fontFamily": "Instrument Sans",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/instrument-sans_italic_400.ttf"
]
},
{
"fontFamily": "Instrument Sans",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/instrument-sans_italic_500.ttf"
]
},
{
"fontFamily": "Instrument Sans",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/instrument-sans_italic_600.ttf"
]
},
{
"fontFamily": "Instrument Sans",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/instrument-sans_italic_700.ttf"
]
}
],
"fontFamily": "Instrument Sans",
"slug": "instrument-sans"
}
],
"fontSizes": [
{
"fluid": {
"max": "1rem",
"min": "0.833rem"
},
"name": "Extra Small",
"size": "1rem",
"slug": "x-small"
},
{
"fluid": {
"max": "1.2rem",
"min": "1rem"
},
"name": "Small",
"size": "1.2rem",
"slug": "small"
},
{
"fluid": {
"max": "1.44rem",
"min": "1.2rem"
},
"name": "Medium",
"size": "1.44rem",
"slug": "medium"
},
{
"fluid": {
"max": "2.074rem",
"min": "1.44rem"
},
"name": "Large",
"size": "2.074rem",
"slug": "large"
},
{
"fluid": {
"max": "2.986rem",
"min": "2.074rem"
},
"name": "Extra Large",
"size": "2.986rem",
"slug": "x-large"
},
{
"fluid": {
"max": "4.3rem",
"min": "2.986rem"
},
"name": "Double Extra Large",
"size": "4.3rem",
"slug": "xx-large"
},
{
"fluid": {
"max": "5.16rem",
"min": "3.583rem"
},
"name": "Triple Extra Large",
"size": "5.16rem",
"slug": "xxx-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/avatar": {
"border": {
"radius": "999px"
}
},
"core/button": {
"variations": {
"outline": {
"border": {
"width": "1px"
},
"spacing": {
"padding": {
"bottom": "11px",
"left": "33px",
"right": "33px",
"top": "11px"
}
}
}
}
},
"core/buttons": {
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)"
}
},
"core/calendar": {
"css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--contrast);} .wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th {border-color: var(--wp--preset--color--contrast);}:where(.wp-block-calendar table:not(.has-background) th) {background-color: var(--wp--preset--color--contrast);color: var(--wp--preset--color--base);}"
},
"core/categories": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"radius": "0",
"style": "solid",
"width": "1px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--40)",
"left": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-content": {
"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": {
"elements": {
"link": {
":hover": {
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"color": "var(--wp--preset--color--contrast)",
"radius": "999px",
"style": "solid",
"width": "1px"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"spacing": {
"padding": "3.5px 18px"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"core/comments-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)",
"lineHeight": "1"
}
},
"core/comments-title": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"core/cover": {
"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)"
}
}
},
"core/group": {
"css": ".wp-block-group:empty{margin:0!important;padding:0!important;border:none!important;}"
},
"core/latest-comments": {
"css": " .wp-block-latest-comments__comment-date {font-size:inherit;} :where(.wp-block-latest-comments:not([style*=line-height] .wp-block-latest-comments__comment-excerpt p)){line-height:inherit;} .wp-block-latest-comments__comment-excerpt p{font-size:inherit; margin:0 0 var(--wp--preset--spacing--50) 0;}",
"spacing": {
"padding": {
"left": "0px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/latest-posts": {
"css": " .wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {font-size: inherit;} .wp-block-latest-posts__post-excerpt{margin:0 0 var(--wp--preset--spacing--50) 0;}"
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
}
},
"core/navigation": {
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color: var(--wp--preset--color--contrast);}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"lineHeight": "1"
}
},
"core/paragraph": {
"typography": {
"lineHeight": "calc(1em + 0.56rem)"
}
},
"core/post-author": {
"css": ".wp-block-post-author .wp-block-post-author__bio {font-size:inherit;} .wp-block-post-author__avatar img {vertical-align:middle;} .wp-block-post-author__bio {margin:0;} .wp-block-post-author__avatar img {border-radius: 999px;}"
},
"core/post-author-name": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "italic",
"lineHeight": "1"
}
},
"core/post-comments-count": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "italic",
"lineHeight": "1"
}
},
"core/post-comments-form": {
"css": ".wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]), .wp-block-post-comments-form .comment-form textarea {font-size: var(--wp--preset--font-size--small); line-height: inherit;} .wp-block-post-comments-form .form-submit {margin-bottom: 0;} .comment-reply-title {font-size: var(--wp--preset--font-size--large)}"
},
"core/post-comments-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "italic",
"lineHeight": "1"
}
},
"core/post-content": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
}
}
}
},
"core/post-date": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "italic",
"lineHeight": "1"
}
},
"core/post-excerpt": {
"css": ".wp-block-post-excerpt .wp-block-post-excerpt__excerpt{line-height: inherit;}"
},
"core/post-featured-image": {
"css": ".wp-block-post-featured-image img{vertical-align:top;width: auto;}"
},
"core/post-navigation-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"core/post-template": {
"css": ".wp-block-post-template > * + * { margin-top: var(--wp--preset--spacing--40);}"
},
"core/post-terms": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "italic",
"lineHeight": "1"
}
},
"core/post-title": {
"css": ".wp-block-post-title{text-wrap:balance;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)",
"letterSpacing": "-0.01em",
"lineHeight": "0.8",
"textTransform": "uppercase"
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px 0"
},
"css": ".wp-block-pullquote cite {display:block;margin-top: var(--wp--preset--spacing--50)} .wp-block-pullquote p{margin: 0;}",
"spacing": {
"padding": "var(--wp--preset--spacing--50)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "italic"
}
},
"core/query-pagination": {
"css": ".wp-block-query-pagination .wp-block-query-pagination-next, .wp-block-query-pagination .wp-block-query-pagination-previous, .wp-block-query-pagination .wp-block-query-pagination-numbers {margin-bottom:0;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontStyle": "italic"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal"
},
"variations": {
"plain": {
"border": {
"width": "0"
},
"spacing": {
"padding": {
"left": "0"
}
},
"typography": {
"fontStyle": "normal"
}
}
}
},
"core/search": {
"css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper {padding: 0;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {background-color: #ffffff; border-color: #949494;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {padding: 0 0 0 8px;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button {border-radius:0;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button, :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button:hover, :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button:focus {background-color: var(--wp--preset--color--contrast);}",
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1"
}
},
"core/social-links": {
"spacing": {
"blockGap": {
"left": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
}
},
"core/table": {
"css": " + .wp-element-caption {text-align:center;} .wp-block-table thead{border-bottom-width: 1px;} .wp-block-table tfoot{border-top-width: 1px;} .wp-block-table .wp-element-caption{text-align:center;}"
},
"core/tag-cloud": {
"css": ".wp-block-tag-cloud.is-style-outline a {border-radius: 999px; padding: 0 var(--wp--preset--spacing--40);} .wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base); background-color: var(--wp--preset--color--contrast);}"
},
"core/term-description": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
},
"outline": {
"color": "var(--wp--preset--color--primary)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"radius": "999px"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"bottom": "12px",
"left": "34px",
"right": "34px",
"top": "12px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"caption": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)",
"textTransform": "upperacse"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontStyle": "normal",
"fontWeight": "400",
"letterSpacing": "-0.02em",
"lineHeight": "1"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.388888889"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}