themes-wordpress/iotix/theme.json
Joen A. 5e0efe7ba4
Iotix theme updates (Beafialho playground changes) (#7945)
* Changes from WordPress Playground
* Fix patterns.
* Use esc_html_e to translate strings in patterns
* Update translation functions in home.php and startup.php
* Try to address feedback.
* Try to fix Search and 404.
* Update search and 404 again.
* Adds css rule for heading color inside cover blocks to match default paragraph text color

---------

Co-authored-by: Beatriz Fialho <65220155+beafialho@users.noreply.github.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
Co-authored-by: Grant Kinney <hi@grant.mk>
2024-07-17 13:52:20 -05:00

798 lines
No EOL
16 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#2f2c4f",
"name": "Primary",
"slug": "primary"
},
{
"color": "#6d6c83",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#2e1cff",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#ffffff",
"name": "Background",
"slug": "background"
},
{
"color": "#f2f4fa",
"name": "Tertiary",
"slug": "tertiary"
},
{
"color": "#272542",
"name": "Cover Overlay",
"slug": "custom-cover-overlay"
}
],
"text": true
},
"layout": {
"contentSize": "650px",
"wideSize": "1300px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [],
"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"
},
{
"fontFace": [
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/manrope_normal_400.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/manrope_normal_700.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/manrope_italic_700.otf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/manrope_italic_400.otf"
]
}
],
"fontFamily": "Manrope",
"slug": "manrope"
},
{
"fontFace": [
{
"fontFamily": "Playfair Display",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/playfair-display_italic_700.ttf"
]
},
{
"fontFamily": "Playfair Display",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/playfair-display_normal_700.ttf"
]
}
],
"fontFamily": "Playfair Display",
"slug": "playfair-display"
},
{
"fontFace": [
{
"fontFamily": "Figtree",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/figtree_normal_400.ttf"
]
},
{
"fontFamily": "Figtree",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/figtree_italic_400.ttf"
]
},
{
"fontFamily": "Figtree",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/figtree_normal_600.ttf"
]
},
{
"fontFamily": "Figtree",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/figtree_italic_600.ttf"
]
}
],
"fontFamily": "Figtree",
"slug": "figtree"
},
{
"fontFace": [
{
"fontFamily": "IBM Plex Serif",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/ibm-plex-serif_normal_400.ttf"
]
},
{
"fontFamily": "IBM Plex Serif",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/ibm-plex-serif_italic_400.ttf"
]
},
{
"fontFamily": "IBM Plex Serif",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/ibm-plex-serif_normal_600.ttf"
]
},
{
"fontFamily": "IBM Plex Serif",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/ibm-plex-serif_italic_600.ttf"
]
}
],
"fontFamily": "IBM Plex Serif",
"slug": "ibm-plex-serif"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "100px"
},
"color": {
"background": "var(--wp--preset--color--foreground)",
"text": "var(--wp--preset--color--background)"
},
"spacing": {
"padding": {
"bottom": "0.76rem",
"left": "1.6rem",
"right": "1.6rem",
"top": "0.76rem"
}
},
"typography": {
"fontSize": "1rem",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "-0.01em"
},
"variations": {
"outline": {
"border": {
"bottom": {
"style": "solid",
"width": "1px"
},
"left": {
"style": "solid",
"width": "1px"
},
"right": {
"style": "solid",
"width": "1px"
},
"top": {
"style": "solid",
"width": "1px"
}
}
}
}
},
"core/code": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": "var(--wp--preset--color--foreground)",
"left": {
"style": "none",
"width": "0px"
},
"radius": "0.25rem",
"right": {
"style": "none",
"width": "0px"
},
"style": "solid",
"top": {
"style": "none",
"width": "0px"
},
"width": "2px"
},
"color": {
"background": "var(--wp--preset--color--tertiary)"
},
"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": {
"fontFamily": "monospace"
}
},
"core/comment-author-name": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/comment-date": {
"typography": {
"fontSize": "0.8rem"
}
},
"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/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/group": {
"spacing": {
"padding": {
"bottom": "0px",
"left": "0px",
"right": "0px",
"top": "0px"
}
}
},
"core/heading": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontStyle": "normal",
"fontWeight": "700"
}
},
"core/image": {
"border": {
"radius": "12px"
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/paragraph": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/post-author": {
"spacing": {
"padding": {
"bottom": "0",
"left": "0",
"right": "0",
"top": "0"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-content": {
"typography": {
"lineHeight": "1.5"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-featured-image": {
"border": {
"radius": "30px"
},
"spacing": {
"padding": {
"bottom": "0",
"left": "0",
"right": "0",
"top": "0"
}
}
},
"core/post-title": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"lineHeight": "1.2"
}
},
"core/pullquote": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": "var(--wp--preset--color--foreground)",
"left": {
"style": "none",
"width": "0px"
},
"right": {
"style": "none",
"width": "0px"
},
"style": "solid",
"top": {
"style": "none",
"width": "0px"
},
"width": "1px 0"
},
"color": {
"background": "var(--wp--preset--color--background)"
},
"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--large)",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal"
}
},
"core/search": {
"border": {
"radius": "100px"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"core/term-description": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--secondary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
},
"spacing": {
"padding": {
"bottom": "0rem",
"left": "0rem",
"right": "0rem",
"top": "0rem"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--secondary)"
},
"css": "\n\n.wp-block-post-terms {\n\tborder-radius: 200px;\n}\n",
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
},
"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--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--foreground)",
"text": "var(--wp--preset--color--background)"
}
},
"caption": {
"typography": {
"fontSize": "0.8rem"
}
},
"h1": {
"typography": {
"fontSize": "3rem"
}
},
"h2": {
"typography": {
"fontSize": "2.4rem"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h4": {
"typography": {
"fontSize": "1.7rem"
}
},
"h5": {
"typography": {
"fontSize": "1.4rem"
}
},
"h6": {
"typography": {
"fontSize": "1.2rem"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.3"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)",
"padding": {
"bottom": "0px",
"left": "5vw",
"right": "5vw",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-font)",
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
}