themes-wordpress/freddie/theme.json
Takashi Irie fdef3c84c3
Freddie: Add theme (#7133)
* Freddie: Add theme

* Bump version on stylesheet

---------

Co-authored-by: Vicente Canales <vicente.canales@automattic.com>
2023-06-28 12:41:28 -04:00

745 lines
18 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#000000",
"name": "Base",
"slug": "base"
},
{
"color": "#ffffff",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
}
],
"text": true
},
"layout": {
"contentSize": "640px",
"wideSize": "1360px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 0,
"unit": "rem"
},
"spacingSizes": [
{
"name": "1",
"size": "0.25rem",
"slug": "30"
},
{
"name": "2",
"size": "0.75rem",
"slug": "40"
},
{
"name": "3",
"size": "1.25rem",
"slug": "50"
},
{
"name": "4",
"size": "clamp(1.25rem, 2.45vw, 2.5rem)",
"slug": "60"
},
{
"name": "5",
"size": "clamp(1.25rem, 3.5vw, 3.75rem)",
"slug": "70"
},
{
"name": "6",
"size": "clamp(1.25rem, 5vw, 5.0rem)",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
}
],
"fontSizes": [
{
"fluid": false,
"name": "Extra Small",
"size": "0.694rem",
"slug": "x-small"
},
{
"fluid": true,
"name": "Small",
"size": "0.833rem",
"slug": "small"
},
{
"fluid": true,
"name": "Medium",
"size": "1rem",
"slug": "medium"
},
{
"fluid": true,
"name": "Large",
"size": "1.2rem",
"slug": "large"
},
{
"fluid": true,
"name": "Extra Large",
"size": "1.44rem",
"slug": "x-large"
},
{
"fluid": true,
"name": "Double Extra Large",
"size": "1.728rem",
"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--40)"
}
}
},
"core/avatar": {
"border": {
"radius": "999px"
},
"typography": {
"lineHeight": "0"
}
},
"core/button": {
"variations": {
"outline": {
"border": {
"width": "2px"
},
"spacing": {
"padding": {
"bottom": "11px",
"left": "22px",
"right": "22px",
"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": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--40)"
}
}
},
"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": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/comment-date": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/comment-edit-link": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/comment-reply-link": {
"elements": {
"link": {
":hover": {
"border": {
"color": "var(--wp--preset--color--contrast)"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"color": "var(--wp--preset--color--contrast)",
"radius": "2px",
"style": "solid",
"width": "1px"
},
"spacing": {
"padding": "4px 8px"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"textTransform": "uppercase"
}
},
"core/comments-pagination": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/comments-title": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/cover": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"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/image": {
"css": " .wp-element-caption{text-align:center;}"
},
"core/latest-comments": {
"css": " .wp-block-latest-comments__comment-date {font-size: var(--wp--preset--font-size--medium);}.wp-block-latest-comments__comment-excerpt p{font-size: var(--wp--preset--font-size--medium);} :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{margin:0;}",
"spacing": {
"padding": {
"left": "0px"
}
}
},
"core/latest-posts": {
"css": " .wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date {font-size: var(--wp--preset--font-size--medium);}.wp-block-latest-posts__post-excerpt{margin:var(--wp--preset--spacing--50) 0;}"
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--40)"
}
}
},
"core/navigation": {
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--contrast);} .wp-block-navigation__submenu-container.has-background {padding:0;} .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{padding-top:0;} .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {padding-left: var(--wp--preset--spacing--80); padding-right: var(--wp--preset--spacing--80);}}"
},
"core/page-list": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/paragraph": {
"typography": {
"lineHeight": "calc(1em + 0.25rem)"
}
},
"core/post-author": {
"css": ".wp-block-post-author .wp-block-post-author__byline{font-size:0.7em;} .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: 50%;}"
},
"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 {line-height: inherit;} .wp-block-post-comments-form .form-submit {margin-bottom: 0;}"
},
"core/post-excerpt": {
"css": ".wp-block-post-excerpt .wp-block-post-excerpt__excerpt{line-height: inherit;}"
},
"core/post-navigation-link": {
"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--medium)"
}
},
"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;}",
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline solid"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--mediums)",
"lineHeight": "calc(1em + 0.25rem)"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0 0 0 2px"
},
"css": ".wp-block-quote p {margin-top:var(--wp--preset--spacing--50); margin-bottom:0;}.wp-block-quote p:first-of-type {margin-top: 0;} .wp-block-quote p:last-of-type {margin-bottom: 0;} .wp-block-quote cite {display:block;margin-top: var(--wp--preset--spacing--50)}",
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "italic"
},
"variations": {
"plain": {
"border": {
"width": "0"
},
"spacing": {
"padding": {
"left": "0"
}
},
"typography": {
"fontStyle": "normal"
}
}
}
},
"core/rss": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"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: var(--wp--preset--color--contrast); border-color: #949494;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {padding: 0 0 0 var(--wp--preset--spacing--40);} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button {padding-right: var(--wp--preset--spacing--40);padding-left: var(--wp--preset--spacing--40);} :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 {background-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base);} :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--small)",
"lineHeight": "1"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"lineHeight": "calc(1em + 0.25rem)"
}
},
"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/table-of-contents": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/tag-cloud": {
"css": ".wp-block-tag-cloud.is-style-outline a {border-radius: 999px; padding: 0 1rem;} .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--color--medium)"
}
}
},
"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)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"radius": "2px"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"bottom": "13px",
"left": "24px",
"right": "24px",
"top": "13px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "700",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"caption": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--30)"
},
"padding": {
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)",
"lineHeight": "1.157407407"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"lineHeight": "1.215277778"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": "1.25"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "calc(1em + 0.5rem)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "calc(1em + 0.5rem)",
"textTransform": "uppercase"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "calc(1em + 0.5rem)"
}
},
"heading": {
"typography": {
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": "1.2"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0",
"left": "0",
"right": "0",
"top": "0"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "600",
"lineHeight": "1.25"
}
},
"templateParts": [
{
"area": "comments",
"name": "comments"
},
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}