Make WordPress Core


Ignore:
Timestamp:
10/29/2024 12:00:46 AM (6 months ago)
Author:
peterwilsoncc
Message:

Bundled Themes: Update Twenty Twenty-Five for 6.7 RC 2.

This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into WordPress-Develop for 6.7 RC 2

A full list of changes can be found on GitHub: WordPress/twentytwentyfive@7dfa99f1...b5b0475f.

Props juanfra, poena.
See #62310.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfive/styles/typography/typography-preset-3.json

    r59233 r59314  
    66    "settings": {
    77        "typography": {
     8            "fontFamilies": [
     9                {
     10                    "name": "Platypi",
     11                    "slug": "platypi",
     12                    "fontFamily": "Platypi",
     13                    "fontFace": [
     14                        {
     15                            "fontFamily": "Platypi",
     16                            "fontStyle": "normal",
     17                            "fontWeight": "300 800",
     18                            "src": [
     19                                "file:./assets/fonts/platypi/Platypi-VariableFont_wght.woff2"
     20                            ]
     21                        },
     22                        {
     23                            "fontFamily": "Platypi",
     24                            "fontStyle": "italic",
     25                            "fontWeight": "300 800",
     26                            "src": [
     27                                "file:./assets/fonts/platypi/Platypi-Italic-VariableFont_wght.woff2"
     28                            ]
     29                        }
     30                    ]
     31                },
     32                {
     33                    "name": "Ysabeau Office",
     34                    "slug": "ysabeau-office",
     35                    "fontFamily": "\"Ysabeau Office\", sans-serif",
     36                    "fontFace": [
     37                        {
     38                            "src": [
     39                                "file:./assets/fonts/ysabeau-office/YsabeauOffice-VariableFont_wght.woff2"
     40                            ],
     41                            "fontWeight": "100 900",
     42                            "fontStyle": "normal",
     43                            "fontFamily": "\"Ysabeau Office\""
     44                        },
     45                        {
     46                            "src": [
     47                                "file:./assets/fonts/ysabeau-office/YsabeauOffice-Italic-VariableFont_wght.woff2"
     48                            ],
     49                            "fontWeight": "100 900",
     50                            "fontStyle": "italic",
     51                            "fontFamily": "\"Ysabeau Office\""
     52                        }
     53                    ]
     54                }
     55            ],
    856            "fontSizes": [
    957                {
     
    3381                {
    3482                    "fluid": {
    35                         "max": "2rem",
    36                         "min": "1.75rem"
     83                        "max": "1.8rem",
     84                        "min": "1.4rem"
    3785                    },
    3886                    "name": "Extra Large",
    39                     "size": "1.75rem",
     87                    "size": "1.4rem",
    4088                    "slug": "x-large"
    4189                },
    4290                {
    4391                    "fluid": {
    44                         "max": "3.625rem",
    45                         "min": "2.625rem"
     92                        "max": "2.6rem",
     93                        "min": "2rem"
    4694                    },
    4795                    "name": "Extra Extra Large",
    48                     "size": "2.625rem",
     96                    "size": "2rem",
    4997                    "slug": "xx-large"
    5098                }
     
    55103        "typography": {
    56104            "fontFamily": "var:preset|font-family|ysabeau-office",
    57             "fontWeight": "400",
    58105            "letterSpacing": "-0.22px",
    59             "lineHeight": "1.6"
     106            "lineHeight": "1.5"
    60107        },
    61108        "blocks":{
     
    63110                "typography": {
    64111                    "letterSpacing": "0px"
     112                }
     113            },
     114            "core/heading": {
     115                "typography": {
     116                    "lineHeight": "1.2"
    65117                }
    66118            },
     
    75127                }
    76128            },
    77             "core/post-author": {
    78                 "typography": {
    79                     "fontSize": "var:preset|font-size|medium"
    80                 }
    81             },
    82             "core/post-author-biography": {
    83                 "typography": {
    84                     "fontSize": "var:preset|font-size|medium"
    85                 }
    86             },
    87             "core/post-author-name": {
    88                 "typography": {
    89                     "fontSize": "var:preset|font-size|medium"
    90                 }
    91             },
    92129            "core/post-terms": {
    93130                "typography": {
    94131                    "fontWeight": "400"
    95                 }
    96             },
    97             "core/post-title": {
    98                 "typography": {
    99                     "fontWeight": "500",
    100                     "letterSpacing": "-0.8px"
    101132                }
    102133            },
     
    116147                "typography": {
    117148                    "fontFamily": "var:preset|font-family|ysabeau-office",
    118                     "fontSize": "var:preset|font-size|medium",
     149                    "fontSize": "var:preset|font-size|large",
    119150                    "letterSpacing": "1.44px",
    120151                    "textTransform": "uppercase"
     
    135166                    "fontFamily": "var:preset|font-family|platypi"
    136167                }
     168            },
     169            "h5": {
     170                "typography": {
     171                    "fontSize": "var:preset|font-size|medium",
     172                    "letterSpacing": "normal"
     173                }
     174            },
     175            "h6": {
     176                "typography": {
     177                    "fontSize": "var:preset|font-size|small",
     178                    "fontWeight": "400",
     179                    "fontStyle": "initial",
     180                    "letterSpacing": "initial",
     181                    "textTransform": "initial"
     182                }
    137183            }
    138184        }
Note: See TracChangeset for help on using the changeset viewer.