<!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>[43793] branches/5.0/src/wp-content/themes/twentyten: Twenty Ten: Add styles and support for the new block-based editor.</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/43793">43793</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/43793","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>davidakennedy</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2018-10-22 22:37:18 +0000 (Mon, 22 Oct 2018)</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'>Twenty Ten: Add styles and support for the new block-based editor.

This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Ten. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme's existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme's existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
* Add theme support for `editor-color-palette`, to load a color palette based on the theme's color scheme into the block-based editor.

Props nielslange, crunnells, laurelfulford.
Fixes <a href="https://core.trac.wordpress.org/ticket/45038">#45038</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branches50srcwpcontentthemestwentytenfunctionsphp">branches/5.0/src/wp-content/themes/twentyten/functions.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#branches50srcwpcontentthemestwentytenblockscss">branches/5.0/src/wp-content/themes/twentyten/blocks.css</a></li>
<li><a href="#branches50srcwpcontentthemestwentyteneditorblockscss">branches/5.0/src/wp-content/themes/twentyten/editor-blocks.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branches50srcwpcontentthemestwentytenblockscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: branches/5.0/src/wp-content/themes/twentyten/blocks.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-content/themes/twentyten/blocks.css                           (rev 0)
+++ branches/5.0/src/wp-content/themes/twentyten/blocks.css     2018-10-22 22:37:18 UTC (rev 43793)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,248 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*
+Theme Name: Twenty Ten
+Description: Used to style Gutenberg Blocks.
+*/
+
+/*--------------------------------------------------------------
+>>> TABLE OF CONTENTS:
+----------------------------------------------------------------
+1.0 General Block Styles
+2.0 Blocks - Common Blocks
+3.0 Blocks - Formatting
+4.0 Blocks - Layout Elements
+5.0 Blocks - Widgets
+6.0 Blocks - Colors
+--------------------------------------------------------------*/
+
+/*--------------------------------------------------------------
+1.0 General Block Styles
+--------------------------------------------------------------*/
+
+/* Captions */
+
+[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
+       color: #777;
+       font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
+}
+
+/* Alignments */
+
+[class^="wp-block-"].alignleft,
+[class^="wp-block-"] .alignleft {
+       margin-right: 24px;
+}
+
+[class^="wp-block-"].alignright,
+[class^="wp-block-"] .alignright {
+       margin-left: 24px;
+}
+
+/*--------------------------------------------------------------
+2.0 Blocks - Common Blocks
+--------------------------------------------------------------*/
+
+/* Paragraph */
+
+p.has-drop-cap:not(:focus)::first-letter {
+       font-size: 5em;
+       margin-top: 0.1em;
+}
+
+/* Image */
+
+.wp-block-image figure {
+       margin-bottom: 24px;
+}
+
+.wp-block-image figcaption {
+       margin: -7px 0 20px;;
+       padding: 9px 9px 1.0em;
+       text-align: center;
+}
+
+.wp-block-image.alignfull,
+.wp-block-image.alignfull img {
+       margin: 0;
+}
+
+/* Gallery */
+
+.wp-block-gallery {
+       margin: 0 0 24px;
+}
+
+.wp-block-gallery .blocks-gallery-image figcaption,
+.wp-block-gallery .blocks-gallery-item figcaption {
+       font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
+       left: 0;
+       right: 0;
+       width: auto;
+}
+
+/* Quotes */
+
+.wp-block-quote:not(.is-large):not(.is-style-large) {
+       border: none;
+       padding: 0 3em;
+}
+
+.wp-block-quote cite {
+       color: inherit;
+       font-size: inherit;
+       font-weight: 600;
+}
+
+/* Audio */
+
+.wp-block-audio {
+       margin-left: 0;
+       margin-right: 0;
+}
+
+.wp-block-audio audio {
+       display: block;
+       width: 100%;
+}
+
+/* File */
+
+.rtl .wp-block-file * + .wp-block-file__button {
+       margin: 0 0 0 0.75em;
+}
+
+/*--------------------------------------------------------------
+3.0 Blocks - Formatting
+--------------------------------------------------------------*/
+
+/* Code */
+
+.wp-block-code {
+       background-color: transparent;
+       border: 0;
+       padding: 0;
+}
+
+/* Pullquote */
+
+.wp-block-pullquote p {
+       font-size: 1.5em;
+}
+
+.wp-block-pullquote__citation,
+.wp-block-pullquote cite {
+       color: inherit;
+       font-size: inherit;
+       font-weight: 600;
+       text-transform: none;
+}
+
+/* Table */
+
+.wp-block-table td,
+.wp-block-table th {
+       border: none;
+}
+
+.wp-block-table td {
+       border-top: 1px solid #e7e7e7;
+}
+
+.wp-block-table tr:nth-child(odd) td {
+       background: #f2f7fc;
+}
+
+/*--------------------------------------------------------------
+4.0 Blocks - Layout Elements
+--------------------------------------------------------------*/
+
+/* Columns */
+
+.wp-block-columns {
+       margin: 0 -0.5em;
+}
+.wp-block-column {
+       margin: 0 0.5em;
+}
+
+/* Separator */
+
+.wp-block-separator {
+       border: 0;
+}
+
+/*--------------------------------------------------------------
+5.0 Blocks - Widgets
+--------------------------------------------------------------*/
+
+/* Archives, Categories & Latest Posts */
+
+.wp-block-archives.aligncenter,
+.wp-block-categories.aligncenter,
+.wp-block-latest-posts.aligncenter {
+       margin-left: 20px;
+       text-align: center;
+}
+
+.rtl .wp-block-archives.aligncenter,
+.rtl .wp-block-categories.aligncenter,
+.rtl .wp-block-latest-posts.aligncenter {
+       margin-left: 0;
+       margin-right: 20px;
+}
+
+/* Latest Comments */
+
+.wp-block-latest-comments {
+       margin: 0 0 24px;
+}
+
+/* Latest Posts */
+
+.wp-block-latest-posts.is-grid {
+       margin-left: 0;
+       margin-right: 0;
+}
+
+/*--------------------------------------------------------------
+6.0 Blocks - Colors
+--------------------------------------------------------------*/
+
+.has-blue-color {
+       color: #0066cc;
+}
+
+.has-blue-background-color {
+       background-color: #0066cc;
+}
+
+.has-black-color {
+       color: #000;
+}
+
+.has-black-background-color {
+       background-color: #000;
+}
+
+.has-medium-gray-color {
+       color: #666;
+}
+
+.has-medium-gray-background-color {
+       background-color: #666;
+}
+
+.has-light-gray-color {
+       color: #f1f1f1;
+}
+
+.has-light-gray-background-color {
+       background-color: #f1f1f1;
+}
+
+.has-white-color {
+       color: #fff;
+}
+
+.has-white-background-color {
+       background-color: #fff;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: branches/5.0/src/wp-content/themes/twentyten/blocks.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="branches50srcwpcontentthemestwentyteneditorblockscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: branches/5.0/src/wp-content/themes/twentyten/editor-blocks.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-content/themes/twentyten/editor-blocks.css                            (rev 0)
+++ branches/5.0/src/wp-content/themes/twentyten/editor-blocks.css      2018-10-22 22:37:18 UTC (rev 43793)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,299 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*
+Theme Name: Twenty Ten
+Description: Used to style Gutenberg Blocks in the editor.
+*/
+
+/*--------------------------------------------------------------
+>>> TABLE OF CONTENTS:
+----------------------------------------------------------------
+1.0 General Typography
+2.0 General Block Styles
+3.0 Blocks - Common Blocks
+4.0 Blocks - Formatting
+5.0 Blocks - Widgets
+--------------------------------------------------------------*/
+
+/*--------------------------------------------------------------
+1.0 General Typography
+--------------------------------------------------------------*/
+
+.edit-post-visual-editor .editor-block-list__block .mce-content-body,
+.wp-block-freeform.block-library-rich-text__tinymce p,
+.wp-block-freeform.block-library-rich-text__tinymce li {
+       line-height: 1.5;
+}
+
+.edit-post-visual-editor .editor-block-list__block {
+       color: #1a1a1a;
+}
+
+.editor-post-title__block .editor-post-title__input {
+       color: #000;
+       font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
+       font-size: 21px;
+       font-weight: bold;
+       line-height: 1.3em;
+}
+
+.edit-post-visual-editor .editor-block-list__block h1 {
+       font-size: 32px;
+}
+
+.edit-post-visual-editor .editor-block-list__block h2 {
+       font-size: 24px;
+}
+
+.edit-post-visual-editor .editor-block-list__block h3 {
+       font-size: 19px;
+}
+
+.edit-post-visual-editor .editor-block-list__block h4 {
+       font-size: 16px;
+}
+
+.edit-post-visual-editor .editor-block-list__block h5 {
+       font-size: 13px;
+}
+
+.edit-post-visual-editor .editor-block-list__block h6 {
+       font-size: 11px;
+}
+
+/*--------------------------------------------------------------
+2.0 General Block Styles
+--------------------------------------------------------------*/
+
+/* Main column width */
+
+body.gutenberg-editor-page .edit-post-visual-editor .editor-post-title__block,
+body.gutenberg-editor-page .edit-post-visual-editor .editor-default-block-appender,
+body.gutenberg-editor-page .edit-post-visual-editor .editor-block-list__block {
+       max-width: 670px; /* 640px + 30px for padding */
+}
+
+/* Link styles */
+
+.edit-post-visual-editor a,
+.editor-block-list__block a,
+.wp-block-freeform.block-library-rich-text__tinymce a {
+       color: #0066cc;
+}
+
+/* List styles */
+
+.edit-post-visual-editor ul:not(.wp-block-gallery),
+.editor-block-list__block ul:not(.wp-block-gallery),
+.block-library-list ul,
+.edit-post-visual-editor ol,
+.editor-block-list__block ol,
+.block-library-list ol.editor-rich-text__tinymce {
+       margin: 0 0 18px 1.5em;
+       padding: 0;
+}
+
+.edit-post-visual-editor ul:not(.wp-block-gallery),
+.editor-block-list__block ul:not(.wp-block-gallery),
+.block-library-list ul {
+       list-style: square;
+}
+
+.edit-post-visual-editor ol,
+.editor-block-list__block ol,
+.block-library-list ol {
+       list-style: decimal;
+       margin-left: 1.5em;
+}
+
+.edit-post-visual-editor ul:not(.wp-block-gallery) li,
+.editor-block-list__block ul:not(.wp-block-gallery) li,
+.edit-post-visual-editor ol li,
+.editor-block-list__block ol li,
+.block-library-list li {
+       margin-bottom: 0;
+}
+
+.edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
+.editor-block-list__block ul:not(.wp-block-gallery) li > ul,
+.block-library-list li > ul,
+.edit-post-visual-editor li > ol,
+.editor-block-list__block li > ol,
+.block-library-list li > ol {
+       margin-bottom: 0;
+}
+
+.rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
+.rtl .editor-block-list__block ul:not(.wp-block-gallery),
+.rtl .block-library-list ul,
+.rtl .edit-post-visual-editor ol,
+.rtl .editor-block-list__block ol,
+.rtl .block-library-list ol {
+       margin-left: 0;
+       margin-right: 1.25em;
+       padding: 0;
+}
+
+/* Caption styles */
+
+[class^="wp-block-"] figcaption {
+       color: #777;
+       font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
+}
+
+/* Code styles */
+
+.wp-block-freeform.block-library-rich-text__tinymce code {
+       background: transparent;
+}
+
+/* Quote styles */
+
+.wp-block-freeform.block-library-rich-text__tinymce blockquote {
+       border: 0;
+       padding: 0 3em;
+}
+
+/* Table styles */
+
+.editor-block-list__block tr th,
+.editor-block-list__block tr th a {
+       font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
+}
+
+/* Definition List styles */
+
+.editor-block-list__block dd {
+       margin-left: 0;
+       margin-right: 0;
+}
+
+/*--------------------------------------------------------------
+3.0 Blocks - Common Blocks
+--------------------------------------------------------------*/
+
+/* Paragraph */
+
+p.has-drop-cap:not(:focus)::first-letter {
+       font-size: 5em;
+       margin-top: 0.1em;
+}
+
+/* Image */
+
+.wp-block-image {
+       margin-bottom: 20px;
+}
+
+.wp-block-image figcaption {
+       display: block;
+       margin: -7px 0 0;
+       padding: 9px 9px 1.0em;
+       text-align: center;
+}
+
+/* Gallery */
+
+.editor-block-list__block .wp-block-gallery {
+       margin: 0 0 24px;
+}
+
+/* Quote */
+
+.wp-block-quote {
+       border: 0;
+       padding: 0 3em;
+}
+
+.wp-block-quote:not(.is-large):not(.is-style-large) {
+       border: 0;
+       padding: 0 3em;
+}
+
+.wp-block-quote .wp-block-quote__citation {
+       font-size: 16px;
+       font-weight: 600;
+}
+
+.wp-block-quote.is-large .wp-block-quote__citation,
+.wp-block-quote.is-style-large .wp-block-quote__citation  {
+       font-size: 18px;
+}
+
+/* Cover Image */
+
+.wp-block-cover-image-text {
+       font-size: 32px;
+}
+
+/* File */
+
+.wp-block-file .wp-block-file__textlink .editor-rich-text__tinymce {
+       color: #0066cc;
+       font-size: 16px;
+       text-decoration: underline;
+}
+
+/*--------------------------------------------------------------
+4.0 Blocks - Formatting
+--------------------------------------------------------------*/
+
+/* Code */
+
+.wp-block-code {
+       border: 0;
+       padding: 0;
+}
+
+/* Pullquote */
+
+.wp-block-pullquote blockquote > .editor-rich-text p {
+       font-size: 1.5em;
+}
+
+.wp-block-pullquote .wp-block-pullquote__citation {
+       color: inherit;
+       font-size: inherit;
+       font-weight: 600;
+       text-transform: none;
+}
+
+/* Table */
+
+.wp-block-table tr:nth-child(odd) td {
+       background: #f2f7fc;
+}
+
+.wp-block-table th .wp-block-table__cell-content {
+       color: #777;
+       font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
+}
+
+.editor-block-list__block .wp-block-table tr td {
+       padding-bottom: 0;
+       padding-top: 0;
+}
+
+/*--------------------------------------------------------------
+5.0 Blocks - Widgets
+--------------------------------------------------------------*/
+
+/* Latest Comments */
+
+.editor-block-list__block .wp-block-latest-comments {
+       margin: 0 0 24px;
+}
+
+.rtl .edit-post-visual-editor .wp-block-latest-comments {
+       margin-right: 0;
+}
+
+/* Latest Posts */
+
+.edit-post-visual-editor .editor-block-list__block .wp-block-latest-posts.is-grid {
+       list-style: none;
+       margin-left: 0;
+       margin-right: 0;
+}
+
+.edit-post-visual-editor .wp-block-latest-posts.is-grid li {
+       margin-bottom: 1em;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: branches/5.0/src/wp-content/themes/twentyten/editor-blocks.css
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="branches50srcwpcontentthemestwentytenfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.0/src/wp-content/themes/twentyten/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-content/themes/twentyten/functions.php        2018-10-22 21:26:20 UTC (rev 43792)
+++ branches/5.0/src/wp-content/themes/twentyten/functions.php  2018-10-22 22:37:18 UTC (rev 43793)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -75,6 +75,41 @@
</span><span class="cx" style="display: block; padding: 0 10px">        // This theme styles the visual editor with editor-style.css to match the theme style.
</span><span class="cx" style="display: block; padding: 0 10px">        add_editor_style();
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        // Load regular editor styles into the new block-based editor.
+       add_theme_support( 'editor-styles' );
+
+       // Load default block styles.
+       add_theme_support( 'wp-block-styles' );
+
+               // Add support for custom color scheme.
+       add_theme_support( 'editor-color-palette', array(
+               array(
+                       'name'  => __( 'Blue', 'twentyten' ),
+                       'slug'  => 'blue',
+                       'color' => '#0066cc',
+               ),
+               array(
+                       'name'  => __( 'Black', 'twentyten' ),
+                       'slug'  => 'black',
+                       'color' => '#000',
+               ),
+               array(
+                       'name'  => __( 'Medium Gray', 'twentyten' ),
+                       'slug'  => 'medium-gray',
+                       'color' => '#666',
+               ),
+               array(
+                       'name'  => __( 'Light Gray', 'twentyten' ),
+                       'slug'  => 'light-gray',
+                       'color' => '#f1f1f1',
+               ),
+               array(
+                       'name'  => __( 'White', 'twentyten' ),
+                       'slug'  => 'white',
+                       'color' => '#fff',
+               ),
+       ) );
+
</ins><span class="cx" style="display: block; padding: 0 10px">         // Post Format support. You can also use the legacy "gallery" or "asides" (note the plural) categories.
</span><span class="cx" style="display: block; padding: 0 10px">        add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -612,3 +647,27 @@
</span><span class="cx" style="display: block; padding: 0 10px">        return $args;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'widget_tag_cloud_args', 'twentyten_widget_tag_cloud_args' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Enqueue scripts and styles for front end.
+ *
+ * @since Twenty Ten 2.6
+ */
+function twentyten_scripts_styles() {
+       // Theme block stylesheet.
+       wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181018' );
+}
+add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' );
+
+/**
+ * Enqueue editor styles for Gutenberg
+ *
+ * @since Twenty Ten 2.6
+ */
+function twentyten_block_editor_styles() {
+       // Block styles.
+       wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' );
+}
+add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' );
+
+
</ins></span></pre>
</div>
</div>

</body>
</html>