Make WordPress Core

Changeset 57067


Ignore:
Timestamp:
11/06/2023 02:41:11 PM (13 months ago)
Author:
hellofromTonya
Message:

Twenty Twenty-Four: Bugfixes and refinement for 6.4 RC4.

This update includes the following changes:

Follow up to [57036], [56999], [56951], [56813], [56764], [56716].

Props onemaggie, richtabor, luminuu, huzaifaalmesbah, sabernhardt, poena, rajinsharwar.
Fixes #59812.

Location:
trunk/src/wp-content/themes/twentytwentyfour
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/functions.php

    r57036 r57067  
    2121     */
    2222    function twentytwentyfour_block_styles() {
     23
     24        register_block_style(
     25            'core/details',
     26            array(
     27                'name'         => 'arrow-icon-details',
     28                'label'        => __( 'Arrow icon', 'twentytwentyfour' ),
     29                /*
     30                 * Styles for the custom Arrow icon style of the Details block
     31                 */
     32                'inline_style' => '
     33                .is-style-arrow-icon-details {
     34                    padding-top: var(--wp--preset--spacing--10);
     35                    padding-bottom: var(--wp--preset--spacing--10);
     36                }
     37
     38                .is-style-arrow-icon-details summary {
     39                    list-style-type: "\2193\00a0\00a0\00a0";
     40                }
     41
     42                .is-style-arrow-icon-details[open]>summary {
     43                    list-style-type: "\2192\00a0\00a0\00a0";
     44                }',
     45            )
     46        );
     47        register_block_style(
     48            'core/post-terms',
     49            array(
     50                'name'         => 'pill',
     51                'label'        => __( 'Pill', 'twentytwentyfour' ),
     52                /*
     53                 * Styles variation for post terms
     54                 * https://github.com/WordPress/gutenberg/issues/24956
     55                 */
     56                'inline_style' => '
     57                .is-style-pill a,
     58                .is-style-pill span:not([class], [data-rich-text-placeholder]) {
     59                    display: inline-block;
     60                    background-color: var(--wp--preset--color--base-2);
     61                    padding: 0.375rem 0.875rem;
     62                    border-radius: var(--wp--preset--spacing--20);
     63                }
     64
     65                .is-style-pill a:hover {
     66                    background-color: var(--wp--preset--color--contrast-3);
     67                }',
     68            )
     69        );
     70        register_block_style(
     71            'core/list',
     72            array(
     73                'name'         => 'checkmark-list',
     74                'label'        => __( 'Checkmark', 'twentytwentyfour' ),
     75                /*
     76                 * Styles for the custom checkmark list block style
     77                 * https://github.com/WordPress/gutenberg/issues/51480
     78                 */
     79                'inline_style' => '
     80                ul.is-style-checkmark-list {
     81                    list-style-type: "\2713";
     82                }
     83
     84                ul.is-style-checkmark-list li {
     85                    padding-inline-start: 1ch;
     86                }',
     87            )
     88        );
     89        register_block_style(
     90            'core/navigation-link',
     91            array(
     92                'name'         => 'arrow-link',
     93                'label'        => __( 'With arrow', 'twentytwentyfour' ),
     94                /*
     95                 * Styles for the custom arrow nav link block style
     96                 */
     97                'inline_style' => '
     98                .is-style-arrow-link .wp-block-navigation-item__label:after {
     99                    content: "\2197";
     100                    padding-inline-start: 0.25rem;
     101                    vertical-align: middle;
     102                    text-decoration: none;
     103                    display: inline-block;
     104                }',
     105            )
     106        );
     107        register_block_style(
     108            'core/heading',
     109            array(
     110                'name'         => 'asterisk',
     111                'label'        => __( 'With asterisk', 'twentytwentyfour' ),
     112                'inline_style' => "
     113                .is-style-asterisk:before {
     114                    content: '';
     115                    width: 1.5rem;
     116                    height: 3rem;
     117                    background: var(--wp--preset--color--contrast-2, currentColor);
     118                    clip-path: path('M11.93.684v8.039l5.633-5.633 1.216 1.23-5.66 5.66h8.04v1.737H13.2l5.701 5.701-1.23 1.23-5.742-5.742V21h-1.737v-8.094l-5.77 5.77-1.23-1.217 5.743-5.742H.842V9.98h8.162l-5.701-5.7 1.23-1.231 5.66 5.66V.684h1.737Z');
     119                    display: block;
     120                }
     121
     122                /* Hide the asterisk if the heading has no content, to avoid using empty headings to display the asterisk only, which is an A11Y issue */
     123                .is-style-asterisk:empty:before {
     124                    content: none;
     125                }
     126
     127                .is-style-asterisk:-moz-only-whitespace:before {
     128                    content: none;
     129                }
     130
     131                .is-style-asterisk.has-text-align-center:before {
     132                    margin: 0 auto;
     133                }
     134
     135                .is-style-asterisk.has-text-align-right:before {
     136                    margin-left: auto;
     137                }
     138
     139                .rtl .is-style-asterisk.has-text-align-left:before {
     140                    margin-right: auto;
     141                }",
     142            )
     143        );
     144    }
     145endif;
     146
     147add_action( 'init', 'twentytwentyfour_block_styles' );
     148
     149/**
     150 * Enqueue block stylesheets.
     151 */
     152
     153if ( ! function_exists( 'twentytwentyfour_block_stylesheets' ) ) :
     154    /**
     155     * Enqueue custom block stylesheets
     156     *
     157     * @since Twenty Twenty-Four 1.0
     158     * @return void
     159     */
     160    function twentytwentyfour_block_stylesheets() {
    23161        /**
    24162         * The wp_enqueue_block_style() function allows us to enqueue a stylesheet
     
    38176            )
    39177        );
    40 
    41         register_block_style(
    42             'core/details',
    43             array(
    44                 'name'         => 'arrow-icon-details',
    45                 'label'        => __( 'Arrow icon', 'twentytwentyfour' ),
    46                 /*
    47                  * Styles for the custom Arrow icon style of the Details block
    48                  */
    49                 'inline_style' => '
    50                 .is-style-arrow-icon-details {
    51                     padding-top: var(--wp--preset--spacing--10);
    52                     padding-bottom: var(--wp--preset--spacing--10);
    53                     border-bottom: 1px solid var(--wp--preset--color--contrast-2, currentColor);
    54                 }
    55 
    56                 .is-style-arrow-icon-details summary {
    57                     list-style-type: "\2193\00a0\00a0\00a0";
    58                 }
    59 
    60                 .is-style-arrow-icon-details[open]>summary {
    61                     list-style-type: "\2192\00a0\00a0\00a0";
    62                 }',
    63             )
    64         );
    65         register_block_style(
    66             'core/post-terms',
    67             array(
    68                 'name'         => 'pill',
    69                 'label'        => __( 'Pill', 'twentytwentyfour' ),
    70                 /*
    71                  * Styles variation for post terms
    72                  * https://github.com/WordPress/gutenberg/issues/24956
    73                  */
    74                 'inline_style' => '
    75                 .is-style-pill a,
    76                 .is-style-pill span:not([class], [data-rich-text-placeholder]) {
    77                     display: inline-block;
    78                     background-color: var(--wp--preset--color--base-2);
    79                     padding: 0.375rem 0.875rem;
    80                     border-radius: var(--wp--preset--spacing--20);
    81                 }
    82 
    83                 .is-style-pill a:hover {
    84                     background-color: var(--wp--preset--color--contrast-3);
    85                 }',
    86             )
    87         );
    88         register_block_style(
    89             'core/list',
    90             array(
    91                 'name'         => 'checkmark-list',
    92                 'label'        => __( 'Checkmark', 'twentytwentyfour' ),
    93                 /*
    94                  * Styles for the custom checkmark list block style
    95                  * https://github.com/WordPress/gutenberg/issues/51480
    96                  */
    97                 'inline_style' => '
    98                 ul.is-style-checkmark-list {
    99                     list-style-type: "\2713";
    100                 }
    101 
    102                 ul.is-style-checkmark-list li {
    103                     padding-inline-start: 1ch;
    104                 }',
    105             )
    106         );
    107         register_block_style(
    108             'core/navigation-link',
    109             array(
    110                 'name'         => 'arrow-link',
    111                 'label'        => __( 'With arrow', 'twentytwentyfour' ),
    112                 /*
    113                  * Styles for the custom arrow nav link block style
    114                  */
    115                 'inline_style' => '
    116                 .is-style-arrow-link .wp-block-navigation-item__label:after {
    117                     content: "\2197";
    118                     padding-inline-start: 0.25rem;
    119                     vertical-align: middle;
    120                     text-decoration: none;
    121                     display: inline-block;
    122                 }',
    123             )
    124         );
    125         register_block_style(
    126             'core/heading',
    127             array(
    128                 'name'         => 'asterisk',
    129                 'label'        => __( 'With asterisk', 'twentytwentyfour' ),
    130                 'inline_style' => "
    131                 .is-style-asterisk:before {
    132                     content: '';
    133                     width: 1.5rem;
    134                     height: 3rem;
    135                     background: var(--wp--preset--color--contrast-2, currentColor);
    136                     clip-path: path('M11.93.684v8.039l5.633-5.633 1.216 1.23-5.66 5.66h8.04v1.737H13.2l5.701 5.701-1.23 1.23-5.742-5.742V21h-1.737v-8.094l-5.77 5.77-1.23-1.217 5.743-5.742H.842V9.98h8.162l-5.701-5.7 1.23-1.231 5.66 5.66V.684h1.737Z');
    137                     display: block;
    138                 }
    139 
    140                 /* Hide the asterisk if the heading has no content, to avoid using empty headings to display the asterisk only, which is an A11Y issue */
    141                 .is-style-asterisk:empty:before {
    142                     content: none;
    143                 }
    144 
    145                 .is-style-asterisk:-moz-only-whitespace:before {
    146                     content: none;
    147                 }
    148 
    149                 .is-style-asterisk.has-text-align-center:before {
    150                     margin: 0 auto;
    151                 }
    152 
    153                 .is-style-asterisk.has-text-align-right:before {
    154                     margin-left: auto;
    155                 }
    156 
    157                 .rtl .is-style-asterisk.has-text-align-left:before {
    158                     margin-right: auto;
    159                 }",
    160             )
    161         );
    162178    }
    163179endif;
    164180
    165 add_action( 'init', 'twentytwentyfour_block_styles' );
     181add_action( 'init', 'twentytwentyfour_block_stylesheets' );
    166182
    167183/**
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/cta-pricing.php

    r56951 r57067  
    3030        <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|20"}}}} -->
    3131        <div class="wp-block-columns alignwide">
    32             <!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|30","bottom":"var:preset|spacing|10"}},"border":{"top":{"color":"var:preset|color|base-3","width":"1px"}}}} -->
    33             <div class="wp-block-column" style="border-top-color:var(--wp--preset--color--base-3);border-top-width:1px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--30)">
     32            <!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|30","bottom":"var:preset|spacing|10"}},"border":{"top":{"color":"var:preset|color|contrast-3","width":"1px"}}}} -->
     33            <div class="wp-block-column" style="border-top-color:var(--wp--preset--color--contrast-3);border-top-width:1px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--30)">
    3434                <!-- wp:heading {"textAlign":"center","level":4,"style":{"spacing":{"padding":{"top":"1px"}}},"fontSize":"medium"} -->
    3535                <h4 class="wp-block-heading has-text-align-center has-medium-font-size" style="padding-top:1px">
     
    5353                    <!-- /wp:paragraph -->
    5454
    55                     <!-- wp:separator {"backgroundColor":"base-3"} -->
    56                     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     55                    <!-- wp:separator {"backgroundColor":"contrast-3"} -->
     56                    <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
    5757                    <!-- /wp:separator -->
    5858
     
    6363                    <!-- /wp:paragraph -->
    6464
    65                     <!-- wp:separator {"backgroundColor":"base-3"} -->
    66                     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     65                    <!-- wp:separator {"backgroundColor":"contrast-3"} -->
     66                    <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
    6767                    <!-- /wp:separator -->
    6868
     
    115115                    <!-- /wp:paragraph -->
    116116
    117                     <!-- wp:separator {"backgroundColor":"base-3"} -->
    118                     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     117                    <!-- wp:separator {"backgroundColor":"contrast-3"} -->
     118                    <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
    119119                    <!-- /wp:separator -->
    120120
     
    123123                    <!-- /wp:paragraph -->
    124124
    125                     <!-- wp:separator {"backgroundColor":"base-3"} -->
    126                     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     125                    <!-- wp:separator {"backgroundColor":"contrast-3"} -->
     126                    <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
    127127                    <!-- /wp:separator -->
    128128
     
    150150            <!-- /wp:column -->
    151151
    152             <!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|30","bottom":"var:preset|spacing|10"}},"border":{"top":{"color":"var:preset|color|base-3","width":"1px"}}}} -->
    153             <div class="wp-block-column" style="border-top-color:var(--wp--preset--color--base-3);border-top-width:1px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--30)">
     152            <!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|30","bottom":"var:preset|spacing|10"}},"border":{"top":{"color":"var:preset|color|contrast-3","width":"1px"}}}} -->
     153            <div class="wp-block-column" style="border-top-color:var(--wp--preset--color--contrast-3);border-top-width:1px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--30)">
    154154                <!-- wp:heading {"textAlign":"center","level":4,"style":{"spacing":{"padding":{"top":"1px"}}},"fontSize":"medium"} -->
    155155                <h4 class="wp-block-heading has-text-align-center has-medium-font-size" style="padding-top:1px">
     
    173173                    <!-- /wp:paragraph -->
    174174
    175                     <!-- wp:separator {"backgroundColor":"base-3"} -->
    176                     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     175                    <!-- wp:separator {"backgroundColor":"contrast-3"} -->
     176                    <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
    177177                    <!-- /wp:separator -->
    178178
     
    181181                    <!-- /wp:paragraph -->
    182182
    183                     <!-- wp:separator {"backgroundColor":"base-3"} -->
    184                     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     183                    <!-- wp:separator {"backgroundColor":"contrast-3"} -->
     184                    <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
    185185                    <!-- /wp:separator -->
    186186
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/hidden-sidebar.php

    r56951 r57067  
    2424    <!-- /wp:group -->
    2525
    26     <!-- wp:separator {"backgroundColor":"base-3","className":"is-style-wide"} -->
    27     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     26    <!-- wp:separator {"backgroundColor":"contrast","className":"is-style-wide"} -->
     27    <hr class="wp-block-separator has-text-color has-contrast-color has-alpha-channel-opacity has-contrast-background-color has-background is-style-wide"/>
    2828    <!-- /wp:separator -->
    2929
     
    3838    <!-- /wp:group -->
    3939
    40     <!-- wp:separator {"backgroundColor":"base-3","className":"is-style-wide"} -->
    41     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     40    <!-- wp:separator {"backgroundColor":"contrast","className":"is-style-wide"} -->
     41    <hr class="wp-block-separator has-text-color has-contrast-color has-alpha-channel-opacity has-contrast-background-color has-background is-style-wide"/>
    4242    <!-- /wp:separator -->
    4343
     
    6363    <!-- /wp:group -->
    6464
    65     <!-- wp:separator {"backgroundColor":"base-3","className":"is-style-wide"} -->
    66     <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" />
     65    <!-- wp:separator {"backgroundColor":"contrast","className":"is-style-wide"} -->
     66    <hr class="wp-block-separator has-text-color has-contrast-color has-alpha-channel-opacity has-contrast-background-color has-background is-style-wide"/>
    6767    <!-- /wp:separator -->
    6868
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/page-newsletter-landing.php

    r56951 r57067  
    1111?>
    1212
    13 <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}},"dimensions":{"minHeight":"100vw"}},"backgroundColor":"accent-3","layout":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"}} -->
    14 <div class="wp-block-group alignfull has-accent-3-background-color has-background" style="min-height:100vw;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)">
     13<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"accent-3","layout":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"}} -->
     14<div class="wp-block-group alignfull has-accent-3-background-color has-background" style="min-height:100vh;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)">
    1515    <!-- wp:group {"layout":{"type":"constrained"}} -->
    1616    <div class="wp-block-group">
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/text-faq.php

    r56999 r57067  
    1717    <!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
    1818    <div class="wp-block-group alignwide">
    19         <!-- wp:separator {"backgroundColor":"contrast-2","className":"is-style-wide"} -->
    20         <hr class="wp-block-separator has-text-color has-contrast-2-color has-alpha-channel-opacity has-contrast-2-background-color has-background is-style-wide"/>
     19        <!-- wp:separator {"backgroundColor":"base","className":"is-style-wide"} -->
     20        <hr class="wp-block-separator has-text-color has-base-color has-alpha-channel-opacity has-base-background-color has-background is-style-wide"/>
    2121        <!-- /wp:separator -->
    2222
    23         <!-- wp:details {"style":{"spacing":{"margin":{"top":"0"}}},"className":"is-style-arrow-icon-details","fontSize":"medium"} -->
    24         <details class="wp-block-details is-style-arrow-icon-details has-medium-font-size" style="margin-top:0">
     23        <!-- wp:details {"style":{"spacing":{"margin":{"top":"0"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"color":"var:preset|color|base","style":"solid","width":"1px"},"left":{"width":"0px","style":"none"}}},"className":"is-style-arrow-icon-details","fontSize":"medium"} -->
     24        <details class="wp-block-details is-style-arrow-icon-details has-medium-font-size" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-color:var(--wp--preset--color--base);border-bottom-style:solid;border-bottom-width:1px;border-left-style:none;border-left-width:0px;margin-top:0">
    2525            <summary><?php echo esc_html_x( 'What is your process working in smaller projects?', 'Question on the details block', 'twentytwentyfour' ); ?></summary>
    2626            <!-- wp:paragraph {"placeholder":"Type / to add a hidden block","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast-1"}}}},"textColor":"contrast-1"} -->
     
    3030        <!-- /wp:details -->
    3131
    32         <!-- wp:details {"style":{"spacing":{"margin":{"top":"0"}}},"className":"is-style-arrow-icon-details","fontSize":"medium"} -->
    33         <details class="wp-block-details is-style-arrow-icon-details has-medium-font-size" style="margin-top:0">
     32        <!-- wp:details {"style":{"spacing":{"margin":{"top":"0"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"color":"var:preset|color|base","style":"solid","width":"1px"},"left":{"width":"0px","style":"none"}}},"className":"is-style-arrow-icon-details","fontSize":"medium"} -->
     33        <details class="wp-block-details is-style-arrow-icon-details has-medium-font-size" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-color:var(--wp--preset--color--base);border-bottom-style:solid;border-bottom-width:1px;border-left-style:none;border-left-width:0px;margin-top:0">
    3434            <summary><?php echo esc_html_x( 'Who is behind Études?', 'Question on the details block', 'twentytwentyfour' ); ?></summary>
    3535            <!-- wp:paragraph {"placeholder":"Type / to add a hidden block","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast-1"}}}},"textColor":"contrast-1"} -->
     
    3939        <!-- /wp:details -->
    4040
    41         <!-- wp:details {"style":{"spacing":{"margin":{"top":"0"}}},"className":"is-style-arrow-icon-details","fontSize":"medium"} -->
    42         <details class="wp-block-details is-style-arrow-icon-details has-medium-font-size" style="margin-top:0">
     41        <!-- wp:details {"style":{"spacing":{"margin":{"top":"0"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"color":"var:preset|color|base","style":"solid","width":"1px"},"left":{"width":"0px","style":"none"}}},"className":"is-style-arrow-icon-details","fontSize":"medium"} -->
     42        <details class="wp-block-details is-style-arrow-icon-details has-medium-font-size" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-color:var(--wp--preset--color--base);border-bottom-style:solid;border-bottom-width:1px;border-left-style:none;border-left-width:0px;margin-top:0">
    4343            <summary><?php echo esc_html_x( 'I\'d like to get to meet fellow architects, how can I do that?', 'Question on the details block', 'twentytwentyfour' ); ?></summary>
    4444            <!-- wp:paragraph {"placeholder":"Type / to add a hidden block","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast-1"}}}},"textColor":"contrast-1"} -->
     
    4848        <!-- /wp:details -->
    4949
    50         <!-- wp:details {"style":{"spacing":{"margin":{"top":"0"}}},"className":"is-style-arrow-icon-details","fontSize":"medium"} -->
    51         <details class="wp-block-details is-style-arrow-icon-details has-medium-font-size" style="margin-top:0">
     50        <!-- wp:details {"style":{"spacing":{"margin":{"top":"0"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"color":"var:preset|color|base","style":"solid","width":"1px"},"left":{"width":"0px","style":"none"}}},"className":"is-style-arrow-icon-details","fontSize":"medium"} -->
     51        <details class="wp-block-details is-style-arrow-icon-details has-medium-font-size" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-color:var(--wp--preset--color--base);border-bottom-style:solid;border-bottom-width:1px;border-left-style:none;border-left-width:0px;margin-top:0">
    5252            <summary><?php echo esc_html_x( 'Can I apply to be a part of the team or work as a contractor?', 'Question on the details block', 'twentytwentyfour' ); ?></summary>
    5353            <!-- wp:paragraph {"placeholder":"Type / to add a hidden block","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast-1"}}}},"textColor":"contrast-1"} -->
  • trunk/src/wp-content/themes/twentytwentyfour/readme.txt

    r56999 r57067  
    1717* Released: November 7, 2023
    1818
    19 https://wordpress.org/support/article/twenty-twenty-four-changelog#Version_1.0
     19https://wordpress.org/documentation/article/twenty-twenty-four-changelog/#Version_1.0
    2020
    2121== Copyright ==
  • trunk/src/wp-content/themes/twentytwentyfour/styles/ember.json

    r56951 r57067  
    9797                    "name": "Base / Two",
    9898                    "slug": "base-2"
    99                 },
    100                 {
    101                     "color": "#FF3C0025",
    102                     "name": "Base / Three",
    103                     "slug": "base-3"
    10499                }
    105100            ]
  • trunk/src/wp-content/themes/twentytwentyfour/styles/fossil.json

    r56951 r57067  
    7777                    "name": "Base / Two",
    7878                    "slug": "base-2"
    79                 },
    80                 {
    81                     "color": "#1A151425",
    82                     "name": "Base / Three",
    83                     "slug": "base-3"
    8479                },
    8580                {
  • trunk/src/wp-content/themes/twentytwentyfour/styles/ice.json

    r56951 r57067  
    7777                    "name": "Base / Two",
    7878                    "slug": "base-2"
    79                 },
    80                 {
    81                     "color": "#ecf1f4",
    82                     "name": "Base / Three",
    83                     "slug": "base-3"
    8479                },
    8580                {
  • trunk/src/wp-content/themes/twentytwentyfour/styles/maelstrom.json

    r56951 r57067  
    1515                    "name": "Base / Two",
    1616                    "slug": "base-2"
    17                 },
    18                 {
    19                     "color": "#FFFFFF25",
    20                     "name": "Base / Three",
    21                     "slug": "base-3"
    2217                },
    2318                {
  • trunk/src/wp-content/themes/twentytwentyfour/styles/mint.json

    r56951 r57067  
    1515                    "name": "Base / Two",
    1616                    "slug": "base-2"
    17                 },
    18                 {
    19                     "color": "#00000025",
    20                     "name": "Base / Three",
    21                     "slug": "base-3"
    2217                },
    2318                {
  • trunk/src/wp-content/themes/twentytwentyfour/styles/onyx.json

    r56716 r57067  
    121121                },
    122122                {
    123                     "color": "#ffffff26",
    124                     "name": "Base / Three",
    125                     "slug": "base-3"
    126                 },
    127                 {
    128123                    "color": "#f9f9f9",
    129124                    "name": "Contrast",
  • trunk/src/wp-content/themes/twentytwentyfour/templates/single.html

    r56951 r57067  
    3232            <!-- /wp:spacer -->
    3333
    34             <!-- wp:separator {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"backgroundColor":"base-3","className":"is-style-wide"} -->
    35             <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" style="margin-bottom:var(--wp--preset--spacing--40)"/>
     34            <!-- wp:separator {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"backgroundColor":"contrast-3","className":"is-style-wide"} -->
     35            <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" style="margin-bottom:var(--wp--preset--spacing--40)"/>
    3636            <!-- /wp:separator -->
    3737
  • trunk/src/wp-content/themes/twentytwentyfour/theme.json

    r56951 r57067  
    113113                },
    114114                {
    115                     "color": "#00000025",
    116                     "name": "Base / Three",
    117                     "slug": "base-3"
    118                 },
    119                 {
    120115                    "color": "#111111",
    121116                    "name": "Contrast",
     
    786781            "text": "var(--wp--preset--color--contrast)"
    787782        },
    788         "css": "a{text-decoration-thickness:0.0625em;text-underline-offset: 0.15em}",
    789783        "elements": {
    790784            "button": {
Note: See TracChangeset for help on using the changeset viewer.