themes-wordpress/lois/theme.json
Jeff Ong 8d34881ab3
Lois: add theme (#6908)
* Initial commit.

* review and fix issues

* remove comments and use patterns

* add screenshot

* update tags

* fix templates and template-parts

---------

Co-authored-by: madhusudhand <madhusudhan.dollu@gmail.com>
2023-04-11 13:16:04 +05:30

504 lines
10 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#131020",
"name": "Primary",
"slug": "primary"
},
{
"color": "#f4f4f3",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#131020",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#f4f4f3",
"name": "Background",
"slug": "background"
},
{
"color": "#f4f4f3",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "1080px",
"wideSize": "1080px"
},
"spacing": {
"units": ["%", "px", "em", "rem", "vh", "vw"]
},
"typography": {
"customFontSize": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-franklin_700.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-franklin_regular.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-franklin_italic.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-franklin_700italic.ttf"
]
}
],
"fontFamily": "Libre Franklin",
"slug": "libre-franklin"
},
{
"fontFace": [
{
"fontFamily": "Figtree",
"fontStyle": "normal",
"fontWeight": "700",
"src": ["file:./assets/fonts/figtree_700.ttf"]
}
],
"fontFamily": "Figtree",
"slug": "figtree"
},
{
"fontFace": [
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/tex-gyre-schola_italic_400.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/tex-gyre-schola_normal_700.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/tex-gyre-schola_italic_700.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/tex-gyre-schola_normal_400.woff"
]
}
],
"fontFamily": "TeX Gyre Schola",
"slug": "tex-gyre-schola"
}
],
"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"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/code": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"radius": "0.25rem",
"style": "solid",
"width": "2px"
},
"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": {
"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/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-date": {
"color": {
"text": "var:preset|color|secondary"
},
"elements": {
"link": {
"color": {
"text": "var:preset|color|secondary"
},
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"style": "solid",
"width": "1px 0"
},
"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": "italic"
}
},
"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": {
"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": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
}
},
"color": {
"background": "var:preset|color|primary",
"text": "var:preset|color|secondary"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--foreground)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--foreground)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--foreground)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var:preset|color|background",
"text": "var:preset|color|primary"
},
"typography": {
"fontSize": "clamp(0.825rem, 0.825rem + ((1vw - 0.48rem) * 0.458), 1.0625rem)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h1": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "4.6rem",
"letterSpacing": "-2px",
"lineHeight": 1.1
}
},
"h2": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "3.6rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-2px"
}
},
"h3": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "2rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-1px",
"textTransform": "none"
}
},
"h4": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h5": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h6": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"heading": {
"color": {
"text": "var:preset|color|background"
},
"typography": {
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"color": {
"text": "var:preset|color|background"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var:preset|color|secondary"
}
}
},
"spacing": {
"blockGap": "var:preset|spacing|50",
"padding": {
"bottom": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var:preset|font-family|tex-gyre-schola",
"fontSize": "var:preset|font-size|medium",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": 1.4
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.1/theme.json"
}