WordPress/wp-content/themes/twentytwentyfour/styles/maelstrom.json
hellofromTonya 244f676c59 Twenty Twenty-Four: Bugfixes for 6.4 RC1.
Resyncing changes for TT4 into Core.

Changes include:
* Reformatted all the patterns for readability.
* Bugfixes in the markup and improvements on the string translation functions.
* Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates.

Follow-up to [56813], [56764], [56716].

Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri.
Fixes #59640.
Built from https://develop.svn.wordpress.org/trunk@56951


git-svn-id: http://core.svn.wordpress.org/trunk@56462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-17 02:14:24 +00:00

211 lines
4.4 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 2,
"title": "Maelstrom",
"settings": {
"color": {
"palette": [
{
"color": "#38629F",
"name": "Base",
"slug": "base"
},
{
"color": "#244E8A",
"name": "Base / Two",
"slug": "base-2"
},
{
"color": "#FFFFFF25",
"name": "Base / Three",
"slug": "base-3"
},
{
"color": "#FFFFFFA1",
"name": "Contrast / 2",
"slug": "contrast-2"
},
{
"color": "#FFFFFF",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#D5E0F0",
"name": "Contrast / 3",
"slug": "contrast-3"
}
]
},
"typography": {
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Cardo",
"fontStyle": "normal",
"fontWeight": "400",
"src": ["file:./assets/fonts/cardo/cardo_normal_400.woff2"]
},
{
"fontFamily": "Cardo",
"fontStyle": "italic",
"fontWeight": "400",
"src": ["file:./assets/fonts/cardo/cardo_italic_400.woff2"]
},
{
"fontFamily": "Cardo",
"fontStyle": "normal",
"fontWeight": "700",
"src": ["file:./assets/fonts/cardo/cardo_normal_700.woff2"]
}
],
"fontFamily": "Cardo",
"name": "Cardo",
"slug": "body"
},
{
"fontFace": [
{
"fontFamily": "Jost",
"fontStyle": "normal",
"fontWeight": "100 900",
"src": ["file:./assets/fonts/jost/Jost-VariableFont_wght.woff2"]
},
{
"fontFamily": "Jost",
"fontStyle": "italic",
"fontWeight": "100 900",
"src": [
"file:./assets/fonts/jost/Jost-Italic-VariableFont_wght.woff2"
]
}
],
"fontFamily": "\"Jost\", sans-serif",
"name": "Jost",
"slug": "heading"
},
{
"fontFamily": "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",
"name": "System Sans-serif",
"slug": "system-sans-serif"
},
{
"fontFamily": "Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",
"name": "System Serif",
"slug": "system-serif"
}
],
"fontSizes": [
{
"fluid": false,
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": false,
"name": "Medium",
"size": "1.2rem",
"slug": "medium"
},
{
"fluid": {
"min": "1.5rem",
"max": "2rem"
},
"name": "Large",
"size": "2rem",
"slug": "large"
},
{
"fluid": {
"min": "2rem",
"max": "2.65rem"
},
"name": "Extra Large",
"size": "2.65rem",
"slug": "x-large"
},
{
"fluid": {
"min": "2.65rem",
"max": "3.5rem"
},
"name": "Extra Extra Large",
"size": "3.5rem",
"slug": "xx-large"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"variations": {
"outline": {
"spacing": {
"padding": {
"bottom": "calc(0.8rem - 2px)",
"left": "calc(1.6rem - 2px)",
"right": "calc(1.6rem - 2px)",
"top": "calc(0.8rem - 2px)"
}
},
"border": {
"width": "2px"
}
}
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading)",
"fontWeight": "normal"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "normal"
}
}
},
"elements": {
"button": {
"border": {
"radius": "6px"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base-2)"
},
"spacing": {
"padding": {
"bottom": "0.98rem",
"left": "1.6rem",
"right": "1.6rem",
"top": "0.8rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal"
},
":hover": {
"color": {
"background": "var(--wp--preset--color--contrast)"
}
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--heading)",
"letterSpacing": "0"
}
}
}
}
}