Make WordPress Core


Ignore:
Timestamp:
10/11/2022 12:42:28 AM (4 years ago)
Author:
desrosj
Message:

Twenty Twenty-Three: Bug fixes and improvements for RC1.

Most notably in this update, Twenty Twenty-Three becomes the second default theme to have the “Accessibility Ready” tag.

For a full list of changes being included, see the twentytwentythree repository on GitHub: https://github.com/WordPress/twentytwentythree/compare/ca662828b7e3ae12e03f35903a83cf2cfaa4ce4f...4ea5d832ec9b684dcbf9ac5e67ff4e9ee5ae1e16.

Follow up to [54235], [54236], [54312], [54372].

Props mikachan, madhudollu, tahmidulkarim, joen, poena, scruffian, beafialho, colorful-tones, audrasjb, critterverse, luminuu, wildworks, hiyascout, desrosj.
Fixes #56383.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentythree/styles/marigold.json

    r54372 r54467  
    11{
    2   "$schema": "https://schemas.wp.org/trunk/theme.json",
    3   "title": "Marigold",
    4   "settings": {
    5         "color": {
    6           "palette": [
    7                 {
    8                   "color": "#F6F2EC",
    9                   "name": "Base",
    10                   "slug": "base"
    11                 },
    12                 {
    13                   "color": "#21251F",
    14                   "name": "Contrast",
    15                   "slug": "contrast"
    16                 },
    17                 {
    18                   "color": "#5B4460",
    19                   "name": "Primary",
    20                   "slug": "primary"
    21                 },
    22                 {
    23                   "color": "#FCC263",
    24                   "name": "Secondary",
    25                   "slug": "secondary"
    26                 },
    27                 {
    28                   "color": "#E7A1A9",
    29                   "name": "Tertiary",
    30                   "slug": "tertiary"
     2        "$schema": "https://schemas.wp.org/trunk/theme.json",
     3        "version": 2,
     4        "title": "Marigold",
     5        "settings": {
     6                "color": {
     7                        "palette": [
     8                                {
     9                                        "color": "#F6F2EC",
     10                                        "name": "Base",
     11                                        "slug": "base"
     12                                },
     13                                {
     14                                        "color": "#21251F",
     15                                        "name": "Contrast",
     16                                        "slug": "contrast"
     17                                },
     18                                {
     19                                        "color": "#5B4460",
     20                                        "name": "Primary",
     21                                        "slug": "primary"
     22                                },
     23                                {
     24                                        "color": "#FCC263",
     25                                        "name": "Secondary",
     26                                        "slug": "secondary"
     27                                },
     28                                {
     29                                        "color": "#E7A1A9",
     30                                        "name": "Tertiary",
     31                                        "slug": "tertiary"
     32                                }
     33                        ]
     34                },
     35                "layout": {
     36                        "wideSize": "1200px"
     37                },
     38                "spacing": {
     39                        "spacingSizes": [
     40                                {
     41                                        "size": "clamp(0.625rem, 0.434rem + 0.61vw, 0.938rem)",
     42                                        "name": "1",
     43                                        "slug": "30"
     44                                },
     45                                {
     46                                        "size": "clamp(1.25rem, 0.869rem + 1.22vw, 1.875rem)",
     47                                        "name": "2",
     48                                        "slug": "40"
     49                                },
     50                                {
     51                                        "size": "clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)",
     52                                        "name": "3",
     53                                        "slug": "50"
     54                                },
     55                                {
     56                                        "size": "clamp(2.5rem, 1.738rem + 2.44vw, 3.75rem)",
     57                                        "name": "4",
     58                                        "slug": "60"
     59                                },
     60                                {
     61                                        "size": "clamp(2.813rem, 1.098rem + 5.49vw, 5.625rem)",
     62                                        "name": "5",
     63                                        "slug": "70"
     64                                },
     65                                {
     66                                        "size": "clamp(3.75rem, 1.463rem + 7.32vw, 7.5rem)",
     67                                        "name": "6",
     68                                        "slug": "80"
     69                                }
     70                        ]
     71                },
     72                "typography": {
     73                        "fontSizes": [
     74                                {
     75                                        "size": "clamp(0.875rem, 0.799rem + 0.24vw, 1rem)",
     76                                        "name": "Tiny",
     77                                        "slug": "tiny"
     78                                },
     79                                {
     80                                        "size": "clamp(1rem, 0.924rem + 0.24vw, 1.125rem)",
     81                                        "slug": "small"
     82                                },
     83                                {
     84                                        "size": "clamp(1.125rem, 1.049rem + 0.24vw, 1.25rem)",
     85                                        "name": "Normal",
     86                                        "slug": "normal"
     87                                },
     88                                {
     89                                        "size": "clamp(1.25rem, 1.021rem + 0.73vw, 1.625rem)",
     90                                        "slug": "medium"
     91                                },
     92                                {
     93                                        "size": "clamp(1.375rem, 1.07rem + 0.98vw, 1.875rem)",
     94                                        "slug": "large"
     95                                },
     96                                {
     97                                        "size": "clamp(1.75rem, 1.369rem + 1.22vw, 2.375rem)",
     98                                        "slug": "x-large"
     99                                },
     100                                {
     101                                        "size": "clamp(2.125rem, 1.706rem + 1.34vw, 2.813rem)",
     102                                        "slug": "xx-large"
     103                                },
     104                                {
     105                                        "size": "clamp(2.5rem, 1.966rem + 1.71vw, 3.375rem)",
     106                                        "name": "Huge",
     107                                        "slug": "huge"
     108                                },
     109                                {
     110                                        "size": "clamp(3.375rem, 2.384rem + 3.17vw, 5rem)",
     111                                        "name": "Gigantic",
     112                                        "slug": "gigantic"
     113                                }
     114                        ]
    31115                }
    32           ]
    33         },
    34         "layout": {
    35           "wideSize": "1200px"
    36         },
    37         "spacing": {
    38           "spacingSizes": [
    39                 {
    40                   "size": "clamp(0.625rem, 0.434rem + 0.61vw, 0.938rem)",
    41                   "name": "1",
    42                   "slug": "30"
    43                 },
    44                 {
    45                   "size": "clamp(1.25rem, 0.869rem + 1.22vw, 1.875rem)",
    46                   "name": "2",
    47                   "slug": "40"
    48                 },
    49                 {
    50                   "size": "clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)",
    51                   "name": "3",
    52                   "slug": "50"
    53                 },
    54                 {
    55                   "size": "clamp(2.5rem, 1.738rem + 2.44vw, 3.75rem)",
    56                   "name": "4",
    57                   "slug": "60"
    58                 },
    59                 {
    60                   "size": "clamp(2.813rem, 1.098rem + 5.49vw, 5.625rem)",
    61                   "name": "5",
    62                   "slug": "70"
    63                 },
    64                 {
    65                   "size": "clamp(3.75rem, 1.463rem + 7.32vw, 7.5rem)",
    66                   "name": "6",
    67                   "slug": "80"
    68                 }
    69           ]
    70         },
    71         "typography": {
    72           "fontSizes": [
    73                 {
    74                   "size": "clamp(0.875rem, 0.799rem + 0.24vw, 1rem)",
    75                   "name": "Tiny",
    76                   "slug": "tiny"
    77                 },
    78                 {
    79                   "size": "clamp(1rem, 0.924rem + 0.24vw, 1.125rem)",
    80                   "slug": "small"
    81                 },
    82                 {
    83                   "size": "clamp(1.125rem, 1.049rem + 0.24vw, 1.25rem)",
    84                   "name": "Normal",
    85                   "slug": "normal"
    86                 },
    87                 {
    88                   "size": "clamp(1.25rem, 1.021rem + 0.73vw, 1.625rem)",
    89                   "slug": "medium"
    90                 },
    91                 {
    92                   "size": "clamp(1.375rem, 1.07rem + 0.98vw, 1.875rem)",
    93                   "slug": "large"
    94                 },
    95                 {
    96                   "size": "clamp(1.75rem, 1.369rem + 1.22vw, 2.375rem)",
    97                   "slug": "x-large"
    98                 },
    99                 {
    100                   "size": "clamp(2.125rem, 1.706rem + 1.34vw, 2.813rem)",
    101                   "slug": "xx-large"
    102                 },
    103                 {
    104                   "size": "clamp(2.5rem, 1.966rem + 1.71vw, 3.375rem)",
    105                   "name": "Huge",
    106                   "slug": "huge"
    107                 },
    108                 {
    109                   "size": "clamp(3.375rem, 2.384rem + 3.17vw, 5rem)",
    110                   "name": "Gigantic",
    111                   "slug": "gigantic"
    112                 }
    113           ]
    114         }
    115116  },
    116117  "styles": {
    117         "blocks": {
    118           "core/query": {
     118                "blocks": {
     119                        "core/comment-author-name": {
     120                                "elements": {
     121                                        "link": {
     122                                                ":active": {
     123                                                        "color": {
     124                                                                "text": "var(--wp--preset--color--primary)"
     125                                                        }
     126                                                }
     127                                        }
     128                                }
     129                        },
     130                        "core/query": {
     131                                "spacing": {
     132                                        "padding": {
     133                                                "left": "0",
     134                                                "right": "0"
     135                                        }
     136                                }
     137                        },
     138                        "core/post-content": {
     139                                "elements": {
     140                                        "link": {
     141                                                "color": {
     142                                                        "text": "var(--wp--preset--color--primary)"
     143                                                }
     144                                        }
     145                                }
     146                        },
     147                        "core/post-excerpt": {
     148                                "typography": {
     149                                        "fontSize": "var(--wp--preset--font-size--normal)"
     150                                }
     151                        },
     152                        "core/post-title": {
     153                                "elements": {
     154                                        "link": {
     155                                                "typography": {
     156                                                        "fontSize": "var(--wp--preset--font-size--large)",
     157                                                        "textDecoration": "none"
     158                                                },
     159                                                "color": {
     160                                                        "text": "var(--wp--preset--color--primary)"
     161                                                }
     162                                        }
     163                                },
     164                                "spacing": {
     165                                        "margin": {
     166                                                "bottom": "var(--wp--preset--spacing--50)",
     167                                                "top": "var(--wp--preset--spacing--50)"
     168                                        }
     169                                },
     170                                "typography": {
     171                                        "fontWeight": "600"
     172                                }
     173                        },
     174                        "core/pullquote": {
     175                                "border": {
     176                                        "width": "1px 0"
     177                                }
     178                        },
     179                        "core/query-pagination": {
     180                                "elements": {
     181                                        "link": {
     182                                                "typography": {
     183                                                        "textDecoration": "none"
     184                                                }
     185                                        }
     186                                },
     187                                "typography": {
     188                                        "fontSize": "var(--wp--preset--font-size--small)",
     189                                        "fontWeight": "400"
     190                                }
     191                        },
     192                        "core/quote": {
     193                                "elements": {
     194                                        "cite": {
     195                                                "typography": {
     196                                                        "fontSize": "1.25rem"
     197                                                }
     198                                        }
     199                                },
     200                                "typography": {
     201                                        "fontSize": "1.625rem",
     202                                        "lineHeight": "1.5"
     203                                }
     204                        },
     205                        "core/site-title": {
     206                                "elements": {
     207                                        "link": {
     208                                                "typography": {
     209                                                        "fontSize": "var(--wp--preset--font-size--normal)"
     210                                                }
     211                                        }
     212                                },
     213                                "typography": {
     214                                        "textTransform": "lowercase"
     215                                }
     216                        }
     217                },
     218                "elements": {
     219                        "h1": {
     220                                "typography": {
     221                                        "fontSize": "var(--wp--preset--font-size--huge)",
     222                                        "lineHeight": "1.1"
     223                                }
     224                        },
     225                        "h2": {
     226                                "typography": {
     227                                        "fontSize": "var(--wp--preset--font-size--xx-large)",
     228                                        "lineHeight": "1.2"
     229                                }
     230                        },
     231                        "h3": {
     232                                "typography": {
     233                                        "fontSize": "var(--wp--preset--font-size--x-large)",
     234                                        "lineHeight": "1.2"
     235                                }
     236                        },
     237                        "h4": {
     238                                "typography": {
     239                                        "fontSize": "var(--wp--preset--font-size--large)",
     240                                        "fontWeight": "600"
     241                                }
     242                        },
     243                        "h5": {
     244                                "typography": {
     245                                        "fontStyle": "normal",
     246                                        "fontWeight": "600",
     247                                        "textTransform": "none"
     248                                }
     249                        },
     250                        "h6": {
     251                                "typography": {
     252                                        "fontSize": "var(--wp--preset--font-size--normal)",
     253                                        "fontStyle": "normal",
     254                                        "fontWeight": "600"
     255                                }
     256                        },
     257                        "heading": {
     258                                "typography": {
     259                                        "fontStyle": "italic"
     260                                }
     261                        },
     262                        "link": {
     263                                ":active": {
     264                                        "color": {
     265                                                "text": "var(--wp--preset--color--primary)"
     266                                        }
     267                                },
     268                                ":hover": {
     269                                        "typography": {
     270                                                "textDecoration": "none"
     271                                        }
     272                                }
     273                        },
     274                        "button": {
     275                                "border": {
     276                                        "radius": "50px"
     277                                },
     278                                "color": {
     279                                        "background": "var(--wp--preset--color--secondary)"
     280                                },
     281                                "typography": {
     282                                        "fontSize": "var(--wp--preset--font-size--normal)"
     283                                },
     284                                ":hover": {
     285                                        "color": {
     286                                                "background": "var(--wp--preset--color--tertiary)",
     287                                                "text": "var(--wp--preset--color--contrast)"
     288                                        }
     289                                },
     290                                ":focus": {
     291                                        "color": {
     292                                                "background": "var(--wp--preset--color--primary)"
     293                                        }
     294                                },
     295                                ":active": {
     296                                        "color": {
     297                                                "background": "var(--wp--preset--color--primary)"
     298                                        }
     299                                }
     300                        }
     301                },
    119302                "spacing": {
    120                   "padding": {
    121                         "left": "0",
    122                         "right": "0"
    123                   }
     303                        "blockGap": "2.5rem",
     304                        "padding": {
     305                                "bottom": "var(--wp--preset--spacing--50)",
     306                                "left": "var(--wp--preset--spacing--40)",
     307                                "right": "var(--wp--preset--spacing--40)",
     308                                "top": "var(--wp--preset--spacing--50)"
     309                        }
     310                },
     311                "typography": {
     312                        "fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
     313                        "fontSize": "var(--wp--preset--font-size--normal)",
     314                        "lineHeight": "1.5"
    124315                }
    125           },
    126           "core/post-content": {
    127                 "elements": {
    128                   "link": {
    129                         "color": {
    130                           "text": "var(--wp--preset--color--primary)"
    131                         }
    132                   }
    133                 }
    134           },
    135           "core/post-excerpt": {
    136                 "typography": {
    137                   "fontSize": "var(--wp--preset--font-size--normal)"
    138                 }
    139           },
    140           "core/post-title": {
    141                 "elements": {
    142                   "link": {
    143                         "typography": {
    144                           "fontSize": "var(--wp--preset--font-size--large)",
    145                           "textDecoration": "none"
    146                         },
    147                         "color": {
    148                           "text": "var(--wp--preset--color--primary)"
    149                         },
    150                         ":hover": {
    151                           "border": {
    152                                 "bottom": true
    153                           }
    154                         }
    155                   }
    156                 },
    157                 "spacing": {
    158                   "margin": {
    159                         "bottom": "var(--wp--preset--spacing--50)",
    160                         "top": "var(--wp--preset--spacing--50)"
    161                   }
    162                 },
    163                 "typography": {
    164                   "fontWeight": "600"
    165                 }
    166           },
    167           "core/pullquote": {
    168                 "border": {
    169                   "width": "1px 0"
    170                 }
    171           },
    172           "core/query-pagination": {
    173                 "elements": {
    174                   "link": {
    175                         "typography": {
    176                           "textDecoration": "none"
    177                         }
    178                   }
    179                 },
    180                 "typography": {
    181                   "fontSize": "var(--wp--preset--font-size--small)",
    182                   "fontWeight": "400"
    183                 }
    184           },
    185           "core/quote": {
    186                 "elements": {
    187                   "cite": {
    188                         "typography": {
    189                           "fontSize": "1.25rem"
    190                         }
    191                   }
    192                 },
    193                 "typography": {
    194                   "fontSize": "1.625rem",
    195                   "lineHeight": "1.5"
    196                 }
    197           },
    198           "core/site-title": {
    199                 "elements": {
    200                   "link": {
    201                         "typography": {
    202                           "fontSize": "var(--wp--preset--font-size--normal)"
    203                         }
    204                   }
    205                 },
    206                 "typography": {
    207                         "textTransform": "lowercase"
    208                 }
    209           }
    210         },
    211         "elements": {
    212           "h1": {
    213                 "typography": {
    214                   "fontSize": "var(--wp--preset--font-size--huge)",
    215                   "lineHeight": "1.1"
    216                 }
    217           },
    218           "h2": {
    219                 "typography": {
    220                   "fontSize": "var(--wp--preset--font-size--xx-large)",
    221                   "lineHeight": "1.2"
    222                 }
    223           },
    224           "h3": {
    225                 "typography": {
    226                   "fontSize": "var(--wp--preset--font-size--x-large)",
    227                   "lineHeight": "1.2"
    228                 }
    229           },
    230           "h4": {
    231                 "typography": {
    232           "fontSize": "var(--wp--preset--font-size--large)",
    233                   "fontWeight": "600"
    234                 }
    235           },
    236           "h5": {
    237                 "typography": {
    238                   "fontStyle": "normal",
    239                   "fontWeight": "600",
    240                   "textTransform": "none"
    241                 }
    242           },
    243           "h6": {
    244                 "typography": {
    245           "fontSize": "var(--wp--preset--font-size--normal)",
    246                   "fontStyle": "normal",
    247                   "fontWeight": "600"
    248                 }
    249           },
    250           "heading": {
    251                 "typography": {
    252                   "fontStyle": "italic"
    253                 }
    254           },
    255           "link": {
    256                 ":hover": {
    257                   "typography": {
    258                         "textDecoration": "none"
    259                   }
    260                 }
    261           },
    262           "button": {
    263                 "border": {
    264                   "radius": "50px"
    265                 },
    266                 "color": {
    267                   "background": "var(--wp--preset--color--secondary)"
    268                 },
    269                 "typography": {
    270                   "fontSize": "var(--wp--preset--font-size--normal)"
    271                 },
    272                 ":hover": {
    273                   "color": {
    274                         "background": "var(--wp--preset--color--tertiary)"
    275                   }
    276                 },
    277                 ":focus": {
    278                   "color": {
    279                         "background": "var(--wp--preset--color--primary)"
    280                   }
    281                 },
    282                 ":active": {
    283                   "color": {
    284                         "background": "var(--wp--preset--color--primary)"
    285                   }
    286                 }
    287           }
    288         },
    289         "spacing": {
    290           "blockGap": "2.5rem",
    291           "padding": {
    292                 "bottom": "var(--wp--preset--spacing--50)",
    293                 "left": "var(--wp--preset--spacing--40)",
    294                 "right": "var(--wp--preset--spacing--40)",
    295                 "top": "var(--wp--preset--spacing--50)"
    296           }
    297         },
    298         "typography": {
    299           "fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
    300           "fontSize": "var(--wp--preset--font-size--normal)",
    301           "lineHeight": "1.5"
    302316        }
    303   },
    304   "version": 2
    305317}
Note: See TracChangeset for help on using the changeset viewer.