Parcourir la source

Merge branch 'master' into add/color-anotations-redhill-two

Allan Cole il y a 4 ans
Parent
commit
e88c0cf43d

+ 1 - 1
seedlet/404.php

@@ -12,7 +12,7 @@ get_header();
 ?>
 ?>
 
 
 	<section id="primary" class="content-area">
 	<section id="primary" class="content-area">
-		<main id="main" class="site-main default-max-width">
+		<main id="main" class="site-main default-max-width" role="main">
 
 
 			<div class="error-404 not-found">
 			<div class="error-404 not-found">
 				<header class="page-header">
 				<header class="page-header">

+ 1 - 1
seedlet/archive.php

@@ -12,7 +12,7 @@ get_header();
 ?>
 ?>
 
 
 	<section id="primary" class="content-area">
 	<section id="primary" class="content-area">
-		<main id="main" class="site-main">
+		<main id="main" class="site-main" role="main">
 
 
 		<?php if ( have_posts() ) : ?>
 		<?php if ( have_posts() ) : ?>
 
 

+ 67 - 10
seedlet/assets/css/ie.css

@@ -1,9 +1,9 @@
 /*
 /*
 Theme Name: Seedlet
 Theme Name: Seedlet
-Theme URI: https://github.com/Automattic/themes/tree/master/seedlet
+Theme URI: https://wordpress.com/theme/seedlet
 Author: Automattic
 Author: Automattic
 Author URI: https://automattic.com/
 Author URI: https://automattic.com/
-Description: A simple, text-driven, single-column theme.
+Description: Seedlet is a free WordPress theme. A two-column layout and classically elegant typography creates a refined site that gives your works and images space to breathe - and shine. Seedlet was built to be the perfect partner to the block editor, and supports all the latest blocks. Writing, audio, illustrations, photography, video - use Seedlet to engage and direct visitors' eyes, without your theme getting in the way. And the responsive design shifts naturally between desktop and mobile devices. Seedlet is a great option for professionals and creatives looking for a sophisticated vibe. Whether you're looking to create a blog or a robust site promoting your business, do with simplicity, style, and Seedlet.
 Requires at least: 4.9.6
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Tested up to: 5.4.1
 Requires PHP: 7.3
 Requires PHP: 7.3
@@ -11,7 +11,7 @@ Version: 1.0.3-wpcom
 License: GNU General Public License v2 or later
 License: GNU General Public License v2 or later
 License URI: LICENSE
 License URI: LICENSE
 Text Domain: seedlet
 Text Domain: seedlet
-Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
+Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, auto-loading-homepage, translation-ready
 
 
 Seedlet WordPress Theme, (C) 2020 Automattic, Inc.
 Seedlet WordPress Theme, (C) 2020 Automattic, Inc.
 Seedlet is distributed under the terms of the GNU GPL.
 Seedlet is distributed under the terms of the GNU GPL.
@@ -5837,18 +5837,22 @@ img#wpstats {
 	}
 	}
 }
 }
 
 
-.wp-block-newspack-blocks-homepage-articles .article-section-title {
-	font-size: 1em;
+.wp-block-newspack-blocks-homepage-articles h2.article-section-title {
+	font-size: 24px;
+	letter-spacing: normal;
+	line-height: 1.3;
 	margin-bottom: 15px;
 	margin-bottom: 15px;
 }
 }
 
 
-.wp-block-a8c-blog-posts .article-section-title {
-	font-size: 1em;
+.wp-block-a8c-blog-posts h2.article-section-title {
+	font-size: 24px;
+	letter-spacing: normal;
+	line-height: 1.3;
 	margin-bottom: 15px;
 	margin-bottom: 15px;
 }
 }
 
 
-.wp-block-newspack-blocks-homepage-articles .article-section-title + article,
-.wp-block-a8c-blog-posts .article-section-title + article {
+.wp-block-newspack-blocks-homepage-articles h2.article-section-title + article,
+.wp-block-a8c-blog-posts h2.article-section-title + article {
 	margin-top: 0;
 	margin-top: 0;
 }
 }
 
 
@@ -6063,7 +6067,6 @@ img#wpstats {
 .wp-block-a8c-blog-posts article .entry-meta a,
 .wp-block-a8c-blog-posts article .entry-meta a,
 .wp-block-a8c-blog-posts article .cat-links a {
 .wp-block-a8c-blog-posts article .cat-links a {
 	color: currentColor;
 	color: currentColor;
-	text-decoration: underline;
 }
 }
 
 
 .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover {
 .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover {
@@ -6144,6 +6147,60 @@ img#wpstats {
 	color: currentColor;
 	color: currentColor;
 }
 }
 
 
+@media only screen and (min-width: 592px) {
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid .article-section-title {
+		margin-left: calc(50% + 13px);
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid .article-section-title {
+		margin-left: calc(50% + 13px);
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article {
+		width: calc(50% - 13px);
+		max-width: calc(50% - 13px);
+		margin-top: 0;
+		margin-bottom: 30px;
+		text-align: right;
+		clear: both;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article {
+		width: calc(50% - 13px);
+		max-width: calc(50% - 13px);
+		margin-top: 0;
+		margin-bottom: 30px;
+		text-align: right;
+		clear: both;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article .entry-meta,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article .entry-meta {
+		justify-content: flex-end;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1),
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) {
+		float: right;
+		text-align: left;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) .entry-meta,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) .entry-meta {
+		justify-content: flex-start;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid .more-link,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid .more-link {
+		display: inline-block;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid.wpnbha.is-grid > div,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid.wpnbha.is-grid > div {
+		display: inherit;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid button {
+		clear: both;
+		margin: 30px auto;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid button {
+		clear: both;
+		margin: 30px auto;
+	}
+}
+
 button {
 button {
 	line-height: 1;
 	line-height: 1;
 	color: #FFFFFF;
 	color: #FFFFFF;

+ 39 - 2
seedlet/assets/css/style-editor.css

@@ -1651,7 +1651,9 @@ pre.wp-block-verse {
 }
 }
 
 
 .wp-block-a8c-blog-posts .article-section-title {
 .wp-block-a8c-blog-posts .article-section-title {
-	font-size: var(--global--font-size-base);
+	font-size: var(--heading--font-size-h4);
+	letter-spacing: var(--heading--letter-spacing-h4);
+	line-height: var(--heading--line-height-h4);
 	margin-top: 0;
 	margin-top: 0;
 	margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 	margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 }
 }
@@ -1753,7 +1755,6 @@ pre.wp-block-verse {
 .wp-block-a8c-blog-posts .entry-meta a,
 .wp-block-a8c-blog-posts .entry-meta a,
 .wp-block-a8c-blog-posts .cat-links a {
 .wp-block-a8c-blog-posts .cat-links a {
 	color: currentColor;
 	color: currentColor;
-	text-decoration: underline;
 }
 }
 
 
 .wp-block-a8c-blog-posts .entry-meta a:hover, .wp-block-a8c-blog-posts .entry-meta a:active,
 .wp-block-a8c-blog-posts .entry-meta a:hover, .wp-block-a8c-blog-posts .entry-meta a:active,
@@ -1781,6 +1782,42 @@ pre.wp-block-verse {
 	color: currentColor;
 	color: currentColor;
 }
 }
 
 
+@media only screen and (min-width: 592px) {
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid {
+		overflow: hidden;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid .article-section-title {
+		margin-left: calc(50% + (0.5 * var(--global--spacing-horizontal)));
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article {
+		width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+		max-width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+		margin-top: 0;
+		margin-bottom: var(--global--spacing-vertical);
+		text-align: right;
+		clear: both;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article .entry-meta {
+		justify-content: flex-end;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) {
+		float: right;
+		text-align: left;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) .entry-meta {
+		justify-content: flex-start;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article .more-link {
+		display: inline-block;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid.wpnbha.is-grid > div {
+		display: inherit;
+	}
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid + .wpnbha__wp-block-button__wrapper {
+		text-align: center;
+	}
+}
+
 .wp-block-search .wp-block-search__button, .wp-block-a8c-blog-posts + .button {
 .wp-block-search .wp-block-search__button, .wp-block-a8c-blog-posts + .button {
 	line-height: var(--button--line-height);
 	line-height: var(--button--line-height);
 	color: var(--button--color-text);
 	color: var(--button--color-text);

+ 3 - 3
seedlet/assets/sass/child-theme/style-child-theme.scss

@@ -1,9 +1,9 @@
 /*
 /*
-Theme Name: VARYA CHILD THEME
-Theme URI: https://github.com/Automattic/themes/seedlet
+Theme Name: SEEDLET CHILD THEME
+Theme URI: https://wordpress.com/theme/seedlet
 Author: Automattic
 Author: Automattic
 Author URI: https://automattic.com/
 Author URI: https://automattic.com/
-Description: A simple, text-driven, single-column theme.
+Description: Seedlet is a free WordPress theme. A two-column layout and classically elegant typography creates a refined site that gives your works and images space to breathe - and shine. Seedlet was built to be the perfect partner to the block editor, and supports all the latest blocks. Writing, audio, illustrations, photography, video - use Seedlet to engage and direct visitors' eyes, without your theme getting in the way. And the responsive design shifts naturally between desktop and mobile devices. Seedlet is a great option for professionals and creatives looking for a sophisticated vibe. Whether you're looking to create a blog or a robust site promoting your business, do with simplicity, style, and Seedlet.
 Requires at least: 4.9.6
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Tested up to: 5.4.1
 Requires PHP: 7.3
 Requires PHP: 7.3

+ 3 - 3
seedlet/assets/sass/style.scss

@@ -1,9 +1,9 @@
 /*
 /*
 Theme Name: Seedlet
 Theme Name: Seedlet
-Theme URI: https://github.com/Automattic/themes/tree/master/seedlet
+Theme URI: https://wordpress.com/theme/seedlet
 Author: Automattic
 Author: Automattic
 Author URI: https://automattic.com/
 Author URI: https://automattic.com/
-Description: A simple, text-driven, single-column theme.
+Description: Seedlet is a free WordPress theme. A two-column layout and classically elegant typography creates a refined site that gives your works and images space to breathe - and shine. Seedlet was built to be the perfect partner to the block editor, and supports all the latest blocks. Writing, audio, illustrations, photography, video - use Seedlet to engage and direct visitors' eyes, without your theme getting in the way. And the responsive design shifts naturally between desktop and mobile devices. Seedlet is a great option for professionals and creatives looking for a sophisticated vibe. Whether you're looking to create a blog or a robust site promoting your business, do with simplicity, style, and Seedlet.
 Requires at least: 4.9.6
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Tested up to: 5.4.1
 Requires PHP: 7.3
 Requires PHP: 7.3
@@ -11,7 +11,7 @@ Version: 1.0.3-wpcom
 License: GNU General Public License v2 or later
 License: GNU General Public License v2 or later
 License URI: LICENSE
 License URI: LICENSE
 Text Domain: seedlet
 Text Domain: seedlet
-Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
+Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, auto-loading-homepage, translation-ready
 
 
 Seedlet WordPress Theme, (C) 2020 Automattic, Inc.
 Seedlet WordPress Theme, (C) 2020 Automattic, Inc.
 Seedlet is distributed under the terms of the GNU GPL.
 Seedlet is distributed under the terms of the GNU GPL.

+ 52 - 2
seedlet/assets/sass/vendors/jetpack/blocks/blog-posts/_editor.scss

@@ -32,7 +32,9 @@
 	}
 	}
 
 
 	.article-section-title {
 	.article-section-title {
-		font-size: var(--global--font-size-base);
+		font-size: var(--heading--font-size-h4);
+		letter-spacing: var(--heading--letter-spacing-h4);
+		line-height: var(--heading--line-height-h4);
 		margin-top: 0;
 		margin-top: 0;
 		margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 		margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 	}
 	}
@@ -129,7 +131,6 @@
 
 
 		a {
 		a {
 			color: currentColor;
 			color: currentColor;
-			text-decoration: underline;
 
 
 			&:hover,
 			&:hover,
 			&:active {
 			&:active {
@@ -146,6 +147,55 @@
 	}
 	}
 }
 }
 
 
+// Block Style
+
+@include media(tablet) {
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid {
+
+		// Necessary so that the block boundaries are respected.
+		overflow: hidden;
+
+		.article-section-title {
+			margin-left: calc(50% + (0.5 * var(--global--spacing-horizontal)));
+		}
+
+		article {
+			width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+			max-width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+			margin-top: 0;
+			margin-bottom: var(--global--spacing-vertical);
+			text-align: right;
+			clear: both;
+
+			.entry-meta {
+				justify-content: flex-end;
+			}
+
+			&:nth-of-type(2n + 1) {
+				float: right;
+				text-align: left;
+
+				.entry-meta {
+					justify-content: flex-start;
+				}
+			}
+
+			.more-link {
+				display: inline-block;
+			}
+		}
+
+		// Remove the styles that enforce the grid setting.
+		&.wpnbha.is-grid > div {
+			display: inherit;
+		}
+
+		+ .wpnbha__wp-block-button__wrapper {
+			text-align: center;
+		}
+	}
+}
+
 // Add theme style to load-more button
 // Add theme style to load-more button
 
 
 @import "../../../../base/extends";
 @import "../../../../base/extends";

+ 52 - 3
seedlet/assets/sass/vendors/jetpack/blocks/blog-posts/_style.scss

@@ -32,8 +32,10 @@
 		}
 		}
 	}
 	}
 
 
-	.article-section-title {
-		font-size: var(--global--font-size-base);
+	h2.article-section-title {
+		font-size: var(--heading--font-size-h4);
+		letter-spacing: var(--heading--letter-spacing-h4);
+		line-height: var(--heading--line-height-h4);
 		margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 		margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 
 
 		& + article {
 		& + article {
@@ -137,7 +139,6 @@
 
 
 			a {
 			a {
 				color: currentColor;
 				color: currentColor;
-				text-decoration: underline;
 
 
 				&:hover,
 				&:hover,
 				&:active {
 				&:active {
@@ -155,6 +156,54 @@
 	}
 	}
 }
 }
 
 
+// Block Style
+
+@include media(tablet) {
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid {
+
+		.article-section-title {
+			margin-left: calc(50% + (0.5 * var(--global--spacing-horizontal)));
+		}
+
+		article {
+			width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+			max-width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+			margin-top: 0;
+			margin-bottom: var(--global--spacing-vertical);
+			text-align: right;
+			clear: both;
+
+			.entry-meta {
+				justify-content: flex-end;
+			}
+
+			&:nth-of-type(2n + 1) {
+				float: right;
+				text-align: left;
+
+				.entry-meta {
+					justify-content: flex-start;
+				}
+			}
+		}
+
+		.more-link {
+			display: inline-block;
+		}
+
+		// Remove the styles that enforce the grid setting.
+		&.wpnbha.is-grid > div {
+			display: inherit;
+		}
+
+		button {
+			clear: both;
+			margin: var(--global--spacing-vertical) auto;
+		}
+	}
+}
+
 // Add theme style to load-more button
 // Add theme style to load-more button
 
 
 @import "../../../../base/extends";
 @import "../../../../base/extends";

+ 1 - 1
seedlet/footer.php

@@ -14,7 +14,7 @@
 
 
 	</div><!-- #content -->
 	</div><!-- #content -->
 
 
-	<footer id="colophon" class="site-footer default-max-width" role="contentinfo">
+	<footer id="colophon" class="site-footer default-max-width" role="contentinfo" aria-label="<?php esc_attr_e( 'Footer', 'seedlet' ); ?>">
 
 
 		<?php get_template_part( 'template-parts/footer/footer-widgets' ); ?>
 		<?php get_template_part( 'template-parts/footer/footer-widgets' ); ?>
 
 

+ 3 - 0
seedlet/functions.php

@@ -266,6 +266,9 @@ if ( ! function_exists( 'seedlet_setup' ) ) :
 
 
 		// Add support for experimental cover block spacing.
 		// Add support for experimental cover block spacing.
 		add_theme_support( 'experimental-custom-spacing' );
 		add_theme_support( 'experimental-custom-spacing' );
+
+		// Add support for custom units.
+		add_theme_support( 'custom-units' );
     
     
 		// Add support for WordPress.com Global Styles.
 		// Add support for WordPress.com Global Styles.
 		add_theme_support(
 		add_theme_support(

+ 7 - 8
seedlet/header.php

@@ -41,7 +41,7 @@
 			<?php get_template_part( 'template-parts/header/site-branding' ); ?>
 			<?php get_template_part( 'template-parts/header/site-branding' ); ?>
 
 
 			<?php if ( has_nav_menu( 'primary' ) ) : ?>
 			<?php if ( has_nav_menu( 'primary' ) ) : ?>
-				<nav id="site-navigation" class="primary-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Primary Navigation', 'seedlet' ); ?>">
+				<nav id="site-navigation" class="primary-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Main', 'seedlet' ); ?>">
 					<button id="primary-close-menu" class="button close">
 					<button id="primary-close-menu" class="button close">
 						<span class="dropdown-icon close"><?php _e( 'Close', 'seedlet' ); ?> <?php echo seedlet_get_icon_svg( 'close' ) ?></span>
 						<span class="dropdown-icon close"><?php _e( 'Close', 'seedlet' ); ?> <?php echo seedlet_get_icon_svg( 'close' ) ?></span>
 						<span class="hide-visually collapsed-text"><?php _e( 'collapsed', 'seedlet' ); ?></span>
 						<span class="hide-visually collapsed-text"><?php _e( 'collapsed', 'seedlet' ); ?></span>
@@ -58,7 +58,7 @@
 							'theme_location'  => 'primary',
 							'theme_location'  => 'primary',
 							'menu_class'      => 'menu-wrapper',
 							'menu_class'      => 'menu-wrapper',
 							'container_class' => 'primary-menu-container',
 							'container_class' => 'primary-menu-container',
-							'items_wrap'      => '<ul id="%1$s" class="%2$s" role="navigation" aria-label="' . esc_attr__( 'submenu', 'seedlet' ) . '">%3$s</ul>',
+							'items_wrap'      => '<ul id="%1$s" class="%2$s">%3$s</ul>',
 						)
 						)
 					);
 					);
 					?>
 					?>
@@ -73,19 +73,18 @@
 							<span class="hide-visually collapsed-text">%3$s</span>
 							<span class="hide-visually collapsed-text">%3$s</span>
 						</button>
 						</button>
 						<div class="woocommerce-menu-container">
 						<div class="woocommerce-menu-container">
-							<ul id="woocommerce-menu" class="menu-wrapper" role="navigation" aria-label="%4$s">
-							<li class="menu-item woocommerce-menu-item %5$s" title="%6$s">
-								%7$s
+							<ul id="woocommerce-menu" class="menu-wrapper"">
+							<li class="menu-item woocommerce-menu-item %4$s" title="%5$s">
+								%6$s
 								<ul class="sub-menu">
 								<ul class="sub-menu">
-									<li class="woocommerce-cart-widget" title="%8$s">
-										%9$s
+									<li class="woocommerce-cart-widget" title="%7$s">
+										%8$s
 									</li>
 									</li>
 								</ul>
 								</ul>
 							</li>',
 							</li>',
 						esc_html__( 'Close', 'seedlet' ),
 						esc_html__( 'Close', 'seedlet' ),
 						seedlet_get_icon_svg( 'close' ),
 						seedlet_get_icon_svg( 'close' ),
 						esc_html__( 'collapsed', 'seedlet' ),
 						esc_html__( 'collapsed', 'seedlet' ),
-						esc_attr__( 'submenu', 'seedlet' ),
 						is_cart() ? 'current-menu-item' : '',
 						is_cart() ? 'current-menu-item' : '',
 						esc_attr__( 'View your shopping cart', 'seedlet' ),
 						esc_attr__( 'View your shopping cart', 'seedlet' ),
 						seedlet_cart_link(),
 						seedlet_cart_link(),

+ 1 - 1
seedlet/image.php

@@ -10,7 +10,7 @@ get_header();
 ?>
 ?>
 
 
 	<section id="primary" class="content-area">
 	<section id="primary" class="content-area">
-		<main id="main" class="site-main">
+		<main id="main" class="site-main" role="main">
 
 
 			<?php
 			<?php
 			// Start the loop.
 			// Start the loop.

+ 9 - 1
seedlet/inc/block-styles.php

@@ -10,7 +10,7 @@ if ( function_exists( 'register_block_style' ) ) {
 	function seedlet_register_block_styles() {
 	function seedlet_register_block_styles() {
 
 
 		/**
 		/**
-		 * Register block style
+		 * Register block styles
 		 */
 		 */
 		register_block_style(
 		register_block_style(
 			'core/latest-posts',
 			'core/latest-posts',
@@ -20,6 +20,14 @@ if ( function_exists( 'register_block_style' ) ) {
 				'style_handle' => 'seedlet-alternating-grid',
 				'style_handle' => 'seedlet-alternating-grid',
 			)
 			)
 		);
 		);
+		register_block_style(
+			'a8c/blog-posts',
+			array(
+				'name'         => 'seedlet-alternating-grid',
+				'label'        => 'Alternating Grid',
+				'style_handle' => 'seedlet-alternating-grid',
+			)
+		);
 	}
 	}
 
 
 	add_action( 'init', 'seedlet_register_block_styles' );
 	add_action( 'init', 'seedlet_register_block_styles' );

+ 1 - 1
seedlet/index.php

@@ -17,7 +17,7 @@ get_header();
 ?>
 ?>
 
 
 	<section id="primary" class="content-area">
 	<section id="primary" class="content-area">
-		<main id="main" class="site-main">
+		<main id="main" class="site-main" role="main">
 
 
 		<?php
 		<?php
 		if ( have_posts() ) {
 		if ( have_posts() ) {

+ 1 - 1
seedlet/page.php

@@ -12,7 +12,7 @@ get_header();
 ?>
 ?>
 
 
 	<section id="primary" class="content-area">
 	<section id="primary" class="content-area">
-		<main id="main" class="site-main">
+		<main id="main" class="site-main" role="main">
 
 
 			<?php
 			<?php
 			/* Start the Loop */
 			/* Start the Loop */

+ 6 - 2
seedlet/readme.txt

@@ -6,11 +6,15 @@ Requires PHP: 7.3
 License: GPLv2 or later
 License: GPLv2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 
 
-A simple, text-driven, single-column theme. 
+A simple, text-driven theme.
 
 
 == Description ==
 == Description ==
 
 
-Seedlet is a simple, text-driven, single-column theme. 
+Seedlet is a free WordPress theme. A two-column layout and classically elegant typography creates a refined site that gives your works and images space to breathe - and shine. 
+
+Seedlet was built to be the perfect partner to the block editor, and supports all the latest blocks. Writing, audio, illustrations, photography, video - use Seedlet to engage and direct visitors' eyes, without your theme getting in the way. And the responsive design shifts naturally between desktop and mobile devices. 
+
+Seedlet is a great option for professionals and creatives looking for a sophisticated vibe. Whether you're looking to create a blog or a robust site promoting your business, do with simplicity, style, and Seedlet.
 
 
 == Changelog ==
 == Changelog ==
 
 

+ 1 - 1
seedlet/search.php

@@ -12,7 +12,7 @@ get_header();
 ?>
 ?>
 
 
 	<section id="primary" class="content-area">
 	<section id="primary" class="content-area">
-		<main id="main" class="site-main">
+		<main id="main" class="site-main" role="main">
 
 
 		<?php if ( have_posts() ) : ?>
 		<?php if ( have_posts() ) : ?>
 
 

+ 1 - 1
seedlet/single.php

@@ -12,7 +12,7 @@ get_header();
 ?>
 ?>
 
 
 	<section id="primary" class="content-area">
 	<section id="primary" class="content-area">
-		<main id="main" class="site-main">
+		<main id="main" class="site-main" role="main">
 
 
 			<?php
 			<?php
 			/* Start the Loop */
 			/* Start the Loop */

+ 52 - 9
seedlet/style-rtl.css

@@ -1,9 +1,9 @@
 /*
 /*
 Theme Name: Seedlet
 Theme Name: Seedlet
-Theme URI: https://github.com/Automattic/themes/tree/master/seedlet
+Theme URI: https://wordpress.com/theme/seedlet
 Author: Automattic
 Author: Automattic
 Author URI: https://automattic.com/
 Author URI: https://automattic.com/
-Description: A simple, text-driven, single-column theme.
+Description: Seedlet is a free WordPress theme. A two-column layout and classically elegant typography creates a refined site that gives your works and images space to breathe - and shine. Seedlet was built to be the perfect partner to the block editor, and supports all the latest blocks. Writing, audio, illustrations, photography, video - use Seedlet to engage and direct visitors' eyes, without your theme getting in the way. And the responsive design shifts naturally between desktop and mobile devices. Seedlet is a great option for professionals and creatives looking for a sophisticated vibe. Whether you're looking to create a blog or a robust site promoting your business, do with simplicity, style, and Seedlet.
 Requires at least: 4.9.6
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Tested up to: 5.4.1
 Requires PHP: 7.3
 Requires PHP: 7.3
@@ -11,7 +11,7 @@ Version: 1.0.3-wpcom
 License: GNU General Public License v2 or later
 License: GNU General Public License v2 or later
 License URI: LICENSE
 License URI: LICENSE
 Text Domain: seedlet
 Text Domain: seedlet
-Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
+Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, auto-loading-homepage, translation-ready
 
 
 Seedlet WordPress Theme, (C) 2020 Automattic, Inc.
 Seedlet WordPress Theme, (C) 2020 Automattic, Inc.
 Seedlet is distributed under the terms of the GNU GPL.
 Seedlet is distributed under the terms of the GNU GPL.
@@ -4140,14 +4140,16 @@ img#wpstats {
 	}
 	}
 }
 }
 
 
-.wp-block-newspack-blocks-homepage-articles .article-section-title,
-.wp-block-a8c-blog-posts .article-section-title {
-	font-size: var(--global--font-size-base);
+.wp-block-newspack-blocks-homepage-articles h2.article-section-title,
+.wp-block-a8c-blog-posts h2.article-section-title {
+	font-size: var(--heading--font-size-h4);
+	letter-spacing: var(--heading--letter-spacing-h4);
+	line-height: var(--heading--line-height-h4);
 	margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 	margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 }
 }
 
 
-.wp-block-newspack-blocks-homepage-articles .article-section-title + article,
-.wp-block-a8c-blog-posts .article-section-title + article {
+.wp-block-newspack-blocks-homepage-articles h2.article-section-title + article,
+.wp-block-a8c-blog-posts h2.article-section-title + article {
 	margin-top: 0;
 	margin-top: 0;
 }
 }
 
 
@@ -4306,7 +4308,6 @@ img#wpstats {
 .wp-block-a8c-blog-posts article .entry-meta a,
 .wp-block-a8c-blog-posts article .entry-meta a,
 .wp-block-a8c-blog-posts article .cat-links a {
 .wp-block-a8c-blog-posts article .cat-links a {
 	color: currentColor;
 	color: currentColor;
-	text-decoration: underline;
 }
 }
 
 
 .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover, .wp-block-newspack-blocks-homepage-articles article .entry-meta a:active,
 .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover, .wp-block-newspack-blocks-homepage-articles article .entry-meta a:active,
@@ -4358,6 +4359,48 @@ img#wpstats {
 	color: currentColor;
 	color: currentColor;
 }
 }
 
 
+@media only screen and (min-width: 592px) {
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid .article-section-title,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid .article-section-title {
+		margin-right: calc(50% + (0.5 * var(--global--spacing-horizontal)));
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article {
+		width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+		max-width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+		margin-top: 0;
+		margin-bottom: var(--global--spacing-vertical);
+		text-align: left;
+		clear: both;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article .entry-meta,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article .entry-meta {
+		justify-content: flex-end;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1),
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) {
+		float: left;
+		text-align: right;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) .entry-meta,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) .entry-meta {
+		justify-content: flex-start;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid .more-link,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid .more-link {
+		display: inline-block;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid.wpnbha.is-grid > div,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid.wpnbha.is-grid > div {
+		display: inherit;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid button,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid button {
+		clear: both;
+		margin: var(--global--spacing-vertical) auto;
+	}
+}
+
 button,
 button,
 .button,
 .button,
 input[type="submit"],
 input[type="submit"],

+ 52 - 9
seedlet/style.css

@@ -1,9 +1,9 @@
 /*
 /*
 Theme Name: Seedlet
 Theme Name: Seedlet
-Theme URI: https://github.com/Automattic/themes/tree/master/seedlet
+Theme URI: https://wordpress.com/theme/seedlet
 Author: Automattic
 Author: Automattic
 Author URI: https://automattic.com/
 Author URI: https://automattic.com/
-Description: A simple, text-driven, single-column theme.
+Description: Seedlet is a free WordPress theme. A two-column layout and classically elegant typography creates a refined site that gives your works and images space to breathe - and shine. Seedlet was built to be the perfect partner to the block editor, and supports all the latest blocks. Writing, audio, illustrations, photography, video - use Seedlet to engage and direct visitors' eyes, without your theme getting in the way. And the responsive design shifts naturally between desktop and mobile devices. Seedlet is a great option for professionals and creatives looking for a sophisticated vibe. Whether you're looking to create a blog or a robust site promoting your business, do with simplicity, style, and Seedlet.
 Requires at least: 4.9.6
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Tested up to: 5.4.1
 Requires PHP: 7.3
 Requires PHP: 7.3
@@ -11,7 +11,7 @@ Version: 1.0.3-wpcom
 License: GNU General Public License v2 or later
 License: GNU General Public License v2 or later
 License URI: LICENSE
 License URI: LICENSE
 Text Domain: seedlet
 Text Domain: seedlet
-Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
+Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, auto-loading-homepage, translation-ready
 
 
 Seedlet WordPress Theme, (C) 2020 Automattic, Inc.
 Seedlet WordPress Theme, (C) 2020 Automattic, Inc.
 Seedlet is distributed under the terms of the GNU GPL.
 Seedlet is distributed under the terms of the GNU GPL.
@@ -4165,14 +4165,16 @@ img#wpstats {
 	}
 	}
 }
 }
 
 
-.wp-block-newspack-blocks-homepage-articles .article-section-title,
-.wp-block-a8c-blog-posts .article-section-title {
-	font-size: var(--global--font-size-base);
+.wp-block-newspack-blocks-homepage-articles h2.article-section-title,
+.wp-block-a8c-blog-posts h2.article-section-title {
+	font-size: var(--heading--font-size-h4);
+	letter-spacing: var(--heading--letter-spacing-h4);
+	line-height: var(--heading--line-height-h4);
 	margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 	margin-bottom: calc(0.5 * var(--global--spacing-vertical));
 }
 }
 
 
-.wp-block-newspack-blocks-homepage-articles .article-section-title + article,
-.wp-block-a8c-blog-posts .article-section-title + article {
+.wp-block-newspack-blocks-homepage-articles h2.article-section-title + article,
+.wp-block-a8c-blog-posts h2.article-section-title + article {
 	margin-top: 0;
 	margin-top: 0;
 }
 }
 
 
@@ -4331,7 +4333,6 @@ img#wpstats {
 .wp-block-a8c-blog-posts article .entry-meta a,
 .wp-block-a8c-blog-posts article .entry-meta a,
 .wp-block-a8c-blog-posts article .cat-links a {
 .wp-block-a8c-blog-posts article .cat-links a {
 	color: currentColor;
 	color: currentColor;
-	text-decoration: underline;
 }
 }
 
 
 .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover, .wp-block-newspack-blocks-homepage-articles article .entry-meta a:active,
 .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover, .wp-block-newspack-blocks-homepage-articles article .entry-meta a:active,
@@ -4383,6 +4384,48 @@ img#wpstats {
 	color: currentColor;
 	color: currentColor;
 }
 }
 
 
+@media only screen and (min-width: 592px) {
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid .article-section-title,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid .article-section-title {
+		margin-left: calc(50% + (0.5 * var(--global--spacing-horizontal)));
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article {
+		width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+		max-width: calc(50% - (0.5 * var(--global--spacing-horizontal)));
+		margin-top: 0;
+		margin-bottom: var(--global--spacing-vertical);
+		text-align: right;
+		clear: both;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article .entry-meta,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article .entry-meta {
+		justify-content: flex-end;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1),
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) {
+		float: right;
+		text-align: left;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) .entry-meta,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid article:nth-of-type(2n + 1) .entry-meta {
+		justify-content: flex-start;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid .more-link,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid .more-link {
+		display: inline-block;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid.wpnbha.is-grid > div,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid.wpnbha.is-grid > div {
+		display: inherit;
+	}
+	.wp-block-newspack-blocks-homepage-articles.is-style-seedlet-alternating-grid button,
+	.wp-block-a8c-blog-posts.is-style-seedlet-alternating-grid button {
+		clear: both;
+		margin: var(--global--spacing-vertical) auto;
+	}
+}
+
 button,
 button,
 .button,
 .button,
 input[type="submit"],
 input[type="submit"],

+ 1 - 1
seedlet/template-parts/content/content-page.php

@@ -16,7 +16,7 @@
 		<?php get_template_part( 'template-parts/header/entry-header' ); ?>
 		<?php get_template_part( 'template-parts/header/entry-header' ); ?>
 	</header>
 	</header>
 
 
-	<div class="entry-content" role="main">
+	<div class="entry-content">
 		<?php
 		<?php
 		the_content();
 		the_content();
 
 

+ 1 - 1
seedlet/template-parts/content/content.php

@@ -26,7 +26,7 @@
 
 
 	<?php seedlet_post_thumbnail(); ?>
 	<?php seedlet_post_thumbnail(); ?>
 
 
-	<div class="entry-content" role="main">
+	<div class="entry-content">
 		<?php
 		<?php
 		the_content(
 		the_content(
 			sprintf(
 			sprintf(

+ 2 - 2
seedlet/template-parts/footer/footer-widgets.php

@@ -8,7 +8,7 @@
 
 
 if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
 if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
 
 
-	<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'seedlet' ); ?>">
+	<div class="widget-area">
 		<?php
 		<?php
 		if ( is_active_sidebar( 'sidebar-1' ) ) {
 		if ( is_active_sidebar( 'sidebar-1' ) ) {
 			?>
 			?>
@@ -18,6 +18,6 @@ if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
 				<?php
 				<?php
 		}
 		}
 		?>
 		?>
-	</aside><!-- .widget-area -->
+	</div><!-- .widget-area -->
 
 
 <?php endif; ?>
 <?php endif; ?>