mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 14:32:23 +01:00
This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into `trunk` for 6.7 beta 3.
A full list of changes can be found on GitHub: [0d8b245021...5d17f41da8
WordPress/twentytwentyfive@0d8b245...5d17f41]
Props annezazu, areziaal, beafialho, cwhitmore, franz00, get_dave, joedolson, joen, juanfra, karmatosed, kartikmehta, mukesh27, onemaggie, pgeorgiev, poena, richtabor, sudipatel007, sumitbagthariya16, wildworks, youknowriad.
Fixes #62218.
Built from https://develop.svn.wordpress.org/trunk@59233
git-svn-id: http://core.svn.wordpress.org/trunk@58625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
141 lines
2.6 KiB
JSON
141 lines
2.6 KiB
JSON
{
|
|
"version": 3,
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
|
"title": "Beiruti & Literata",
|
|
"slug": "typography-preset-1",
|
|
"settings": {
|
|
"typography": {
|
|
"fontSizes": [
|
|
{
|
|
"fluid": false,
|
|
"name": "Small",
|
|
"size": "0.9rem",
|
|
"slug": "small"
|
|
},
|
|
{
|
|
"fluid": {
|
|
"max": "1.2rem",
|
|
"min": "1rem"
|
|
},
|
|
"name": "Medium",
|
|
"size": "1rem",
|
|
"slug": "medium"
|
|
},
|
|
{
|
|
"fluid": {
|
|
"max": "1.8rem",
|
|
"min": "1.6rem"
|
|
},
|
|
"name": "Large",
|
|
"size": "1.6rem",
|
|
"slug": "large"
|
|
},
|
|
{
|
|
"fluid": {
|
|
"max": "2.2rem",
|
|
"min": "1.8em"
|
|
},
|
|
"name": "Extra Large",
|
|
"size": "1.8rem",
|
|
"slug": "x-large"
|
|
},
|
|
{
|
|
"fluid": {
|
|
"max": "2.8rem",
|
|
"min": "2rem"
|
|
},
|
|
"name": "Extra Extra Large",
|
|
"size": "2rem",
|
|
"slug": "xx-large"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"styles": {
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|literata",
|
|
"fontSize": "var:preset|font-size|medium",
|
|
"letterSpacing": "-0.01em",
|
|
"lineHeight": "1.6"
|
|
},
|
|
"blocks": {
|
|
"core/button": {
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|beiruti"
|
|
}
|
|
},
|
|
"core/list": {
|
|
"typography": {
|
|
"lineHeight": "1.3"
|
|
}
|
|
},
|
|
"core/loginout": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|medium"
|
|
}
|
|
},
|
|
"core/post-terms": {
|
|
"typography": {
|
|
"fontWeight": "300"
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|beiruti",
|
|
"fontWeight": "500",
|
|
"lineHeight": "1"
|
|
}
|
|
},
|
|
"core/quote": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|medium"
|
|
}
|
|
},
|
|
"core/query-pagination": {
|
|
"typography": {
|
|
"fontWeight": "300"
|
|
}
|
|
},
|
|
"core/site-tagline": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|small"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|beiruti",
|
|
"fontWeight": "600",
|
|
"letterSpacing": "2.4px",
|
|
"textTransform": "uppercase"
|
|
}
|
|
}
|
|
},
|
|
"elements": {
|
|
"h4": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|large"
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|medium",
|
|
"letterSpacing": "0px"
|
|
}
|
|
},
|
|
"h6": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|small"
|
|
}
|
|
},
|
|
"heading": {
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|beiruti",
|
|
"fontWeight": "500",
|
|
"letterSpacing": "-0.02em",
|
|
"lineHeight": "1.02"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|