Make WordPress Core


Ignore:
Timestamp:
10/14/2024 09:56:32 PM (14 months ago)
Author:
peterwilsoncc
Message:

Bundled Themes: Update Twenty Twenty-Five for 6.7 Beta 3.

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: 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfive/styles/05-twilight.json

    r59146 r59233  
    4747                }
    4848            ]
     49        },
     50        "typography": {
     51            "fontSizes": [
     52                {
     53                    "fluid": false,
     54                    "name": "Small",
     55                    "size": "0.875rem",
     56                    "slug": "small"
     57                },
     58                {
     59                    "fluid": {
     60                        "max": "1.125rem",
     61                        "min": "1rem"
     62                    },
     63                    "name": "Medium",
     64                    "size": "1rem",
     65                    "slug": "medium"
     66                },
     67                {
     68                    "fluid": {
     69                        "max": "1.375rem",
     70                        "min": "1.125rem"
     71                    },
     72                    "name": "Large",
     73                    "size": "1.38rem",
     74                    "slug": "large"
     75                },
     76                {
     77                    "fluid": {
     78                        "max": "2rem",
     79                        "min": "1.75rem"
     80                    },
     81                    "name": "Extra Large",
     82                    "size": "1.75rem",
     83                    "slug": "x-large"
     84                },
     85                {
     86                    "fluid": {
     87                        "max": "2.4rem",
     88                        "min": "2.15rem"
     89                    },
     90                    "name": "Extra Extra Large",
     91                    "size": "2.15rem",
     92                    "slug": "xx-large"
     93                }
     94            ]
    4995        }
    5096    },
    5197    "styles": {
    5298        "typography": {
    53             "fontWeight": "500",
    54             "lineHeight": "1.3",
    55             "letterSpacing": "-0.22px"
     99            "letterSpacing": "0"
    56100        },
    57101        "blocks": {
     
    70114                }
    71115            },
    72             "core/code": {
    73                 "typography": {
    74                     "fontSize": "var:preset|font-size|medium"
    75                 }
    76             },
    77116            "core/navigation": {
    78117                "typography": {
     
    94133            "core/post-terms": {
    95134                "typography": {
    96                     "fontStyle": "normal",
    97                     "fontWeight": "500",
    98                     "textTransform": "uppercase"
    99                 }
    100             },
    101             "core/post-title": {
    102                 "typography": {
    103                     "fontWeight": "200",
    104                     "letterSpacing": "-2.32px"
     135                    "fontWeight": "500"
    105136                }
    106137            },
     
    108139                "typography": {
    109140                    "fontFamily": "var:preset|font-family|roboto-slab",
    110                     "fontSize": "var:preset|font-size|x-large",
     141                    "fontSize": "var:preset|font-size|xx-large",
    111142                    "fontWeight": "200"
    112143                }
    113144            },
    114             "core/query-title": {
    115                 "typography": {
    116                     "fontWeight": "300"
    117                 }
    118             },
    119145            "core/search": {
    120146                "typography": {
     
    129155            "core/site-title": {
    130156                "typography": {
    131                     "fontStyle": "normal",
    132                     "fontWeight": "500",
    133                     "letterSpacing": "-0.28px",
    134                     "lineHeight": "1.3",
    135157                    "textTransform": "uppercase"
    136158                }
     
    153175                }
    154176            },
    155             "h4": {
    156                 "typography": {
     177            "heading": {
     178                "typography": {
     179                    "fontFamily": "var:preset|font-family|roboto-slab",
    157180                    "fontWeight": "300",
    158                     "letterSpacing": "-0.5px"
    159                 }
    160             },
    161             "h5": {
    162                 "typography": {
    163                     "fontWeight": "400",
    164                     "letterSpacing": "0px"
    165                 }
    166             },
    167             "h6": {
    168                 "typography": {
    169                     "fontWeight": "400",
    170                     "letterSpacing": "1px"
    171                 }
    172             },
    173             "heading": {
    174                 "typography": {
    175                     "fontFamily": "var:preset|font-family|roboto-slab",
    176                     "fontWeight": "200",
    177181                    "letterSpacing": "-0.5px",
    178182                    "lineHeight": "1.2"
Note: See TracChangeset for help on using the changeset viewer.