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-2.json

    r59233 r59314  
    44    "title": "Vollkorn & Fira Code",
    55    "slug": "typography-preset-2",
     6    "settings": {
     7        "typography": {
     8            "fontFamilies": [
     9                {
     10                    "name": "Vollkorn",
     11                    "slug": "vollkorn",
     12                    "fontFamily": "Vollkorn, serif",
     13                    "fontFace": [
     14                        {
     15                            "src": [
     16                                "file:./assets/fonts/vollkorn/Vollkorn-Italic-VariableFont_wght.woff2"
     17                            ],
     18                            "fontWeight": "400 900",
     19                            "fontStyle": "italic",
     20                            "fontFamily": "Vollkorn"
     21                        },
     22                        {
     23                            "src": [
     24                                "file:./assets/fonts/vollkorn/Vollkorn-VariableFont_wght.woff2"
     25                            ],
     26                            "fontWeight": "400 900",
     27                            "fontStyle": "normal",
     28                            "fontFamily": "Vollkorn"
     29                        }
     30                    ]
     31                },
     32                {
     33                    "name": "Fira Code",
     34                    "slug": "fira-code",
     35                    "fontFamily": "\"Fira Code\", monospace",
     36                    "fontFace": [
     37                        {
     38                            "src": [
     39                                "file:./assets/fonts/fira-code/FiraCode-VariableFont_wght.woff2"
     40                            ],
     41                            "fontWeight": "300 700",
     42                            "fontStyle": "normal",
     43                            "fontFamily": "\"Fira Code\""
     44                        }
     45                    ]
     46                }
     47            ]
     48        }
     49    },
    650    "styles": {
    751        "typography": {
     
    1559                "typography": {
    1660                    "fontWeight": "300"
    17                 },
    18                 "elements": {
    19                     "link": {
    20                         "typography": {
    21                             "textDecoration": "underline"
    22                         },
    23                         ":hover": {
    24                             "typography": {
    25                                 "textDecoration": "none"
    26                             }
    27                         }
    28                     }
    2961                }
    3062            },
     
    3264                "typography": {
    3365                    "fontWeight": "300"
    34                 },
    35                 "elements": {
    36                     "link": {
    37                         "typography": {
    38                             "textDecoration": "underline"
    39                         },
    40                         ":hover": {
    41                             "typography": {
    42                                 "textDecoration": "none"
    43                             }
    44                         }
    45                     }
    4666                }
    4767            },
     
    126146                }
    127147            }
    128         },
    129         "variations": {
    130             "post-terms-1": {
    131                 "elements": {
    132                     "link": {
    133                         "typography": {
    134                             "textDecoration": "none"
    135                         },
    136                         ":hover": {
    137                             "typography": {
    138                                 "textDecoration": "underline"
    139                             }
    140                         }
    141                     }
    142                 }
    143             }
    144148        }
    145149    }
Note: See TracChangeset for help on using the changeset viewer.