Make WordPress Core


Ignore:
Timestamp:
10/14/2024 09:56:32 PM (2 years 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/06-morning.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.6rem",
     88                                                "min": "1.4rem"
     89                                        },
     90                                        "name": "Extra Extra Large",
     91                                        "size": "2.6rem",
     92                                        "slug": "xx-large"
     93                                }
     94                        ]
    4995                }
    5096        },
    … …  
    55101                "typography": {
    56102                        "fontFamily": "var:preset|font-family|ysabeau-office",
    57                         "fontSize": "1.5rem",
    58                         "fontWeight": "400",
    59                         "letterSpacing": "-0.24px",
    60                         "lineHeight": "1.4"
     103                        "letterSpacing": "-0.24px"
    61104                },
    62105                "blocks": {
    … …  
    82125                        },
    83126                        "core/post-author-name": {
    84                                 "typography": {
    85                                         "fontSize": "var:preset|font-size|medium"
    86                                 },
    87                                 "color": {
    88                                         "text": "var:preset|color|contrast"
    89                                 },
    90127                                "elements": {
    91128                                        "link": {
    … …  
    104141                                }
    105142                        },
    106                         "core/post-terms": {
    107                                 "typography": {
    108                                         "fontWeight": "400",
    109                                         "fontSize": "var:preset|font-size|medium"
    110                                 },
    111                                 "color": {
    112                                         "text": "var:preset|color|contrast"
    113                                 },
    114                                 "elements": {
    115                                         "link": {
    116                                                 "color": {
    117                                                         "text": "var:preset|color|contrast"
    118                                                 },
    119                                                 "typography": {
    120                                                         "textDecoration": "underline"
    121                                                 },
    122                                                 ":hover": {
    123                                                         "typography": {
    124                                                                 "textDecoration": "none"
    125                                                         }
    126                                                 }
    127                                         }
    128                                 }
    129                         },
    130143                        "core/post-title": {
    131144                                "typography": {
    … …  
    146159                                },
    147160                                "typography": {
    148                                         "fontSize": "var:preset|font-size|x-large"
     161                                        "fontSize": "var:preset|font-size|xx-large"
    149162                                },
    150163                                "elements": {
    … …  
    161174                        },
    162175                        "core/quote": {
    163                                 "color": {
    164                                         "text": "var:preset|color|contrast"
    165                                 },
    166                                 "typography": {
    167                                         "fontSize": "1.5rem",
    168                                         "fontWeight": "500",
    169                                         "letterSpacing": "-0.18px"
    170                                 },
    171176                                "elements": {
    172177                                        "cite": {
    173178                                                "typography": {
    174179                                                        "fontSize": "var:preset|font-size|medium",
    175                                                         "fontWeight": "300",
    176180                                                        "letterSpacing": "-0.14px"
    177181                                                },
    … …  
    199203                                "typography": {
    200204                                        "fontFamily": "var:preset|font-family|literata",
    201                                         "fontSize": "1.375rem",
     205                                        "fontSize": "var:preset|font-size|medium",
    202206                                        "fontWeight": "900",
    203207                                        "letterSpacing": "-0.36px"
    … …  
    223227                                "typography": {
    224228                                        "fontFamily": "var:preset|font-family|literata",
    225                                         "fontWeight": "900"
     229                                        "fontWeight": "900",
     230                                        "lineHeight": "1.2"
     231                                }
     232                        },
     233                        "h5": {
     234                                "typography": {
     235                                        "letterSpacing": "0px"
     236                                }
     237                        },
     238                        "h6": {
     239                                "typography": {
     240                                        "fontWeight": "900",
     241                                        "letterSpacing": "0px"
    226242                                }
    227243                        },
    … …  
    304320                                                ":hover": {
    305321                                                        "color": {
    306                                                                 "background": "color-mix(in srgb, var(--wp--preset--color--accent-1) 85%, transparent)"
    307                                                 }
    308                                         }
     322                                                                "background": "color-mix(in srgb, var(--wp--preset--color--accent-1) 85%, transparent)",
     323                                                                "text": "var:preset|color|contrast"
     324                                                        }
     325                                                }
    309326                                        },
    310327                                        "link": {
Note: See TracChangeset for help on using the changeset viewer.