<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[58314] trunk: Editor: add textAlign block support.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/58314">58314</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/58314","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>ellatrix</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-06-04 05:34:12 +0000 (Tue, 04 Jun 2024)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Editor: add textAlign block support.

See https://github.com/WordPress/gutenberg/pull/59531.
See https://github.com/WordPress/gutenberg/pull/61182.
See https://github.com/WordPress/gutenberg/pull/61717.
See https://github.com/WordPress/wordpress-develop/pull/6590.

Fixes <a href="https://core.trac.wordpress.org/ticket/61256">#61256</a>.

Props wildworks, ellatrix.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpincludesblocksupportstypographyphp">trunk/src/wp-includes/block-supports/typography.php</a></li>
<li><a href="#trunksrcwpincludesclasswpthemejsonphp">trunk/src/wp-includes/class-wp-theme-json.php</a></li>
<li><a href="#trunksrcwpincludesthemejson">trunk/src/wp-includes/theme.json</a></li>
<li><a href="#trunktestsphpunitteststhemewpThemeJsonphp">trunk/tests/phpunit/tests/theme/wpThemeJson.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpincludesblocksupportstypographyphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/block-supports/typography.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/block-supports/typography.php       2024-06-04 01:46:03 UTC (rev 58313)
+++ trunk/src/wp-includes/block-supports/typography.php 2024-06-04 05:34:12 UTC (rev 58314)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,6 +31,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        $has_font_weight_support     = isset( $typography_supports['__experimentalFontWeight'] ) ? $typography_supports['__experimentalFontWeight'] : false;
</span><span class="cx" style="display: block; padding: 0 10px">        $has_letter_spacing_support  = isset( $typography_supports['__experimentalLetterSpacing'] ) ? $typography_supports['__experimentalLetterSpacing'] : false;
</span><span class="cx" style="display: block; padding: 0 10px">        $has_line_height_support     = isset( $typography_supports['lineHeight'] ) ? $typography_supports['lineHeight'] : false;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $has_text_align_support      = isset( $typography_supports['textAlign'] ) ? $typography_supports['textAlign'] : false;
</ins><span class="cx" style="display: block; padding: 0 10px">         $has_text_columns_support    = isset( $typography_supports['textColumns'] ) ? $typography_supports['textColumns'] : false;
</span><span class="cx" style="display: block; padding: 0 10px">        $has_text_decoration_support = isset( $typography_supports['__experimentalTextDecoration'] ) ? $typography_supports['__experimentalTextDecoration'] : false;
</span><span class="cx" style="display: block; padding: 0 10px">        $has_text_transform_support  = isset( $typography_supports['__experimentalTextTransform'] ) ? $typography_supports['__experimentalTextTransform'] : false;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,6 +43,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                || $has_font_weight_support
</span><span class="cx" style="display: block; padding: 0 10px">                || $has_letter_spacing_support
</span><span class="cx" style="display: block; padding: 0 10px">                || $has_line_height_support
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                || $has_text_align_support
</ins><span class="cx" style="display: block; padding: 0 10px">                 || $has_text_columns_support
</span><span class="cx" style="display: block; padding: 0 10px">                || $has_text_decoration_support
</span><span class="cx" style="display: block; padding: 0 10px">                || $has_text_transform_support
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -106,6 +108,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        $has_font_weight_support     = isset( $typography_supports['__experimentalFontWeight'] ) ? $typography_supports['__experimentalFontWeight'] : false;
</span><span class="cx" style="display: block; padding: 0 10px">        $has_letter_spacing_support  = isset( $typography_supports['__experimentalLetterSpacing'] ) ? $typography_supports['__experimentalLetterSpacing'] : false;
</span><span class="cx" style="display: block; padding: 0 10px">        $has_line_height_support     = isset( $typography_supports['lineHeight'] ) ? $typography_supports['lineHeight'] : false;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $has_text_align_support      = isset( $typography_supports['textAlign'] ) ? $typography_supports['textAlign'] : false;
</ins><span class="cx" style="display: block; padding: 0 10px">         $has_text_columns_support    = isset( $typography_supports['textColumns'] ) ? $typography_supports['textColumns'] : false;
</span><span class="cx" style="display: block; padding: 0 10px">        $has_text_decoration_support = isset( $typography_supports['__experimentalTextDecoration'] ) ? $typography_supports['__experimentalTextDecoration'] : false;
</span><span class="cx" style="display: block; padding: 0 10px">        $has_text_transform_support  = isset( $typography_supports['__experimentalTextTransform'] ) ? $typography_supports['__experimentalTextTransform'] : false;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -117,6 +120,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        $should_skip_font_style      = wp_should_skip_block_supports_serialization( $block_type, 'typography', 'fontStyle' );
</span><span class="cx" style="display: block; padding: 0 10px">        $should_skip_font_weight     = wp_should_skip_block_supports_serialization( $block_type, 'typography', 'fontWeight' );
</span><span class="cx" style="display: block; padding: 0 10px">        $should_skip_line_height     = wp_should_skip_block_supports_serialization( $block_type, 'typography', 'lineHeight' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $should_skip_text_align      = wp_should_skip_block_supports_serialization( $block_type, 'typography', 'textAlign' );
</ins><span class="cx" style="display: block; padding: 0 10px">         $should_skip_text_columns    = wp_should_skip_block_supports_serialization( $block_type, 'typography', 'textColumns' );
</span><span class="cx" style="display: block; padding: 0 10px">        $should_skip_text_decoration = wp_should_skip_block_supports_serialization( $block_type, 'typography', 'textDecoration' );
</span><span class="cx" style="display: block; padding: 0 10px">        $should_skip_text_transform  = wp_should_skip_block_supports_serialization( $block_type, 'typography', 'textTransform' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -176,6 +180,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        : null;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        if ( $has_text_align_support && ! $should_skip_text_align ) {
+               $typography_block_styles['textAlign'] = isset( $block_attributes['style']['typography']['textAlign'] )
+                       ? $block_attributes['style']['typography']['textAlign']
+                       : null;
+       }
+
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( $has_text_columns_support && ! $should_skip_text_columns && isset( $block_attributes['style']['typography']['textColumns'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $typography_block_styles['textColumns'] = isset( $block_attributes['style']['typography']['textColumns'] )
</span><span class="cx" style="display: block; padding: 0 10px">                        ? $block_attributes['style']['typography']['textColumns']
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -225,6 +235,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        $attributes = array();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $classnames = array();
</ins><span class="cx" style="display: block; padding: 0 10px">         $styles     = wp_style_engine_get_styles(
</span><span class="cx" style="display: block; padding: 0 10px">                array( 'typography' => $typography_block_styles ),
</span><span class="cx" style="display: block; padding: 0 10px">                array( 'convert_vars_to_classnames' => true )
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -231,9 +242,17 @@
</span><span class="cx" style="display: block; padding: 0 10px">        );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        if ( ! empty( $styles['classnames'] ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $attributes['class'] = $styles['classnames'];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $classnames[] = $styles['classnames'];
</ins><span class="cx" style="display: block; padding: 0 10px">         }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        if ( $has_text_align_support && ! $should_skip_text_align && isset( $block_attributes['style']['typography']['textAlign'] ) ) {
+               $classnames[] = 'has-text-align-' . $block_attributes['style']['typography']['textAlign'];
+       }
+
+       if ( ! empty( $classnames ) ) {
+               $attributes['class'] = implode( ' ', $classnames );
+       }
+
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( ! empty( $styles['css'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $attributes['style'] = $styles['css'];
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpthemejsonphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-theme-json.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-theme-json.php     2024-06-04 01:46:03 UTC (rev 58313)
+++ trunk/src/wp-includes/class-wp-theme-json.php       2024-06-04 05:34:12 UTC (rev 58314)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -256,6 +256,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                'border-left-width'                 => array( 'border', 'left', 'width' ),
</span><span class="cx" style="display: block; padding: 0 10px">                'border-left-style'                 => array( 'border', 'left', 'style' ),
</span><span class="cx" style="display: block; padding: 0 10px">                'color'                             => array( 'color', 'text' ),
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                'text-align'                        => array( 'typography', 'textAlign' ),
</ins><span class="cx" style="display: block; padding: 0 10px">                 'column-count'                      => array( 'typography', 'textColumns' ),
</span><span class="cx" style="display: block; padding: 0 10px">                'font-family'                       => array( 'typography', 'fontFamily' ),
</span><span class="cx" style="display: block; padding: 0 10px">                'font-size'                         => array( 'typography', 'fontSize' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -454,6 +455,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'fontWeight'     => null,
</span><span class="cx" style="display: block; padding: 0 10px">                        'letterSpacing'  => null,
</span><span class="cx" style="display: block; padding: 0 10px">                        'lineHeight'     => null,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        'textAlign'      => null,
</ins><span class="cx" style="display: block; padding: 0 10px">                         'textColumns'    => null,
</span><span class="cx" style="display: block; padding: 0 10px">                        'textDecoration' => null,
</span><span class="cx" style="display: block; padding: 0 10px">                        'textTransform'  => null,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -558,6 +560,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        'fontWeight'     => null,
</span><span class="cx" style="display: block; padding: 0 10px">                        'letterSpacing'  => null,
</span><span class="cx" style="display: block; padding: 0 10px">                        'lineHeight'     => null,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        'textAlign'      => null,
</ins><span class="cx" style="display: block; padding: 0 10px">                         'textColumns'    => null,
</span><span class="cx" style="display: block; padding: 0 10px">                        'textDecoration' => null,
</span><span class="cx" style="display: block; padding: 0 10px">                        'textTransform'  => null,
</span></span></pre></div>
<a id="trunksrcwpincludesthemejson"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/theme.json</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/theme.json  2024-06-04 01:46:03 UTC (rev 58313)
+++ trunk/src/wp-includes/theme.json    2024-06-04 05:34:12 UTC (rev 58314)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -303,6 +303,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        "fontWeight": true,
</span><span class="cx" style="display: block; padding: 0 10px">                        "letterSpacing": true,
</span><span class="cx" style="display: block; padding: 0 10px">                        "lineHeight": false,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                        "textAlign": true,
</ins><span class="cx" style="display: block; padding: 0 10px">                         "textDecoration": true,
</span><span class="cx" style="display: block; padding: 0 10px">                        "textTransform": true,
</span><span class="cx" style="display: block; padding: 0 10px">                        "writingMode": false
</span></span></pre></div>
<a id="trunktestsphpunitteststhemewpThemeJsonphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/theme/wpThemeJson.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/theme/wpThemeJson.php   2024-06-04 01:46:03 UTC (rev 58313)
+++ trunk/tests/phpunit/tests/theme/wpThemeJson.php     2024-06-04 05:34:12 UTC (rev 58314)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -516,6 +516,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                                ),
</span><span class="cx" style="display: block; padding: 0 10px">                                                        ),
</span><span class="cx" style="display: block; padding: 0 10px">                                                ),
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                'core/media-text'   => array(
+                                                       'typography' => array(
+                                                               'textAlign' => 'center',
+                                                       ),
+                                               ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                                 'core/post-date'    => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                        'color'    => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                                                'text' => '#123456',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -560,7 +565,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $variables = ':root{--wp--preset--color--grey: grey;--wp--preset--gradient--custom-gradient: linear-gradient(135deg,rgba(0,0,0) 0%,rgb(0,0,0) 100%);--wp--preset--font-size--small: 14px;--wp--preset--font-size--big: 41px;--wp--preset--font-family--arial: Arial, serif;}.wp-block-group{--wp--custom--base-font: 16;--wp--custom--line-height--small: 1.2;--wp--custom--line-height--medium: 1.4;--wp--custom--line-height--large: 1.8;}';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $styles    = ':where(body) { margin: 0; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}.is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-constrained > .aligncenter{margin-left: auto !important;mar
 gin-right: auto !important;}.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left: auto !important;margin-right: auto !important;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:root :where(body){color: var(--wp--preset--color--grey);}:root :where(a:where(:not(.wp-element-button))){background-color: #333;color: #111;}:root :where(.wp-element-button, .wp-block-button__link){box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.66);}:root :where(.wp-block-cover){min-height: unset;aspect-ratio: 16/9;}:root :where(.wp-block-group){background: var(--wp--preset--gradient--custom-gradient);border-radius: 10px;min-height: 50vh;padding: 24px;}:root :where(.wp-block-group a:where(:not(.wp-element-button))){color: #111;}:root :where(.wp-block-heading){color: #123456;}:root :where(.wp-block-heading 
 a:where(:not(.wp-element-button))){background-color: #333;color: #111;font-size: 60px;}:root :where(.wp-block-post-date){color: #123456;}:root :where(.wp-block-post-date a:where(:not(.wp-element-button))){background-color: #777;color: #555;}:root :where(.wp-block-post-excerpt){column-count: 2;}:root :where(.wp-block-image){margin-bottom: 30px;}:root :where(.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder){border-top-left-radius: 10px;border-bottom-right-radius: 1em;}:root :where(.wp-block-image img, .wp-block-image .components-placeholder){filter: var(--wp--preset--duotone--custom-duotone);}';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $styles    = ':where(body) { margin: 0; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}.is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}.is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}.is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}.is-layout-constrained > .aligncenter{margin-left: auto !important;marg
 in-right: auto !important;}.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){margin-left: auto !important;margin-right: auto !important;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:root :where(body){color: var(--wp--preset--color--grey);}:root :where(a:where(:not(.wp-element-button))){background-color: #333;color: #111;}:root :where(.wp-element-button, .wp-block-button__link){box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.66);}:root :where(.wp-block-cover){min-height: unset;aspect-ratio: 16/9;}:root :where(.wp-block-group){background: var(--wp--preset--gradient--custom-gradient);border-radius: 10px;min-height: 50vh;padding: 24px;}:root :where(.wp-block-group a:where(:not(.wp-element-button))){color: #111;}:root :where(.wp-block-heading){color: #123456;}:root :where(.wp-block-heading a
 :where(:not(.wp-element-button))){background-color: #333;color: #111;font-size: 60px;}:root :where(.wp-block-media-text){text-align: center;}:root :where(.wp-block-post-date){color: #123456;}:root :where(.wp-block-post-date a:where(:not(.wp-element-button))){background-color: #777;color: #555;}:root :where(.wp-block-post-excerpt){column-count: 2;}:root :where(.wp-block-image){margin-bottom: 30px;}:root :where(.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder){border-top-left-radius: 10px;border-bottom-right-radius: 1em;}:root :where(.wp-block-image img, .wp-block-image .components-placeholder){filter: var(--wp--preset--duotone--custom-duotone);}';
</ins><span class="cx" style="display: block; padding: 0 10px">                 $presets   = '.has-grey-color{color: var(--wp--preset--color--grey) !important;}.has-grey-background-color{background-color: var(--wp--preset--color--grey) !important;}.has-grey-border-color{border-color: var(--wp--preset--color--grey) !important;}.has-custom-gradient-gradient-background{background: var(--wp--preset--gradient--custom-gradient) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-big-font-size{font-size: var(--wp--preset--font-size--big) !important;}.has-arial-font-family{font-family: var(--wp--preset--font-family--arial) !important;}';
</span><span class="cx" style="display: block; padding: 0 10px">                $all       = $variables . $styles . $presets;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre>
</div>
</div>

</body>
</html>