WordPress/wp-content/themes/twentytwentyfive/styles/06-morning.json

345 lines
6.7 KiB
JSON
Raw Normal View History

{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 3,
"title": "Morning",
"settings": {
"color": {
"palette": [
{
"color": "#DFDCD7",
"name": "Base",
"slug": "base"
},
{
"color": "#191919",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#7A9BDB",
"name": "Accent 1",
"slug": "accent-1"
},
{
"color": "#F7E6FF",
"name": "Accent 2",
"slug": "accent-2"
},
{
"color": "#182949",
"name": "Accent 3",
"slug": "accent-3"
},
{
"color": "#5F5F5F",
"name": "Accent 4",
"slug": "accent-4"
},
{
"color": "#D7D3CC",
"name": "Accent 5",
"slug": "accent-5"
},
{
"color": "#19191933",
"name": "Accent 6",
"slug": "accent-6"
}
]
}
},
"styles": {
"color": {
"text": "var:preset|color|accent-4"
},
"typography": {
"fontFamily": "var:preset|font-family|ysabeau-office",
"fontSize": "1.5rem",
"fontWeight": "400",
"letterSpacing": "-0.24px",
"lineHeight": "1.4"
},
"blocks": {
"core/code": {
"color": {
"text": "var:preset|color|contrast",
"background": "var:preset|color|accent-5"
}
},
"core/navigation": {
"typography": {
"fontSize": "1.25rem"
}
},
"core/paragraph": {
"elements": {
"link": {
"color": {
"text": "var:preset|color|contrast"
}
}
}
},
"core/post-author-name": {
"typography": {
"fontSize": "var:preset|font-size|medium"
},
"color": {
"text": "var:preset|color|contrast"
},
"elements": {
"link": {
"color": {
"text": "var:preset|color|contrast"
},
"typography": {
"textDecoration": "underline"
},
":hover": {
"typography": {
"textDecoration": "none"
}
}
}
}
},
"core/post-terms": {
"typography": {
"fontWeight": "400",
"fontSize": "var:preset|font-size|medium"
},
"color": {
"text": "var:preset|color|contrast"
},
"elements": {
"link": {
"color": {
"text": "var:preset|color|contrast"
},
"typography": {
"textDecoration": "underline"
},
":hover": {
"typography": {
"textDecoration": "none"
}
}
}
}
},
"core/post-title": {
"typography": {
"fontWeight": "900",
"letterSpacing": "-0.96px"
},
"elements": {
"link": {
"color": {
"text": "var:preset|color|contrast"
}
}
}
},
"core/pullquote": {
"color": {
"text": "var:preset|color|contrast"
},
"typography": {
"fontSize": "var:preset|font-size|x-large"
},
"elements": {
"cite": {
"typography": {
"fontSize": "var:preset|font-size|medium",
"letterSpacing": "-0.14px"
},
"color": {
"text": "var:preset|color|accent-4"
}
}
}
},
"core/quote": {
"color": {
"text": "var:preset|color|contrast"
},
"typography": {
"fontSize": "1.5rem",
"fontWeight": "500",
"letterSpacing": "-0.18px"
},
"elements": {
"cite": {
"typography": {
"fontSize": "var:preset|font-size|medium",
"fontWeight": "300",
"letterSpacing": "-0.14px"
},
"color": {
"text": "var:preset|color|accent-4"
}
}
}
},
"core/query-title": {
"typography": {
"fontWeight": "900"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var:preset|font-family|ysabeau-office",
"textTransform": "uppercase",
"letterSpacing": "1.6px"
}
}
},
"elements": {
"button": {
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontSize": "1.375rem",
"fontWeight": "900",
"letterSpacing": "-0.36px"
},
"color": {
"text": "var:preset|color|contrast",
"background": "var:preset|color|accent-1"
},
"border": {
"radius": "0px"
},
":hover": {
"color": {
"background": "color-mix(in srgb, var(--wp--preset--color--accent-1) 85%, transparent)",
"text": "var:preset|color|contrast"
}
}
},
"heading": {
"color": {
"text": "var:preset|color|contrast"
},
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontWeight": "900"
}
},
"link": {
"color": {
"text": "var:preset|color|contrast"
}
}
},
"variations": {
"post-terms-1": {
"typography": {
"fontSize": "var:preset|font-size|medium"
},
"elements": {
"link": {
"color": {
"background": "var:preset|color|accent-5"
},
"border": {
"radius": "100px",
"color": "var:preset|color|accent-5"
},
"typography": {
"textDecoration": "none"
},
":hover": {
"typography": {
"textDecoration": "underline"
}
}
}
}
},
"section-2": {
"elements": {
"button": {
"color": {
"background": "var:preset|color|accent-1",
"text": "var:preset|color|contrast"
},
":hover": {
"color": {
"background": "color-mix(in srgb, var(--wp--preset--color--accent-1) 85%, transparent)"
}
}
}
}
},
"section-3": {
"elements": {
"button": {
"color": {
"background": "var:preset|color|contrast",
"text": "var:preset|color|base"
},
":hover": {
"color": {
"background": "color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent)"
}
}
}
}
},
"section-4": {
"color": {
"text": "var:preset|color|base"
},
"elements": {
"heading": {
"color": {
"text": "var:preset|color|base"
}
},
"button": {
"color": {
"background": "var:preset|color|accent-1",
"text": "var:preset|color|contrast"
},
":hover": {
"color": {
"background": "color-mix(in srgb, var(--wp--preset--color--accent-1) 85%, transparent)"
}
}
},
"link": {
"color": {
"text": "var:preset|color|base"
}
}
}
},
"section-5": {
"elements": {
"heading": {
"color": {
"text": "var:preset|color|base"
}
},
"button": {
"color": {
"background": "var:preset|color|accent-1",
"text": "var:preset|color|contrast"
},
":hover": {
"color": {
"background": "color-mix(in srgb, var(--wp--preset--color--accent-1) 85%, transparent)"
}
}
},
"link": {
"color": {
"text": "var:preset|color|base"
}
}
}
}
}
}
}