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/04-afternoon.json

    r59146 r59233  
    7676                {
    7777                    "fluid": {
    78                         "max": "2rem",
    79                         "min": "1.75rem"
     78                        "max": "1.8rem",
     79                        "min": "1.4rem"
    8080                    },
    8181                    "name": "Extra Large",
    82                     "size": "1.75rem",
     82                    "size": "1.4rem",
    8383                    "slug": "x-large"
    8484                },
    8585                {
    8686                    "fluid": {
    87                         "max": "3.625rem",
    88                         "min": "2.625rem"
     87                        "max": "2.6rem",
     88                        "min": "2rem"
    8989                    },
    9090                    "name": "Extra Extra Large",
    91                     "size": "2.625rem",
     91                    "size": "2rem",
    9292                    "slug": "xx-large"
    9393                }
     
    9898        "typography": {
    9999            "fontFamily": "var:preset|font-family|ysabeau-office",
    100             "fontStyle": "normal",
    101             "fontWeight": "400",
    102100            "letterSpacing": "-0.22px",
    103             "lineHeight": "1.6"
     101            "lineHeight": "1.5"
    104102        },
    105103        "blocks": {
     
    131129            "core/code": {
    132130                "typography": {
    133                     "fontSize": "var:preset|font-size|medium",
    134                     "fontStyle": "normal",
    135                     "fontWeight": "300",
    136131                    "letterSpacing": "0px"
    137132                }
    138133            },
     134            "core/heading": {
     135                "typography": {
     136                    "lineHeight": "1.2"
     137                }
     138            },
    139139            "core/list": {
    140140                "typography": {
     
    147147                }
    148148            },
    149             "core/post-author": {
    150                 "typography": {
    151                     "fontSize": "var:preset|font-size|medium"
    152                 }
    153             },
    154             "core/post-author-biography": {
    155                 "typography": {
    156                     "fontSize": "var:preset|font-size|medium"
    157                 }
    158             },
    159             "core/post-author-name": {
    160                 "typography": {
    161                     "fontSize": "var:preset|font-size|medium"
    162                 }
    163             },
    164149            "core/post-terms": {
    165150                "typography": {
    166                     "fontStyle": "normal",
    167151                    "fontWeight": "400"
    168                 }
    169             },
    170             "core/post-title": {
    171                 "typography": {
    172                     "fontStyle": "normal",
    173                     "fontWeight": "500",
    174                     "letterSpacing": "-0.8px"
    175152                }
    176153            },
     
    184161            "core/quote": {
    185162                "typography": {
    186                     "fontStyle": "normal",
    187163                    "fontWeight": "300"
    188164                }
     
    191167                "typography": {
    192168                    "fontFamily": "var:preset|font-family|ysabeau-office",
    193                     "fontSize": "var:preset|font-size|medium",
     169                    "fontSize": "var:preset|font-size|large",
    194170                    "letterSpacing": "1.44px",
    195171                    "textTransform": "uppercase"
     
    204180                    "letterSpacing": "1.44px",
    205181                    "textTransform": "uppercase"
     182                },
     183                ":hover": {
     184                    "color": {
     185                        "background": "color-mix(in srgb, var(--wp--preset--color--contrast) 85%, black)"
     186                    }
    206187                }
    207188            },
     
    209190                "typography": {
    210191                    "fontFamily": "var:preset|font-family|platypi"
     192                }
     193            },
     194            "h5": {
     195                "typography": {
     196                    "fontSize": "var:preset|font-size|medium"
     197                }
     198            },
     199            "h6": {
     200                "typography": {
     201                    "fontSize": "var:preset|font-size|small",
     202                    "fontWeight": "400",
     203                    "fontStyle": "initial",
     204                    "letterSpacing": "initial",
     205                    "textTransform": "initial"
    211206                }
    212207            }
     
    231226                    }
    232227                }
     228            },
     229            "section-4": {
     230                "elements": {
     231                    "button": {
     232                        ":hover": {
     233                            "color": {
     234                                "background": "color-mix(in srgb, var(--wp--preset--color--accent-2) 85%, transparent)"
     235                            }
     236                        }
     237                    }
     238                }
     239            },
     240            "section-5": {
     241                "elements": {
     242                    "button": {
     243                        ":hover": {
     244                            "color": {
     245                                "background": "color-mix(in srgb, var(--wp--preset--color--base) 90%, transparent)"
     246                            }
     247                        }
     248                    }
     249                }
    233250            }
    234251        }
Note: See TracChangeset for help on using the changeset viewer.