themes-wordpress/onyxpulse/theme.json
Takashi Irie c8c6a40cbf
OnyxPulse: Add theme (#7793)
* OnyxPulse: Add theme

* OnyxPulse: Minor style adjustment
2024-05-21 17:30:59 +01:00

1020 lines
24 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#ffffff",
"name": "Color 1",
"slug": "theme-1"
},
{
"color": "#cccccc",
"name": "Color 2",
"slug": "theme-2"
},
{
"color": "#3f3f3f",
"name": "Color 2",
"slug": "theme-3"
},
{
"color": "#000000",
"name": "Color 3",
"slug": "theme-4"
}
],
"text": true
},
"custom": {
"corner-border-mask": "conic-gradient(#000 0 0) content-box, conic-gradient(at var(--wp--custom--corner-border-size) var(--wp--custom--corner-border-size),#0000 75%,#000 0) 0 0/calc(100% - var(--wp--custom--corner-border-size)) calc(100% - var(--wp--custom--corner-border-size))",
"corner-border-size": "1.5rem"
},
"layout": {
"contentSize": "800px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"steps": 0
},
"spacingSizes": [
{
"name": "Extra Small",
"size": "0.5rem",
"slug": "20"
},
{
"name": "Small",
"size": "0.75rem",
"slug": "30"
},
{
"name": "Medium",
"size": "clamp(0.75rem, 1.5vw, 1.5rem)",
"slug": "40"
},
{
"name": "Large",
"size": "clamp(1.5rem, 3vw, 3rem)",
"slug": "50"
},
{
"name": "Extra Large",
"size": "clamp(2.25rem, 4.5vw, 4.5rem)",
"slug": "60"
},
{
"name": "Double Extra Large",
"size": "clamp(3rem, 6vw, 6rem)",
"slug": "70"
},
{
"name": "Triple Extra Large",
"size": "clamp(3.75rem, 7.5vw, 7.5rem)",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "normal",
"fontWeight": "300",
"src": "file:./assets/fonts/cIflMapbsEk7TDLdtEz1BwkeNIhFRZXE3AY00g.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/cIf6MapbsEk7TDLdtEz1BwkmnaBhSL7Y1Q.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "normal",
"fontWeight": "500",
"src": "file:./assets/fonts/cIflMapbsEk7TDLdtEz1BwkebIlFRZXE3AY00g.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "normal",
"fontWeight": "600",
"src": "file:./assets/fonts/cIflMapbsEk7TDLdtEz1BwkeQI5FRZXE3AY00g.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "normal",
"fontWeight": "700",
"src": "file:./assets/fonts/cIflMapbsEk7TDLdtEz1BwkeJI9FRZXE3AY00g.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "italic",
"fontWeight": "300",
"src": "file:./assets/fonts/cIfnMapbsEk7TDLdtEz1BwkWmpLJQp_F_gMk0izH.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "italic",
"fontWeight": "400",
"src": "file:./assets/fonts/cIfkMapbsEk7TDLdtEz1BwkWmqpgarvI1R8t.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "italic",
"fontWeight": "500",
"src": "file:./assets/fonts/cIfnMapbsEk7TDLdtEz1BwkWmpKRQ5_F_gMk0izH.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "italic",
"fontWeight": "600",
"src": "file:./assets/fonts/cIfnMapbsEk7TDLdtEz1BwkWmpK9RJ_F_gMk0izH.woff2"
},
{
"fontFamily": "\"Chakra Petch\"",
"fontStyle": "italic",
"fontWeight": "700",
"src": "file:./assets/fonts/cIfnMapbsEk7TDLdtEz1BwkWmpLZRZ_F_gMk0izH.woff2"
}
],
"fontFamily": "\"Chakra Petch\", sans-serif",
"name": "Chakra Petch",
"slug": "chakra-petch"
}
],
"fontSizes": [
{
"fluid": true,
"name": "Small",
"size": "0.75rem",
"slug": "small"
},
{
"fluid": true,
"name": "Medium",
"size": "1rem",
"slug": "medium"
},
{
"fluid": true,
"name": "Large",
"size": "1.333rem",
"slug": "large"
},
{
"fluid": true,
"name": "Extra Large",
"size": "1.777rem",
"slug": "x-large"
},
{
"fluid": true,
"name": "Double Extra Large",
"size": "2.369rem",
"slug": "xx-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/archives": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--30)"
}
}
},
"core/audio": [],
"core/avatar": {
"border": {
"radius": "2px"
}
},
"core/button": {
"variations": {
"outline": {
"border": {
"width": "1px"
},
"spacing": {
"padding": {
"bottom": "calc(0.875rem - 1px)",
"left": "calc(1.875rem - 1px)",
"right": "calc(1.875rem - 1px)",
"top": "calc(0.875rem - 1px)"
}
},
"typography": {
"fontWeight": "400"
}
}
}
},
"core/buttons": {
"spacing": {
"blockGap": "var(--wp--style--block-gap)"
}
},
"core/calendar": {
"css": " table:where(:not(.has-text-color)){color:var(--wp--preset--color--theme-1);} & table:where(:not(.has-text-color)) td,table:where(:not(.has-text-color)) th {border-color:var(--wp--preset--color--theme-3);} & :where(.wp-block-calendar table:not(.has-background) th){background-color:var(--wp--preset--color--theme-1);color: var(--wp--preset--color--theme-4);}"
},
"core/categories": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--30)"
}
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--theme-3)",
"style": "solid",
"width": "1px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--style--block-gap)",
"left": "var(--wp--style--block-gap)",
"right": "var(--wp--style--block-gap)",
"top": "var(--wp--style--block-gap)"
}
}
},
"core/column": [],
"core/columns": {
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/comment-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/comment-content": {
"css": " p{margin-bottom:0;} & p+p{margin-top:var(--wp--style--block-gap)}"
},
"core/comment-date": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/comment-edit-link": {
"css": " a:hover{text-decoration:none;}",
"elements": {
"link": {
":focus": {
"border": {
"color": "var(--wp--preset--color--theme-2)"
},
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-4)"
},
"typography": {
"textDecoration": "none"
}
},
":hover": {
"border": {
"color": "var(--wp--preset--color--theme-2)"
},
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-4)"
},
"typography": {
"textDecoration": "none"
}
},
"border": {
"color": "var(--wp--preset--color--theme-1)",
"style": "solid",
"width": "1px"
},
"spacing": {
"padding": "0.328125rem 1rem"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1",
"textDecoration": "none",
"textTransform": "uppercase"
}
}
}
},
"core/comment-reply-link": {
"css": " a:hover{text-decoration:none;}",
"elements": {
"link": {
":focus": {
"border": {
"color": "var(--wp--preset--color--theme-2)"
},
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-4)"
},
"typography": {
"textDecoration": "none"
}
},
":hover": {
"border": {
"color": "var(--wp--preset--color--theme-2)"
},
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-4)"
},
"typography": {
"textDecoration": "none"
}
},
"border": {
"color": "var(--wp--preset--color--theme-1)",
"style": "solid",
"width": "1px"
},
"spacing": {
"padding": "0.328125rem 1rem"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1",
"textDecoration": "none",
"textTransform": "uppercase"
}
}
}
},
"core/comment-template": [],
"core/comments": [],
"core/comments-pagination": {
"css": " a.wp-block-comments-pagination-previous{margin-bottom:0;} & a.wp-block-comments-pagination-next{margin-bottom:0;} & .wp-block-comments-pagination-numbers{margin-bottom:0;}",
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none",
"textTransform": "uppercase"
}
}
}
},
"core/comments-pagination-next": [],
"core/comments-pagination-numbers": [],
"core/comments-pagination-previous": [],
"core/comments-title": {
"spacing": {
"margin": {
"bottom": "0",
"top": "var(--wp--style--block-gap)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/cover": {
"css": " .wp-block-cover__inner-container.has-global-padding{padding-right:0;padding-left:0;}",
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--30)",
"left": "var(--wp--preset--spacing--30)",
"right": "var(--wp--preset--spacing--30)",
"top": "var(--wp--preset--spacing--30)"
}
}
},
"core/details": [],
"core/embed": [],
"core/file": [],
"core/footnotes": [],
"core/gallery": [],
"core/group": [],
"core/heading": [],
"core/home-link": [],
"core/image": {
"css": " .wp-element-caption{text-align:center;}"
},
"core/latest-comments": {
"css": " .wp-block-latest-comments__comment-meta{font-size: inherit;} & .wp-block-latest-comments__comment-date, .wp-block-latest-comments__comment-excerpt p{font-size: inherit;margin:0;} &:where(.wp-block-latest-comments:not([style*=line-height] .wp-block-latest-comments__comment-excerpt p)){line-height:inherit;} & .avatar, .wp-block-latest-comments__comment-avatar{border-radius:2px;}",
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"padding": {
"left": "0px"
}
}
},
"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--style--block-gap);"
},
"core/list": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--30)"
}
}
},
"core/list-item": [],
"core/loginout": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/media-text": [],
"core/navigation": [],
"core/navigation-link": [],
"core/navigation-submenu": [],
"core/page-list": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--30)"
}
}
},
"core/paragraph": {
"css": " > strong{font-weight:600;}",
"typography": {
"lineHeight": "calc(1em + 0.5rem)"
}
},
"core/post-author": {
"css": " .wp-block-post-author__byline, .wp-block-post-author__name, .wp-block-post-author__bio{font-size:inherit;} & .wp-block-post-author__name a{text-decoration:none;} & .wp-block-post-author__avatar img{border-radius:2px;} & .wp-block-post-author__bio{margin:0;}"
},
"core/post-author-biography": [],
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"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{font-size:var(--wp--preset--font-size--medium);margin-top:var(--wp--style--block-gap)}"
},
"core/post-content": {
"elements": {
"heading": {
"spacing": {
"margin": {
"bottom": "var(--wp--style--block-gap)",
"top": "calc(var(--wp--style--block-gap) * 2)"
}
}
}
}
},
"core/post-date": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-excerpt": {
"css": " .wp-block-post-excerpt__excerpt{line-height: inherit;}",
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-featured-image": [],
"core/post-navigation-link": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none",
"textTransform": "uppercase"
}
}
}
},
"core/post-template": [],
"core/post-terms": {
"css": ".wp-block-post-terms.taxonomy-post_tag a:before{content:'#';}",
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"core/pullquote": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "1px 0"
},
"css": " cite {display:block;margin-top: var(--wp--style--block-gap)}",
"spacing": {
"padding": {
"bottom": "var(--wp--style--block-gap)",
"left": "var(--wp--style--block-gap)",
"right": "var(--wp--style--block-gap)",
"top": "var(--wp--style--block-gap)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "italic"
}
},
"core/query-no-results": [],
"core/query-pagination": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none",
"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--medium)",
"lineHeight": "1.5"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--theme-3)",
"style": "solid",
"width": "0 0 0 1px"
},
"css": ".is-style-plain cite{font-style:normal;}",
"spacing": {
"margin": {
"left": "0",
"right": "0"
},
"padding": {
"left": "var(--wp--style--block-gap)"
}
},
"typography": {
"fontStyle": "italic"
},
"variations": {
"plain": {
"border": {
"width": "0"
},
"spacing": {
"padding": {
"left": "0"
}
},
"typography": {
"fontStyle": "normal"
}
}
}
},
"core/read-more": [],
"core/rss": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/search": {
"css": " :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){background-color:#fff;} & .wp-block-search__button.has-icon{padding:0.5rem;}",
"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--theme-1)"
}
},
"core/site-logo": [],
"core/site-tagline": [],
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "300",
"lineHeight": "1.5"
}
},
"core/social-links": {
"spacing": {
"blockGap": {
"left": "var(--wp--preset--spacing--30)",
"top": "var(--wp--preset--spacing--30)"
}
}
},
"core/spacer": [],
"core/table": {
"css": " td, th{border-color:var(--wp--preset--color--theme-3);} & 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: 5px 15px;} &.wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--theme-4);background-color: var(--wp--preset--color--theme-1);}",
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/term-description": {
"css": "& p+p {margin-top:calc(1em + 0.375rem);}",
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
}
},
"color": {
"background": "var(--wp--preset--color--theme-4)",
"text": "var(--wp--preset--color--theme-1)"
},
"css": ".no-underline a{text-decoration:none;}.corner-only{mask:var(--wp--custom--corner-border-mask);}",
"elements": {
"button": {
":focus": {
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-4)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-4)"
}
},
"border": {
"color": "var(--wp--preset--color--theme-1)",
"radius": "0",
"style": "solid",
"width": "0"
},
"color": {
"background": "var(--wp--preset--color--theme-1)",
"text": "var(--wp--preset--color--theme-4)"
},
"spacing": {
"padding": {
"bottom": "0.875rem",
"left": "1.875rem",
"right": "1.875rem",
"top": "0.875rem"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "500",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"caption": {
"color": {
"text": "var(--wp--preset--color--theme-1)"
},
"spacing": {
"margin": {
"bottom": "var(--wp--style--block-gap)",
"top": "var(--wp--preset--spacing--30)"
},
"padding": {
"left": "var(--wp--style--block-gap)",
"right": "var(--wp--style--block-gap)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"lineHeight": "1.125492403"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": "1.125492403"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.25",
"textTransform": "uppercase"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.333333",
"textTransform": "uppercase"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontWeight": "300",
"lineHeight": "1.5"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-2)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--theme-1)"
},
"typography": {
"textDecoration": "underline"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)",
"padding": {
"bottom": "0px",
"left": "0px",
"right": "0px",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--chakra-petch)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.5"
}
},
"templateParts": [
{
"area": "uncategorized",
"name": "comments",
"title": "Comments"
},
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
},
{
"area": "uncategorized",
"name": "sidebar",
"title": "Sidebar"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
}