themes-wordpress/surrealist/theme.json
Takashi Irie 9700d9b9e7
Surrealist: Add theme (#7732)
* Surrealist: Add theme

* Surrealist: Added Post Comments Link Style

* Surrealist: Added Post Comment Count Style

* Surrealist: Change theme URI
2024-04-19 15:35:46 +01:00

832 lines
20 KiB
JSON

{
"customTemplates": [
{
"name": "page-small-title",
"postTypes": [
"page"
],
"title": "Pages With Small Title"
},
{
"name": "page-no-title",
"postTypes": [
"page"
],
"title": "Pages Without Title"
}
],
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#ffffff",
"name": "Base",
"slug": "base"
},
{
"color": "#242121",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#6e6e6e",
"name": "Primary",
"slug": "primary"
},
{
"color": "#cccccc",
"name": "Secondary",
"slug": "secondary"
}
],
"text": true
},
"custom": {
"separator": "radial-gradient(14.79px at 50% calc(100% + 9.5px),#0000 calc(99% - 2px),#000 calc(101% - 2px) 99%,#0000 101%) calc(50% - 20px) calc(50% - 6px + .5px)/40px 12px, radial-gradient(14.79px at 50% -9.5px,#0000 calc(99% - 2px),#000 calc(101% - 2px) 99%,#0000 101%) 50% calc(50% + 6px)/40px 12px;"
},
"layout": {
"contentSize": "710px",
"wideSize": "90vw"
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"steps": 0
},
"spacingSizes": [
{
"name": "2X-Small",
"size": "0.25rem",
"slug": "20"
},
{
"name": "x-Small",
"size": "0.5rem",
"slug": "30"
},
{
"name": "Small",
"size": "1rem",
"slug": "40"
},
{
"name": "Medium",
"size": "clamp(1rem, 2vw, 2rem)",
"slug": "50"
},
{
"name": "Large",
"size": "clamp(2rem, 4vw, 4rem)",
"slug": "60"
},
{
"name": "X-Large",
"size": "clamp(3rem, 6vw, 6rem)",
"slug": "70"
},
{
"name": "2X-Large",
"size": "clamp(4rem, 8vw, 8rem)",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Kame",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/kame_normal_400.otf"
]
}
],
"fontFamily": "Kame",
"name": "Kame",
"slug": "kame"
},
{
"fontFace": [
{
"fontFamily": "Kame Poster",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/kame-poster_normal_400.otf"
]
},
{
"fontFamily": "Kame Poster",
"fontStyle": "normal",
"fontWeight": "900",
"src": [
"file:./assets/fonts/kame-poster_normal_900.otf"
]
}
],
"fontFamily": "Kame Poster",
"name": "Kame Poster",
"slug": "kame-poster"
},
{
"fontFace": [
{
"fontFamily": "PT Sans",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/pt-sans_normal_400.ttf"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/pt-sans_normal_700.ttf"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/pt-sans_italic_400.ttf"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/pt-sans_italic_700.ttf"
]
}
],
"fontFamily": "PT Sans",
"name": "PT Sans",
"slug": "pt-sans"
}
],
"fontSizes": [
{
"fluid": "false",
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.618rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.618rem",
"slug": "medium"
},
{
"fluid": {
"max": "2.618rem",
"min": "1.618rem"
},
"name": "Large",
"size": "2.618rem",
"slug": "large"
},
{
"fluid": {
"max": "4.236rem",
"min": "2.618rem"
},
"name": "Extra Large",
"size": "4.236rem",
"slug": "x-large"
},
{
"fluid": {
"max": "6.854rem",
"min": "4.236rem"
},
"name": "Double Extra Large",
"size": "6.854rem",
"slug": "xx-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true,
"writingMode": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/archives": {
"css": "& {list-style-type:none;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/audio": [],
"core/avatar": {
"border": {
"radius": "56% 44% 73% 27% / 45% 68% 32% 55%;"
}
},
"core/button": {
"variations": {
"outline": {
"border": {
"width": "1.5px"
},
"spacing": {
"padding": {
"bottom": "calc(1.1875rem - 1.5px)",
"left": "calc(2rem - 1.5px)",
"right": "calc(2rem - 1.5px)",
"top": "calc(1.375rem - 1.5px)"
}
}
}
}
},
"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/column": [],
"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--40)}",
"spacing": {
"margin": {
"top": "var(--wp--preset--spacing--40)"
}
},
"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/comment-template": {
"spacing": {
"margin": {
"top": "var(--wp--preset--spacing--50)"
}
}
},
"core/comments": [],
"core/comments-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comments-pagination-next": [],
"core/comments-pagination-numbers": [],
"core/comments-pagination-previous": [],
"core/comments-title": [],
"core/cover": {
"spacing": {
"padding": "var(--wp--preset--spacing--50)"
}
},
"core/details": [],
"core/embed": [],
"core/file": [],
"core/footnotes": [],
"core/gallery": [],
"core/group": [],
"core/heading": [],
"core/home-link": [],
"core/image": [],
"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:calc(1em + 0.375rem);} & .avatar, .wp-block-latest-comments__comment-avatar{border-radius:56% 44% 73% 27% / 45% 68% 32% 55%}",
"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/list-item": [],
"core/loginout": [],
"core/media-text": [],
"core/navigation": {
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--contrast);}",
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/navigation-link": [],
"core/navigation-submenu": [],
"core/page-list": {
"css": "& {list-style-type:none;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/paragraph": {
"typography": {
"lineHeight": "calc(1em + 0.382rem)"
}
},
"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: 56% 44% 73% 27% / 45% 68% 32% 55%;margin-top:4px;vertical-align:middle;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-author-biography": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-author-name": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-comments-count": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-comments-form": {
"css": "&.comment-form input:not([type=submit]):not([type=checkbox]){line-height: inherit;} & .comment-form textarea{line-height: inherit;} & .comment-form > *{margin-top:var(--wp--style--block-gap);margin-bottom:0} & .comment-reply-title{margin-top:var(--wp--style--block-gap);}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-comments-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-content": {
"elements": {
"heading": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--60)"
}
}
}
}
},
"core/post-date": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-excerpt": {
"css": ".wp-block-post-excerpt .wp-block-post-excerpt__excerpt{line-height: inherit;}"
},
"core/post-featured-image": [],
"core/post-navigation-link": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-template": [],
"core/post-terms": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"spacing": {
"margin": {
"bottom": "var(--wp--style--block-gap)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"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-no-results": [],
"core/query-pagination": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"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--large)"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"margin": {
"left": "0",
"right": "0"
},
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "italic"
},
"variations": {
"plain": {
"border": {
"width": "0"
},
"spacing": {
"padding": {
"left": "0"
}
},
"typography": {
"fontStyle": "normal"
}
}
}
},
"core/read-more": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em",
"lineHeight": "1"
}
},
"core/rss": [],
"core/search": {
"border": {
"radius": "0px"
},
"css": "& :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){border-color:var(--wp--preset--color--contrast);border-radius:999px; padding-left:1rem;} & .wp-block-search__button.has-icon{padding:1rem;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 35px 0"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"css": ".wp-block-separator:not(.is-style-dots){mask: var(--wp--custom--separator);} &.wp-block-separator.is-style-wide{max-width:none;}"
},
"core/site-logo": [],
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "900",
"lineHeight": "1.236093943",
"textTransform": "none"
}
},
"core/social-links": {
"spacing": {
"blockGap": {
"left": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
}
},
"core/spacer": [],
"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)} &.wp-block-tag-cloud.is-style-outline a {padding: 2px 8px 0;} &.wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base);background-color: var(--wp--preset--color--primary);}"
},
"core/term-description": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/verse": [],
"core/video": []
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"css": ".no-underline a{text-decoration:none;}",
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--contrast)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)"
},
"outline": {
"color": "var(--wp--preset--color--contrast)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)"
}
},
"border": {
"radius": "33% 67% 59% 41% / 42% 47% 53% 58%"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"bottom": "1.1875rem",
"left": "2rem",
"right": "2rem",
"top": "1.375rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0.04em",
"lineHeight": "1"
}
},
"caption": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "400",
"lineHeight": "1.2"
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "400",
"lineHeight": "1.2"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"fontStyle": "normal",
"fontWeight": "900",
"lineHeight": "0.92",
"textTransform": "none"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0px",
"left": "5vw",
"right": "5vw",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--pt-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.236093943"
}
},
"templateParts": [
{
"area": "uncategorized",
"name": "comments",
"title": "Comments"
},
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
}