WordPress/wp-content/themes/twentytwentyfour/styles/maelstrom.json
hellofromTonya ea9d0c8dce Twenty Twenty-Four: Bugfixes and refinement for 6.4 RC4.
This update includes the following changes:

* [https://github.com/WordPress/twentytwentyfour/pull/723 Remove custom CSS for links].
* [https://github.com/WordPress/twentytwentyfour/pull/718 Fix the link to the theme's docs].
* [https://github.com/WordPress/twentytwentyfour/pull/719 Separate outline css to its own function] - which introduces `twentytwentyfour_block_stylesheets()` for enqueuing custom block stylesheets.
* [https://github.com/WordPress/twentytwentyfour/pull/720 Fix height of newsletter landing pattern].
* [https://github.com/WordPress/twentytwentyfour/pull/722/ Resolve border colors in variations].

Follow up to [57036], [56999], [56951], [56813], [56764], [56716].

Props onemaggie, richtabor, luminuu, huzaifaalmesbah, sabernhardt, poena, rajinsharwar.
Fixes #59812.
Built from https://develop.svn.wordpress.org/trunk@57067


git-svn-id: http://core.svn.wordpress.org/trunk@56578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-11-06 14:43:23 +00:00

206 lines
4.3 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": "#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"
}
}
}
}
}