WordPress/wp-content/themes/twentytwentyfive/styles/08-midnight.json

340 lines
6.3 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 3,
"title": "Midnight",
"settings": {
"color": {
"duotone": [
{
"colors": [
"#4433A6",
"#79F3B1"
],
"name": "Midnight filter",
"slug": "midnight-filter"
}
],
"palette": [
{
"color": "#4433A6",
"name": "Base",
"slug": "base"
},
{
"color": "#79F3B1",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#4433A6",
"name": "Accent 1",
"slug": "accent-1"
},
{
"color": "#372696",
"name": "Accent 2",
"slug": "accent-2"
},
{
"color": "#251D51",
"name": "Accent 3",
"slug": "accent-3"
},
{
"color": "#79F3B1",
"name": "Accent 4",
"slug": "accent-4"
},
{
"color": "#E8B7FF",
"name": "Accent 5",
"slug": "accent-5"
},
{
"color": "#79F3B133",
"name": "Accent 6",
"slug": "accent-6"
}
]
},
"typography": {
"fontSizes": [
{
"fluid": false,
"name": "Small",
"size": "0.875rem",
"slug": "small"
},
{
"fluid": {
"max": "1.1rem",
"min": "0.9rem"
},
"name": "Medium",
"size": "1rem",
"slug": "medium"
},
{
"fluid": {
"max": "1.2rem",
"min": "1.09rem"
},
"name": "Large",
"size": "1.38rem",
"slug": "large"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Extra Large",
"size": "1.75rem",
"slug": "x-large"
},
{
"fluid": {
"max": "3.625rem",
"min": "2.625rem"
},
"name": "Extra Extra Large",
"size": "2.625rem",
"slug": "xx-large"
}
]
}
},
"styles": {
"typography": {
"fontFamily": "var:preset|font-family|fira-sans",
"fontStyle": "normal",
"fontWeight": "300",
"letterSpacing": "-0.24px",
"lineHeight": "1.4"
},
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var:preset|duotone|midnight-filter"
}
},
"core/button": {
"variations": {
"outline": {
"spacing": {
"padding": {
"bottom": "1rem",
"left": "1rem",
"right": "1rem",
"top": "1rem"
}
}
}
}
},
"core/code": {
"typography": {
"fontSize": "var:preset|font-size|medium",
"fontWeight": "300"
},
"color": {
"background": "var:preset|color|accent-2",
"text": "var:preset|color|contrast"
}
},
"core/cover": {
"filter": {
"duotone": "var:preset|duotone|midnight-filter"
}
},
"core/image": {
"filter": {
"duotone": "var:preset|duotone|midnight-filter"
}
},
"core/post-author": {
"typography": {
"fontSize": "var:preset|font-size|small"
}
},
"core/post-author-name": {
"typography": {
"fontSize": "var:preset|font-size|small"
}
},
"core/post-date": {
"color": {
"text": "var:preset|color|contrast"
},
"elements": {
"link": {
"color": {
"text": "var:preset|color|contrast"
}
}
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var:preset|duotone|midnight-filter"
}
},
"core/post-terms": {
"typography": {
"fontWeight": "400",
"textTransform": "uppercase"
}
},
"core/post-title": {
"typography": {
"fontWeight": "200",
"letterSpacing": "-2.72px"
}
},
"core/pullquote": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"left": {
"style": "none",
"width": "0px"
},
"right": {
"style": "none",
"width": "0px"
},
"top": {
"style": "none",
"width": "0px"
}
},
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontWeight": "200",
"letterSpacing": "0em",
"lineHeight": "1.1"
}
},
"core/query-pagination": {
"typography": {
"fontWeight": "300",
"letterSpacing": "0px"
}
},
"core/quote": {
"typography": {
"fontStyle": "normal",
"fontWeight": "300"
}
},
"core/search": {
"border": {
"radius": "0px"
}
},
"core/site-logo": {
"filter": {
"duotone": "var:preset|duotone|midnight-filter"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontSize": "var:preset|font-size|x-large",
"fontWeight": "300",
"letterSpacing": "-0.56px",
"textTransform": "uppercase"
}
}
},
"elements": {
"button": {
"border": {
"radius": "0px"
},
"color": {
"background": "var:preset|color|contrast",
"text": "var:preset|color|base"
},
"spacing": {
"padding": {
"bottom": "1rem",
"left": "1rem",
"right": "1rem",
"top": "1rem"
}
},
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "-0.96px",
"textTransform": "uppercase"
},
":hover": {
"color": {
"background": "color-mix(in srgb, var(--wp--preset--color--contrast) 85%, transparent)"
}
}
},
"heading": {
"typography": {
"fontFamily": "var:preset|font-family|literata",
"fontWeight": "200",
"letterSpacing": "-0.02em"
}
}
},
"variations": {
"section-1": {
"color": {
"text": "var:preset|color|accent-3"
},
"elements": {
"button": {
"color": {
"background": "var:preset|color|accent-3",
"text": "var:preset|color|accent-5"
},
":hover": {
"color": {
"background": "color-mix(in srgb, var(--wp--preset--color--accent-3) 85%, transparent)"
}
}
},
"link": {
"color": {
"text": "var:preset|color|accent-3"
}
}
}
},
"section-4": {
"color": {
"text": "var:preset|color|accent-5"
},
"elements": {
"button": {
"color": {
"background": "var:preset|color|accent-5",
"text": "var:preset|color|accent-3"
},
":hover": {
"color": {
"background": "color-mix(in srgb, var(--wp--preset--color--accent-5) 85%, transparent)"
}
}
},
"link": {
"color": {
"text": "var:preset|color|accent-5"
}
}
}
}
}
}
}