themes-wordpress/luminance/theme.json
Takashi Irie 7fe1c2d381
Luminance: Update it for submission (#7735)
* Luminance: Update it for submission
* Luminance: Add php strict mode statements
2024-04-18 11:24:48 +01:00

823 lines
20 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"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": {
"steps": 0
},
"spacingSizes": [
{
"name": "2X-Small",
"size": "0.125rem",
"slug": "20"
},
{
"name": "X-Small",
"size": "0.25rem",
"slug": "30"
},
{
"name": "Small",
"size": "1rem",
"slug": "40"
},
{
"name": "Medium",
"size": "clamp(1rem, 2.6666667vw, 2rem)",
"slug": "50"
},
{
"name": "Large",
"size": "4rem",
"size": "clamp(2rem, 5.3333333vw, 4rem)",
"slug": "60"
},
{
"name": "X-Large",
"size": "6rem",
"size": "clamp(3rem, 8vw, 6rem)",
"slug": "70"
},
{
"name": "2X-Large",
"size": "clamp(4rem, 10.6666667vw, 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/archives": {
"css": "& {list-style-type:none;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/avatar": {
"border": {
"radius": "999px"
}
},
"core/button": {
"variations": {
"outline": {
"border": {
"width": "1px"
},
"spacing": {
"padding": {
"bottom": "calc(0.75rem - 1px)",
"left": "calc(2.125rem - 1px)",
"right": "calc(2.125rem - 1px)",
"top": "calc(0.75rem - 1px)"
}
}
}
}
},
"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 {border-color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) th {color: var(--wp--preset--color--base);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--contrast);}"
},
"core/categories": {
"css": "& {list-style-type:none;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"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",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/columns": {
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-content": {
"css": "& p{margin-bottom:0;} & p+p{margin-top:var(--wp--preset--spacing--50)}",
"spacing": {
"margin": {
"top": "var(--wp--preset--spacing--50)"
}
},
"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": "0.078125rem 1rem"
},
"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": {
"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-meta{font-size: inherit;} & .wp-block-latest-comments__comment-date{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{margin:0 0 var(--wp--style--block-gap);} &:where(.wp-block-latest-comments:not([style*=line-height] .wp-block-latest-comments__comment-excerpt p)){line-height:inherit;}",
"spacing": {
"padding": {
"left": "0px"
}
}
},
"core/latest-posts": {
"css": " .wp-block-latest-posts__post-author{font-size: inherit;} & .wp-block-latest-posts__post-date{font-size: inherit;} & .wp-block-latest-posts__post-excerpt{margin:0 0 var(--wp--style--block-gap)}"
},
"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__byline{font-size:inherit;}&.wp-block-post-author .wp-block-post-author__name a{text-decoration:none;} &.wp-block-post-author .wp-block-post-author__bio{font-size:inherit;margin:0;} & .wp-block-post-author__avatar img{border-radius: 999px;vertical-align:middle;}"
},
"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": "&.comment-form input:not([type=submit]):not([type=checkbox]){font-size: var(--wp--preset--font-size--small);line-height: calc(1em + 0.56rem);} & .comment-form textarea{font-size: var(--wp--preset--font-size--small);line-height: calc(1em + 0.56rem);} & .comment-form > *{margin-top:var(--wp--style--block-gap);margin-bottom:0} & .comment-reply-title{font-size: var(--wp--preset--font-size--large);margin-top:var(--wp--style--block-gap);}"
},
"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": {
"heading": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--60)"
}
}
},
"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-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--xxx-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)}",
"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--medium)",
"fontStyle": "italic"
}
},
"core/query-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"core/query-pagination-next": {
"css": ".wp-block-query-pagination-next{margin:0;}"
},
"core/query-pagination-numbers": {
"css": ".wp-block-query-pagination-numbers{margin:0;}"
},
"core/query-pagination-previous": {
"css": ".wp-block-query-pagination-previous{margin:0;}"
},
"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": "italic"
},
"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 0.5rem;} & :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button {border-radius:0;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"css": "&.wp-block-separator.is-style-wide{max-width:none;}"
},
"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": "& thead{border-bottom-width: 1px;} & tfoot{border-top-width: 1px;} & + .wp-element-caption{text-align:center;}"
},
"core/tag-cloud": {
"css": ".wp-block-tag-cloud.is-style-outline{font-size:var(--wp--preset--font-size--small);line-height:1;} &.wp-block-tag-cloud.is-style-outline a {border-radius:999px;padding: 1.5px 1rem 1.5px;} &.wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base);background-color: var(--wp--preset--color--contrast);}",
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontStyle": "italic"
}
},
"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": "0.75rem",
"left": "2.125rem",
"right": "2.125rem",
"top": "0.75rem"
}
},
"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": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.388888889"
}
},
"templateParts": [
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
},
{
"area": "uncategorized",
"name": "post-meta",
"title": "Post Meta"
},
{
"area": "uncategorized",
"name": "comments",
"title": "Comments"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}