themes-wordpress/bibliophile/theme.json
Madhu Dollu afc096c404
Bibliophile: add theme (#7163)
* Bibliophile: add theme

* remove theme attribute from templates

* update patterns and templates

* clean theme.json settings and styles

* compress screenshot and update license information

* update version and theme uri
2023-06-29 16:31:22 +08:00

609 lines
No EOL
12 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": "Primary",
"slug": "primary"
},
{
"color": "#6d6466",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#000000",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#f5f3f1",
"name": "Background",
"slug": "background"
},
{
"color": "#edebe9",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "620px",
"wideSize": "1100px"
},
"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": "Albura",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/albura_normal_400.otf"
]
},
{
"fontFamily": "Albura",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/albura_italic_400.otf"
]
},
{
"fontFamily": "Albura",
"fontStyle": "normal",
"fontWeight": "545",
"src": [
"file:./assets/fonts/albura_normal_545.otf"
]
},
{
"fontFamily": "Albura",
"fontStyle": "italic",
"fontWeight": "541",
"src": [
"file:./assets/fonts/albura_italic_541.otf"
]
}
],
"fontFamily": "Albura",
"slug": "albura"
},
{
"fontFace": [
{
"fontFamily": "Albura Light",
"fontStyle": "normal",
"fontWeight": "250",
"src": [
"file:./assets/fonts/albura-light_normal_250.otf"
]
}
],
"fontFamily": "Albura Light",
"slug": "albura-light"
},
{
"fontFace": [
{
"fontFamily": "Albura SemiBold",
"fontStyle": "normal",
"fontWeight": "545",
"src": [
"file:./assets/fonts/albura-semibold_normal_545.otf"
]
},
{
"fontFamily": "Albura SemiBold",
"fontStyle": "italic",
"fontWeight": "541",
"src": [
"file:./assets/fonts/albura-semibold_italic_541.otf"
]
}
],
"fontFamily": "Albura SemiBold",
"slug": "albura-semibold"
}
],
"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": {
"bottom": {
"radius": "1px"
},
"left": {
"radius": "1px"
},
"radius": "0px",
"right": {
"radius": "1px"
},
"top": {
"radius": "1px"
}
},
"shadow": "var(--wp--preset--shadow--sharp)",
"spacing": {
"padding": {
"bottom": "10px",
"left": "20px",
"right": "20px",
"top": "10px"
}
},
"typography": {
"fontSize": "0.9rem",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
}
},
"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"
}
}
},
"typography": {
"fontSize": "0.9rem",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
}
},
"core/paragraph": {
"typography": {
"fontSize": "1.45rem",
"letterSpacing": "0em",
"lineHeight": 1.4,
"textTransform": "none"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "0.9rem",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
}
},
"core/post-content": {
"typography": {
"textTransform": "none"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-navigation-link": {
"typography": {
"fontSize": "0.9rem",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
}
},
"core/post-terms": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "0.9rem",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"fontFamily": "var:preset|font-family|albura-semibold"
}
},
"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/query-pagination": {
"typography": {
"fontSize": "0.9rem",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
}
},
"core/query-title": {
"typography": {
"fontSize": "var:preset|font-size|large",
"fontStyle": "italic",
"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": {
"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": "1rem",
"fontWeight": "700",
"textTransform": "uppercase"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"css": "/* IgnoreThemeCustomCSS */",
"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--secondary)",
"text": "var(--wp--preset--color--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h3": {
"typography": {
"fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
}
},
"h4": {
"typography": {
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--rubik)",
"fontWeight": "400",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"bottom": "7rem",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "7rem"
}
},
"typography": {
"fontFamily": "var:preset|font-family|albura",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}