mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 20:30:43 +01:00
ea9d0c8dce
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
170 lines
3.7 KiB
JSON
170 lines
3.7 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
|
"version": 2,
|
|
"title": "Mint",
|
|
"settings": {
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"color": "#e4efeb",
|
|
"name": "Base",
|
|
"slug": "base"
|
|
},
|
|
{
|
|
"color": "#f1fefb",
|
|
"name": "Base / Two",
|
|
"slug": "base-2"
|
|
},
|
|
{
|
|
"color": "#000000",
|
|
"name": "Contrast",
|
|
"slug": "contrast"
|
|
},
|
|
{
|
|
"color": "#353535",
|
|
"name": "Contrast / Two",
|
|
"slug": "contrast-2"
|
|
},
|
|
{
|
|
"color": "#A4A4A4",
|
|
"name": "Contrast / Three",
|
|
"slug": "contrast-3"
|
|
}
|
|
]
|
|
},
|
|
"typography": {
|
|
"fluid": true,
|
|
"fontFamilies": [
|
|
{
|
|
"fontFace": [
|
|
{
|
|
"fontFamily": "Instrument Sans",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400 700",
|
|
"src": [
|
|
"file:./assets/fonts/instrument-sans/InstrumentSans-VariableFont_wdth,wght.woff2"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "Instrument Sans",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "400 700",
|
|
"src": [
|
|
"file:./assets/fonts/instrument-sans/InstrumentSans-Italic-VariableFont_wdth,wght.woff2"
|
|
]
|
|
}
|
|
],
|
|
"fontFamily": "\"Instrument Sans\", sans-serif",
|
|
"name": "Instrument Sans",
|
|
"slug": "heading"
|
|
},
|
|
{
|
|
"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": "body"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/navigation": {
|
|
"typography": {
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400"
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--body)",
|
|
"fontSize": "var(--wp--preset--font-size--x-large)",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "600",
|
|
"lineHeight": "1.3"
|
|
}
|
|
},
|
|
"core/quote": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--body)",
|
|
"fontSize": "var(--wp--preset--font-size--large)",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--heading)"
|
|
}
|
|
}
|
|
},
|
|
"elements": {
|
|
"caption": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--body)"
|
|
}
|
|
},
|
|
"h1": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-large)"
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontSize": "2.1rem"
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--large)"
|
|
}
|
|
},
|
|
"h4": {
|
|
"typography": {
|
|
"fontSize": "1.6rem"
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontSize": "1.4rem"
|
|
}
|
|
},
|
|
"heading": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--heading)",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "600"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--body)"
|
|
}
|
|
}
|
|
}
|