Index: src/wp-content/themes/twentytwenty/functions.php
===================================================================
--- src/wp-content/themes/twentytwenty/functions.php	(revision 56400)
+++ src/wp-content/themes/twentytwenty/functions.php	(working copy)
@@ -434,7 +434,11 @@
 	wp_enqueue_script( 'twentytwenty-block-editor-script', get_theme_file_uri( '/assets/js/editor-script-block.js' ), array( 'wp-blocks', 'wp-dom' ), wp_get_theme()->get( 'Version' ), true );
 }
 
-add_action( 'enqueue_block_editor_assets', 'twentytwenty_block_editor_styles', 1, 1 );
+if ( is_admin() && version_compare( $GLOBALS['wp_version'], '6.3', '>=' ) ) {
+	add_action( 'enqueue_block_assets', 'twentytwenty_block_editor_styles', 1, 1 );
+} else {
+	add_action( 'enqueue_block_editor_assets', 'twentytwenty_block_editor_styles', 1, 1 );
+}
 
 /**
  * Enqueue classic editor styles.
Index: src/wp-content/themes/twentytwenty/inc/custom-css.php
===================================================================
--- src/wp-content/themes/twentytwenty/inc/custom-css.php	(revision 56400)
+++ src/wp-content/themes/twentytwenty/inc/custom-css.php	(working copy)
@@ -145,7 +145,7 @@
 
 			// Text color.
 			if ( $body && $body !== $body_default ) {
-				twentytwenty_generate_css( 'body .editor-styles-wrapper, .editor-post-title__block .editor-post-title__input, .editor-post-title__block .editor-post-title__input:focus', 'color', $body );
+				twentytwenty_generate_css( 'html .editor-styles-wrapper, .editor-post-title__block .editor-post-title__input, .editor-post-title__block .editor-post-title__input:focus', 'color', $body );
 			}
 
 			// Secondary color.
