themes-wordpress/muscat/theme.json
Joen A d8b3f8a681
Changes from WordPress Playground, made some adjustments to the theme: (#7938)
- Changed its main heading "Is this nice?" to "Is this cool?" after some feedback regarding the expression
- Adjustments in the outer spacing
- Adjustments in the templates wide widths
- Added font license
- Updated screenshot

Co-authored-by: Beatriz Fialho <65220155+beafialho@users.noreply.github.com>
2024-07-08 14:48:45 +02:00

618 lines
No EOL
12 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#6bec68",
"name": "Primary",
"slug": "primary"
},
{
"color": "#636363",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ffffff",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#181818",
"name": "Background",
"slug": "background"
},
{
"color": "#2c2c2c",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "670px",
"wideSize": "1800px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": 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": "Albert Sans",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/albert-sans_300.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/albert-sans_500.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/albert-sans_600.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/albert-sans_700.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/albert-sans_700italic.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/albert-sans_600italic.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/albert-sans_500italic.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/albert-sans_italic.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/albert-sans_300italic.ttf"
]
},
{
"fontFamily": "Albert Sans",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/albert-sans_regular.ttf"
]
}
],
"fontFamily": "Albert Sans",
"slug": "albert-sans"
}
],
"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/button": {
"border": {
"radius": "0px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--30)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--30)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "500",
"textTransform": "uppercase"
}
},
"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",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-content": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"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/paragraph": {
"typography": {
"fontSize": "1.5rem",
"letterSpacing": "-0.04em",
"lineHeight": "1.4"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-comments-form": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-content": {
"typography": {
"lineHeight": "1.4"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "0.8rem",
"textTransform": "uppercase"
}
},
"core/post-navigation-link": {
"typography": {
"letterSpacing": "-0.01em"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
},
"typography": {
"fontStyle": "normal",
"fontWeight": "500"
}
},
"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": "normal",
"fontWeight": "600",
"lineHeight": 1.4
}
},
"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": {
"bottom": {
"style": "none",
"width": "0px"
},
"left": {
"style": "none",
"width": "0px"
},
"radius": "0px",
"right": {
"style": "none",
"width": "0px"
},
"top": {
"style": "none",
"width": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--albert-sans)",
"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)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-0.02em",
"textTransform": "uppercase"
}
}
},
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"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)"
},
"typography": {
"fontFamily": "Albert Sans"
}
},
"caption": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h1": {
"typography": {
"fontSize": "3.6rem"
}
},
"h2": {
"typography": {
"fontSize": "2.8rem"
}
},
"h3": {
"typography": {
"fontSize": "2.2rem"
}
},
"h4": {
"typography": {
"fontSize": "1.75rem",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h5": {
"typography": {
"fontSize": "1.125rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0px"
}
},
"h6": {
"typography": {
"fontSize": "0.8rem",
"fontStyle": "normal",
"fontWeight": "400",
"letterSpacing": "1px",
"textTransform": "uppercase"
}
},
"heading": {
"typography": {
"fontStyle": "normal",
"fontWeight": "400",
"letterSpacing": "-1px",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontFamily": "Albert Sans"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0px",
"left": "5vw",
"right": "5vw",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--albert-sans)",
"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/wp/6.5/theme.json"
}