Browse Source

Merge branch 'master' into try/spearhead

Jeff Ong 4 years ago
parent
commit
aede5b525e
89 changed files with 6284 additions and 886 deletions
  1. 1 0
      .gitignore
  2. 7 3
      altofocus/assets/js/grid.js
  3. 2 2
      altofocus/assets/stylesheets/components/posts/_archives.scss
  4. 1 0
      altofocus/assets/stylesheets/layout/_content.scss
  5. 1 1
      altofocus/assets/stylesheets/layout/_isotope-grid.scss
  6. 3 1
      altofocus/assets/stylesheets/shared/_infinitescroll.scss
  7. 1 1
      altofocus/assets/stylesheets/style.scss
  8. 2 2
      altofocus/inc/extras.php
  9. 1 4
      altofocus/inc/jetpack.php
  10. 147 244
      altofocus/style.css
  11. 1 1
      balasana/inc/wpcom.php
  12. 54 24
      dalston/functions.php
  13. 452 0
      dalston/inc/wpcom-colors.php
  14. 182 0
      dalston/inc/wpcom-editor-colors.php
  15. 21 0
      dalston/inc/wpcom.php
  16. 1 1
      dalston/sass/_extra-child-theme.scss
  17. 2 2
      dalston/style-rtl.css
  18. 2 2
      dalston/style.css
  19. 37 24
      exford/functions.php
  20. 378 0
      exford/inc/wpcom-colors.php
  21. 218 0
      exford/inc/wpcom-editor-colors.php
  22. 21 0
      exford/inc/wpcom.php
  23. BIN
      ibis/Screenshot.png
  24. 11 0
      ibis/block-template-parts/footer.html
  25. 17 0
      ibis/block-template-parts/header.html
  26. 15 0
      ibis/block-templates/index.html
  27. 13 0
      ibis/block-templates/singular.html
  28. 58 0
      ibis/experimental-theme.json
  29. 71 0
      ibis/functions.php
  30. 33 0
      ibis/readme.txt
  31. 48 0
      ibis/style-editor.css
  32. 116 0
      ibis/style.css
  33. 3 7
      seedlet-blocks/block-template-parts/header.html
  34. 2 2
      seedlet-blocks/functions.php
  35. 1 2
      seedlet/404.php
  36. 1 2
      seedlet/archive.php
  37. 2303 0
      seedlet/assets/css/ie-editor.css
  38. 179 91
      seedlet/assets/css/ie.css
  39. 216 20
      seedlet/assets/css/style-editor.css
  40. 4 19
      seedlet/assets/css/style-woocommerce-rtl.css
  41. 4 19
      seedlet/assets/css/style-woocommerce.css
  42. 4 4
      seedlet/assets/js/customizer-validate-wcag-color-contrast.js
  43. 65 20
      seedlet/assets/js/primary-navigation.js
  44. 1 1
      seedlet/assets/sass/abstracts/_mixins.scss
  45. 1 1
      seedlet/assets/sass/base/_reset.scss
  46. 19 19
      seedlet/assets/sass/blocks/utilities/_editor.scss
  47. 20 20
      seedlet/assets/sass/blocks/utilities/_style.scss
  48. 93 46
      seedlet/assets/sass/components/header/_primary-navigation.scss
  49. 1 0
      seedlet/assets/sass/structure/_vertical-margins.scss
  50. 3 0
      seedlet/assets/sass/style-editor.scss
  51. 2 2
      seedlet/assets/sass/style.scss
  52. 2 21
      seedlet/assets/sass/vendors/woocommerce/components/_mini-cart.scss
  53. 4 5
      seedlet/classes/class-seedlet-custom-colors.php
  54. 1 2
      seedlet/classes/class-seedlet-svg-icons.php
  55. 1 2
      seedlet/footer.php
  56. 30 22
      seedlet/functions.php
  57. 30 27
      seedlet/header.php
  58. 1 2
      seedlet/image.php
  59. 1 2
      seedlet/inc/back-compat.php
  60. 1 2
      seedlet/inc/block-patterns.php
  61. 1 2
      seedlet/inc/customizer.php
  62. 1 2
      seedlet/inc/icon-functions.php
  63. 1 2
      seedlet/inc/template-functions.php
  64. 1 2
      seedlet/inc/template-tags.php
  65. 1 1
      seedlet/inc/woocommerce.php
  66. 546 0
      seedlet/inc/wpcom-colors.php
  67. 21 0
      seedlet/inc/wpcom-customize-message.css
  68. 70 1
      seedlet/inc/wpcom-customize-preview.js
  69. 271 0
      seedlet/inc/wpcom-editor-colors.php
  70. 149 1
      seedlet/inc/wpcom.php
  71. 1 2
      seedlet/index.php
  72. 1 0
      seedlet/package.json
  73. 1 2
      seedlet/page.php
  74. 9 0
      seedlet/readme.txt
  75. 1 2
      seedlet/search.php
  76. 1 2
      seedlet/single.php
  77. 141 76
      seedlet/style-rtl.css
  78. 141 76
      seedlet/style.css
  79. 1 2
      seedlet/template-parts/content/content-excerpt.php
  80. 1 2
      seedlet/template-parts/content/content-none.php
  81. 1 2
      seedlet/template-parts/content/content-page.php
  82. 1 2
      seedlet/template-parts/content/content-single.php
  83. 1 2
      seedlet/template-parts/content/content.php
  84. 1 2
      seedlet/template-parts/footer/footer-widgets.php
  85. 1 2
      seedlet/template-parts/header/entry-header.php
  86. 1 2
      seedlet/template-parts/header/site-branding.php
  87. 2 3
      seedlet/template-parts/post/author-bio.php
  88. 0 22
      varia/inc/customize-message-wpcom.js
  89. 6 2
      varia/inc/wpcom.php

+ 1 - 0
.gitignore

@@ -1,3 +1,4 @@
 node_modules
 twentynineteen/
 theme-dev-utils/
+theme-dev-utils

+ 7 - 3
altofocus/assets/js/grid.js

@@ -93,7 +93,7 @@
 	/**
 	 * Triggers re-layout on Isotope wrapper after infinite scroll has loaded new posts
 	 */
-	function reLayoutIsotope() {
+	function reLayoutIsotope( loadedPosts ) {
 
 		// Set array for newly added post IDs
 		var newPostIds = [];
@@ -103,7 +103,7 @@
 		if ( typeof loadedPosts !== 'undefined' ) {
 
 			// Create post IDs from IS results and push into post ID array
-			$.each( loadedPosts, function( index, value ) {
+			$.each( JSON.parse(loadedPosts), function( index, value ) {
 
 				var $appendedPost = '#post-'+ value;
 
@@ -171,7 +171,11 @@
 			/**
 			 * Relayout Isotope on post-load (Infinite Scroll)
 			 */
-			$body.on( 'post-load', reLayoutIsotope );
+			$body.on( 'post-load', function() {
+				var loadedPosts = $('#infinite-ids').attr('data');
+				reLayoutIsotope( loadedPosts );
+				$('#infinite-ids').remove();
+			});
 
 			/**
 			 * Window calls

+ 2 - 2
altofocus/assets/stylesheets/components/posts/_archives.scss

@@ -566,7 +566,7 @@
 					.post-thumbnail img {
 
 						max-width: calc( 100% - #{($gutter * 2)} );
-						max-height: calc( 100% - #{( $gutter * 2 )};
+						max-height: calc( 100% - #{( $gutter * 2 )});
 					}
 
 					&.grid-item-landscape {
@@ -670,7 +670,7 @@
 					.post-thumbnail img {
 
 						max-width: calc( 100% - #{($gutter * 3)} );
-						max-height: calc( 100% - #{( $gutter * 3 )};
+						max-height: calc( 100% - #{( $gutter * 3 )});
 					}
 
 					&.grid-item-landscape {

+ 1 - 0
altofocus/assets/stylesheets/layout/_content.scss

@@ -48,6 +48,7 @@ body {
 
 	background: $color__background-body;
 	position: relative;
+	z-index: 1;
 }
 
 .site-content .widget-area {

+ 1 - 1
altofocus/assets/stylesheets/layout/_isotope-grid.scss

@@ -88,7 +88,7 @@
 
 		.site-main {
 
-			margin: 0 auto calc(#{ $baseline * 4 } + #{ $gutter * 1.5 };
+			margin: 0 auto calc(#{ $baseline * 4 } + #{ $gutter * 1.5 });
 
 			/* fluid 5 columns */
 			.grid-sizer,

+ 3 - 1
altofocus/assets/stylesheets/shared/_infinitescroll.scss

@@ -18,10 +18,12 @@
 	clear: both;
 	display: block;
 	padding: $baseline 10%;
-	position: absolute;
+	position: relative;
 	text-align: center;
 	width: 100%;
 	z-index: 1;
+	float: left;
+	top: 100%;
 
 	span {
 

+ 1 - 1
altofocus/assets/stylesheets/style.scss

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.com/themes/altofocus/
 Author: Automattic, Inc
 Author URI: http://automattic.com
 Description: AltoFocus is a theme for photographers, artists, and other creative types in search of a simple and easy way to display their work.
-Version: 1.0.0-wpcom
+Version: 1.0.9-wpcom
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: altofocus

+ 2 - 2
altofocus/inc/extras.php

@@ -105,8 +105,8 @@ function altofocus_post_classes( $classes ) {
 		}
 
 		// Get featured content settings and options
-		$featured_options    = get_option( 'featured-content' );
-		$featured_tag_name   = $featured_options[ 'tag-name' ];
+		$featured_options  = get_option( 'featured-content' );
+		$featured_tag_name = isset( $featured_options['tag-name'] ) ? $featured_options['tag-name'] : '';
 
 		if ( ! empty( $featured_tag_name ) && has_tag( $featured_tag_name, $post->ID ) ) {
 

+ 1 - 4
altofocus/inc/jetpack.php

@@ -175,10 +175,7 @@ function altofocus_infinite_scroll_render() {
 			$loaded_post_IDs[] = get_the_ID();
 		}
 	} ?>
-	<script>
-		// Put returned posts' IDs in to an array
-		var loadedPosts = <?php echo json_encode( $loaded_post_IDs ); ?>;
-	</script>
+	<input type="hidden" data="<?php echo esc_attr( json_encode( $loaded_post_IDs ) ); ?>" id="infinite-ids" />
 <?php
 }
 

File diff suppressed because it is too large
+ 147 - 244
altofocus/style.css


+ 1 - 1
balasana/inc/wpcom.php

@@ -10,7 +10,7 @@ function balasana_wpcom_setup() {
 	// Set theme colors for third party services.
 	if ( ! isset( $themecolors ) ) {
 		$themecolors = array(
-			'bg'     => 'white', // $config-global--color-background-default
+			'bg'     => 'FFFFFF', // $config-global--color-background-default
 			'border' => 'D0D0D0', // $config-global--color-border-default
 			'text'   => '303030', // $config-global--color-foreground-default
 			'link'   => '19744C', // $config-global--color-primary-default

+ 54 - 24
dalston/functions.php

@@ -53,49 +53,53 @@ if ( ! function_exists( 'dalston_setup' ) ) :
 			)
 		);
 
-		// Add child theme editor color pallete to match Sass-map variables in `_config-child-theme-deep.scss`.
+		/*
+		 * Get customizer colors and add them to the editor color palettes
+		 *
+		 * - if the customizer color is empty, use the default
+		 */
+		$colors_array = get_theme_mod( 'colors_manager' ); // color annotations array()
+		$primary      = ! empty( $colors_array ) ? $colors_array['colors']['link'] : '#0073AA'; // $config-global--color-primary-default;
+		$secondary    = ! empty( $colors_array ) ? $colors_array['colors']['fg1'] : '#0D1B24';  // $config-global--color-secondary-default;
+		$background   = ! empty( $colors_array ) ? $colors_array['colors']['bg'] : '#FFFFFF';   // $config-global--color-background-default;
+		$foreground   = ! empty( $colors_array ) ? $colors_array['colors']['txt'] : '#1E1E1E';  // $config-global--color-foreground-default;
+		$foreground_light = ( ! empty( $colors_array ) && $colors_array['colors']['txt'] != '#1E1E1E' ) ? $colors_array['colors']['txt'] : '#767676';  // $config-global--color-foreground-light-default;
+		$foreground_dark  = ( ! empty( $colors_array ) && $colors_array['colors']['txt'] != '#1E1E1E' ) ? $colors_array['colors']['txt'] : '#000000';  // $config-global--color-foreground-dark-default;
+
+
+		// Editor color palette.
 		add_theme_support(
 			'editor-color-palette',
 			array(
 				array(
 					'name'  => __( 'Primary', 'dalston' ),
 					'slug'  => 'primary',
-					'color' => '#0073AA',
+					'color' => $primary,
 				),
 				array(
 					'name'  => __( 'Secondary', 'dalston' ),
 					'slug'  => 'secondary',
-					'color' => '#0D1B24',
-				),
-				array(
-					'name'  => __( 'Dark Blue', 'dalston' ),
-					'slug'  => 'foreground-light',
-					'color' => '#005177',
-				),
-				array(
-					'name'  => __( 'Black', 'dalston' ),
-					'slug'  => 'foreground-dark',
-					'color' => '#000000',
+					'color' => $secondary,
 				),
 				array(
-					'name'  => __( 'Gray', 'dalston' ),
+					'name'  => __( 'Foreground', 'dalston' ),
 					'slug'  => 'foreground',
-					'color' => '#1E1E1E',
+					'color' => $foreground,
 				),
 				array(
-					'name'  => __( 'Lighter Gray', 'dalston' ),
-					'slug'  => 'background-dark',
-					'color' => '#DDDDDD',
+					'name'  => __( 'Background', 'dalston' ),
+					'slug'  => 'background',
+					'color' => $background,
 				),
 				array(
-					'name'  => __( 'Subtle Gray', 'dalston' ),
-					'slug'  => 'background-light',
-					'color' => '#FAFAFA',
+					'name'  => __( 'Foreground Light', 'dalston' ),
+					'slug'  => 'foreground-light',
+					'color' => $foreground_light,
 				),
 				array(
-					'name'  => __( 'White', 'dalston' ),
-					'slug'  => 'background',
-					'color' => '#FFFFFF',
+					'name'  => __( 'Foreground Dark', 'dalston' ),
+					'slug'  => 'foreground-dark',
+					'color' => $foreground_dark,
 				),
 			)
 		);
@@ -188,6 +192,16 @@ function dalston_editor_styles() {
 
 	// Enqueue Google fonts in the editor, if necessary
 	wp_enqueue_style( 'dalston-editor-fonts', dalston_fonts_url(), array(), null );
+
+	// Hide duplicate palette colors
+	$colors_array = get_theme_mod('colors_manager', array( 'colors' => true )); // color annotations array()
+	if ( ! empty( $colors_array ) && $colors_array['colors']['txt'] != '#1E1E1E' ) { // $config-global--color-foreground-light-default;
+		$inline_palette_css = '.block-editor-color-gradient-control .components-circular-option-picker__option-wrapper:nth-child(5),
+			.block-editor-color-gradient-control .components-circular-option-picker__option-wrapper:nth-child(6) {
+				display: none;
+			}';
+		wp_add_inline_style( 'wp-edit-blocks', $inline_palette_css );
+	}
 }
 add_action( 'enqueue_block_editor_assets', 'dalston_editor_styles' );
 
@@ -196,6 +210,11 @@ add_action( 'enqueue_block_editor_assets', 'dalston_editor_styles' );
  */
 function dalston_block_extends() {
 
+	// Bail out early while in AMP endpoint.
+	if ( dalston_is_amp() ) {
+		return;
+	}
+
 	// Cover Block Tweaks
 	wp_enqueue_script( 'dalston-extend-cover-block',
 		get_stylesheet_directory_uri() . '/block-extends/extend-cover-block.js',
@@ -227,3 +246,14 @@ function dalston_block_extends() {
 	);
 }
 add_action( 'enqueue_block_assets', 'dalston_block_extends' );
+
+/**
+ * Whether this is an AMP endpoint.
+ *
+ * @see https://github.com/Automattic/amp-wp/blob/e4472bfa5c304b6c1b968e533819e3fa96579ad4/includes/amp-helper-functions.php#L248
+ * @return bool
+ */
+function dalston_is_amp() {
+	return function_exists( 'is_amp_endpoint' ) && is_amp_endpoint();
+}
+

+ 452 - 0
dalston/inc/wpcom-colors.php

@@ -0,0 +1,452 @@
+<?php
+/* Custom Colors: Dalston */
+
+// Background Color
+// $config-global--color-background-default
+add_color_rule( 'bg', '#FFFFFF', array(
+
+	// Background-color
+	array( '.screen-reader-text:focus,
+			body,
+			body .widget_eu_cookie_law_widget #eu-cookie-law,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept,
+			.main-navigation > div > ul > li > .sub-menu,
+			.sticky-post,
+			.site-header .main-navigation > div > ul > li.current-menu-item li > a,
+			.site-header .main-navigation > div > ul > li.focus li > a,
+			.site-header .main-navigation > div > ul > li:hover li > a,
+			.site-header .main-navigation > div > ul > li:hover li:hover > a, .site-header .main-navigation > div > ul > li:hover li.focus > a, .site-header .main-navigation > div > ul > li:hover li.current-menu-item > a, 
+			.site-header .main-navigation > div > ul > li.focus li:hover > a, .site-header .main-navigation > div > ul > li.focus li.focus > a, 
+			.site-header .main-navigation > div > ul > li.focus li.current-menu-item > a, .site-header .main-navigation > div > ul > li.current-menu-item li:hover > a, 
+			.site-header .main-navigation > div > ul > li.current-menu-item li.focus > a, 
+			.site-header .main-navigation > div > ul > li.current-menu-item li.current-menu-item > a', 'background-color' ),
+
+	// Text-color
+	array( '.a8c-posts-list-item__featured span,
+			.a8c-posts-list__view-all,
+			.a8c-posts-list__view-all:focus,
+			.a8c-posts-list__view-all:hover,
+			.a8c-posts-list__view-all.has-focus,
+			.entry .entry-content .wp-block-media-text,
+			.button,
+			.button:focus,
+			.button:hover,
+			.button.has-focus,
+			.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color).has-focus,
+			.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color),
+			.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color):focus,
+			.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color):hover,
+			.wp-block-file .wp-block-file__button,
+			.wp-block-file .wp-block-file__button.has-focus,
+			.wp-block-file a.wp-block-file__button:active,
+			.wp-block-file a.wp-block-file__button:focus,
+			.wp-block-file a.wp-block-file__button:hover,
+			.wp-block-file a.wp-block-file__button:visited,
+			.wp-block-file__button,
+			.wp-block-file__button:focus,
+			.wp-block-file__button:hover,
+			.wp-block-pullquote.is-style-solid-color,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative,
+			button,
+			button.has-focus,
+			button:focus,
+			button:hover,
+			button[data-load-more-btn],
+			input.has-focus[type="submit"],
+			input:focus[type="submit"],
+			input:hover[type="submit"],
+			input[type="submit"]', 'color' ),
+
+	// Border-color
+	array( '.entry .entry-content .wp-block-media-text.is-style-inset-borders:before', 'border-color' ),
+
+	/**
+	 * Grays
+	 * Uses a slightly darker color
+	 */
+	// Border-color
+	array( '.wp-block-code,
+			body .widget_eu_cookie_law_widget #eu-cookie-law,
+			input[type="color"],
+			input[type="date"],
+			input[type="datetime"],
+			input[type="datetime-local"],
+			input[type="email"],
+			input[type="month"],
+			input[type="number"],
+			input[type="password"],
+			input[type="range"],
+			input[type="search"],
+			input[type="tel"],
+			input[type="text"],
+			input[type="time"],
+			input[type="url"],
+			input[type="week"],
+			select,
+			textarea', 'border-color', '-1' ),
+	// Border-top-color
+	array( '.comment-list .children > li,
+			.comment-list > li', 'border-top-color', '-1' ),
+	// Border-bottom-color
+	array( '.comment-list,
+			hr,
+			hr.wp-block-separator', 'border-bottom-color', '-1' ),
+	// Color
+	array( 'hr.wp-block-separator.is-style-dots:before', 'color', '-1' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '.has-primary-background-color[class],
+			.has-secondary-background-color[class],
+			.has-foreground-background-color[class],
+			.has-foreground-dark-background-color[class],
+			.has-foreground-light-background-color[class],
+			.has-background-color[class],
+			.has-background-dark-color[class],
+			.has-background-light-color[class]', 'color' ),
+	// Background-color
+	array( '.has-background-background-color[class],
+			.has-background-background-color[class].has-background-dim', 'background-color' ),
+
+	// Text-color darkened
+	array( '.has-background-dark-color[class]', 'color', '-1' ),
+	// Background-color darkened
+	array( '.has-background-dark-background-color[class],
+			.has-background-dark-background-color[class].has-background-dim', 'background-color', '-1' ),
+
+	// Text-color lightened
+	array( '.has-background-light-color[class]', 'color', '+1' ),
+	// Background-color lightened
+	array( '.has-background-light-background-color[class],
+			.has-background-light-background-color[class].has-background-dim', 'background-color', '+1' ),
+
+), __( 'Background Color' ) );
+
+// Link Color
+// $config-global--color-primary-default
+add_color_rule( 'link', '#0073AA', array(
+
+	// Background-color
+	array( '.a8c-posts-list-item__featured span,
+			.a8c-posts-list__view-all,
+			.button,
+			.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background),
+			.wp-block-file .wp-block-file__button,
+			.wp-block-file__button,
+			.wp-block-pullquote.is-style-solid-color,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept,
+			button,
+			button[data-load-more-btn],
+			input[type="submit"]', 'background-color' ),
+			
+	// Background-color darkened
+	array( '.a8c-posts-list__view-all:focus,
+			.a8c-posts-list__view-all:hover,
+			.button:focus,
+			.button:hover,
+			.has-focus.a8c-posts-list__view-all,
+			.has-focus.button,
+			.wp-block-button__link.has-focus,
+			.wp-block-file__button.has-focus,
+			.main-navigation #toggle:focus + #toggle-menu,
+			.wp-block-button__link:focus,
+			.wp-block-button__link:hover,
+			.wp-block-file__button:focus,
+			.wp-block-file__button:hover,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept,
+			button.has-focus,
+			button:focus,
+			button:hover,
+			input.has-focus[type="submit"],
+			input:focus[type="submit"],
+			input:hover[type="submit"]', 'background-color', '-1' ),
+
+	// Text-color
+	array( '.a8c-posts-list-item__featured span,
+			.main-navigation a,
+			.main-navigation a:link,
+			.main-navigation a:visited,
+			.site-title a:hover,
+			.social-navigation a:hover,
+			.sticky-post,
+			.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color),
+			.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):active,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a:active,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a:focus,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
+			a,
+			.site-header .main-navigation > div > ul > li.current-menu-item li > a,
+			.site-header .main-navigation > div > ul > li.focus li > a,
+			.site-header .main-navigation > div > ul > li:hover li > a,
+			.main-navigation > div > ul > li > .sub-menu', 'color' ),
+			
+	// Text-color darkened
+	array( '.a8c-posts-list__item .a8c-posts-list-item__meta a:active,
+			.a8c-posts-list__item .a8c-posts-list-item__meta a:hover,
+			.comment-meta .comment-metadata a:active,
+			.comment-meta .comment-metadata a:hover,
+			.entry-footer a:active,
+			.entry-footer a:hover,
+			.entry-meta a:active,
+			.entry-meta a:hover,
+			.footer-navigation .footer-menu a:hover,
+			.main-navigation a:hover,
+			.site-info a:hover,
+			.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color).has-focus,
+			.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):focus,
+			.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links a:active,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links 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-title a:hover,
+			a:hover', 'color', '-1' ),
+
+	// Border color
+	array( '.main-navigation > div > ul > li > .sub-menu', 'border-color' ),
+	
+	// Border color left
+	array( '.wp-block-quote', 'border-left-color' ),
+
+	// Border color right
+	array( '.wp-block-quote[style*="text-align: right"],
+			.wp-block-quote[style*="text-align:right"]', 'border-right-color' ),
+
+	// Border color bottom
+	array( '.site-header .main-navigation > div > ul > li.current-menu-item > ul:before,
+			.site-header .main-navigation > div > ul > li.focus > ul:before,
+			.site-header .main-navigation > div > ul > li:hover > ul:before', 'border-bottom-color' ),
+
+	// Border color darkened
+	array( 'input[type="color"]:focus,
+			input[type="date"]:focus,
+			input[type="datetime"]:focus,
+			input[type="datetime-local"]:focus,
+			input[type="email"]:focus,
+			input[type="month"]:focus,
+			input[type="number"]:focus,
+			input[type="password"]:focus,
+			input[type="range"]:focus,
+			input[type="search"]:focus,
+			input[type="tel"]:focus,
+			input[type="text"]:focus,
+			input[type="time"]:focus,
+			input[type="url"]:focus,
+			input[type="week"]:focus,
+			textarea:focus', 'border-color', '-1' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Background-color
+	array( '.has-primary-background-color[class],
+			.has-primary-background-color[class].has-background-dim', 'background-color' ),
+
+	// Text-color
+	array( '.has-primary-color[class]', 'color' ),
+
+), __( 'Link Color' ) );
+
+// Text Color
+// $config-global--color-foreground-default
+add_color_rule( 'txt', '#1e1e1e', array(
+
+	// Text-color
+	array( '.comment-meta .comment-metadata,
+			.main-navigation,
+			.screen-reader-text:focus,
+			.wp-block-code,
+			.wp-block-code pre,
+			.wp-block-pullquote,
+			body,
+			.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
+			table.is-style-stripes tbody tr:nth-child(odd),
+			body .widget_eu_cookie_law_widget #eu-cookie-law,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept,
+			.site-header .main-navigation > div > ul > li > a:hover,
+			.site-header .main-navigation > div > ul > li:hover li:hover > a, 
+			.site-header .main-navigation > div > ul > li:hover li.focus > a, 
+			.site-header .main-navigation > div > ul > li:hover li.current-menu-item > a, 
+			.site-header .main-navigation > div > ul > li.focus li:hover > a, 
+			.site-header .main-navigation > div > ul > li.focus li.focus > a, 
+			.site-header .main-navigation > div > ul > li.focus li.current-menu-item > a, 
+			.site-header .main-navigation > div > ul > li.current-menu-item li:hover > a, 
+			.site-header .main-navigation > div > ul > li.current-menu-item li.focus > a, 
+			.site-header .main-navigation > div > ul > li.current-menu-item li.current-menu-item > a', 'color' ),
+
+	// Text-color darkened
+	array( '.has-foreground-dark-color,
+			.site-branding,
+			.site-description,
+			.site-title,
+			.social-navigation a', 'color', '-1' ),
+			
+	// Text-color lightened
+	array( '.a8c-posts-list__item .a8c-posts-list-item__meta,
+			.entry-footer,
+			.entry-meta,
+			.footer-navigation .footer-menu,
+			.has-foreground-light-color,
+			.site-info,
+			.wp-block-image figcaption,
+			.wp-block-latest-comments .wp-block-latest-comments__comment-date,
+			.wp-block-latest-posts .wp-block-latest-posts__post-date,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links,
+			.wp-block-newspack-blocks-homepage-articles article .entry-meta,
+			.wp-block-pullquote .wp-block-pullquote__citation,
+			.wp-block-pullquote cite,
+			.wp-block-pullquote footer,
+			.wp-block-quote .wp-block-quote__citation,
+			.wp-block-quote cite,
+			.wp-block-quote footer,
+			.wp-block-quote.is-large .wp-block-quote__citation,
+			.wp-block-quote.is-large cite,
+			.wp-block-quote.is-large footer,
+			.wp-block-quote.is-style-large .wp-block-quote__citation,
+			.wp-block-quote.is-style-large cite,
+			.wp-block-quote.is-style-large footer,
+			.wp-block-video figcaption,
+			figcaption', 'color', '+2' ),
+
+	// Background-color
+	array( 'body .widget_eu_cookie_law_widget #eu-cookie-law.negative', 'background-color' ),
+	
+	// Text-color darkened
+	array( 'body .widget_eu_cookie_law_widget #eu-cookie-law.negative', 'border-color', '-1' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Foreground
+	array( '.has-background-background-color[class],
+			.has-background-background-color[class].has-background-dim,
+			.has-background-dark-background-color[class],
+			.has-background-dark-background-color[class].has-background-dim,
+			.has-background-light-background-color[class],
+			.has-background-light-background-color[class].has-background-dim,
+			.has-foreground-color[class]', 'color' ),
+
+	// Background
+	array( '.has-background-dim,
+			.has-foreground-background-color[class],
+			.has-foreground-background-color[class].has-background-dim', 'background-color' ),
+
+	// Text-color darkened
+	array( '.has-foreground-dark-color[class]', 'color', '-1' ),
+	// Background-color darkened
+	array( '.has-foreground-dark-background-color[class]', 'background-color', '-1' ),
+
+	// Text-color brightened
+	array( '.has-foreground-light-color[class]', 'color', '+2' ),
+	// Background-color brightened
+	array( '.has-foreground-light-background-color[class],
+			.has-foreground-light-background-color[class].has-background-dim', 'background-color', '+2' ),
+
+	/**
+	 * Gray (Same as text color)
+	 */
+	// Text-color
+	array( '.a8c-posts-list__item .a8c-posts-list-item__meta,
+			.entry-footer,
+			.entry-meta,
+			.footer-navigation .footer-menu,
+			.has-foreground-light-color[class],
+			.site-info,
+			.wp-block-image figcaption,
+			.wp-block-latest-comments .wp-block-latest-comments__comment-date,
+			.wp-block-latest-posts .wp-block-latest-posts__post-date,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links,
+			.wp-block-newspack-blocks-homepage-articles article .entry-meta,
+			.wp-block-pullquote .wp-block-pullquote__citation,
+			.wp-block-pullquote cite,
+			.wp-block-pullquote footer,
+			.wp-block-quote .wp-block-quote__citation,
+			.wp-block-quote cite,
+			.wp-block-quote footer,
+			.wp-block-quote.is-large .wp-block-quote__citation,
+			.wp-block-quote.is-large cite,
+			.wp-block-quote.is-large footer,
+			.wp-block-quote.is-style-large .wp-block-quote__citation,
+			.wp-block-quote.is-style-large cite,
+			.wp-block-quote.is-style-large footer,
+			.wp-block-video figcaption,
+			figcaption,
+			.site-branding,
+			.site-description,
+			.site-title,
+			.social-navigation a', 'color' ),
+	// Border-color
+	array( 'body .widget_eu_cookie_law_widget #eu-cookie-law.negative', 'border-color' ),
+
+), __( 'Text Color' ) );
+
+// Accent Color
+// $config-global--color-secondary-default
+add_color_rule( 'fg1', '#0d1b24', array(
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '.has-secondary-color[class]', 'color' ),
+
+	// Background-color
+	array( '.has-secondary-background-color[class]', 'background-color' ),
+
+), __( 'Secondary Color' ) );
+
+/**
+ * Custom CSS
+ */
+function dalston_custom_colors_extra_css() { ?>
+
+	.wp-block-button.is-style-outline .wp-block-button__link.has-text-color {
+		color: currentColor;
+	}
+
+	@media screen and (min-width: 560px) {
+		.main-navigation > div > ul > li > .sub-menu {
+			border: 1px solid;
+		}
+		.site-header .main-navigation > div > ul > li.current-menu-item > ul::before,
+		.site-header .main-navigation > div > ul > li.focus > ul::before,
+		.site-header .main-navigation > div > ul > li:hover > ul::before {
+			border: 0;
+		}
+ 	}
+<?php }
+add_theme_support( 'custom_colors_extra_css', 'dalston_custom_colors_extra_css' ); 
+
+/**
+ * Featured Varia Palettes
+ */
+// Light
+add_color_palette( array(
+	'#FFFFFF',
+	'#1D1E1E',
+	'#C8133E',
+	'#4E2F4B',
+), 'Light' );
+// Medium
+add_color_palette( array(
+	'#EEF4F7',
+	'#242527',
+	'#35845D',
+	'#233252',
+), 'Medium' );
+// Dark
+add_color_palette( array(
+	'#1F2527',
+	'#FFFFFF',
+	'#9FD3E8',
+	'#FBE6AA',
+), 'Dark' );

+ 182 - 0
dalston/inc/wpcom-editor-colors.php

@@ -0,0 +1,182 @@
+<?php
+/*
+ * Custom Editor Colors
+ */
+
+// Background Color
+// $config-global--color-background-default
+add_editor_color_rule( 'bg', '#FFFFFF', array(
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .button,
+			#editor .editor-styles-wrapper .button.has-focus,
+			#editor .editor-styles-wrapper .button:focus,
+			#editor .editor-styles-wrapper .button:hover,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button:focus,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button:hover,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .has-focus.button,
+			#editor .editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link,
+			#editor .editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link.has-focus,
+			#editor .editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus,
+			#editor .editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
+			#editor .editor-styles-wrapper .wp-block-media-text,
+			#editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color', 'color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-primary-background-color[class],
+			#editor .editor-styles-wrapper .has-secondary-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-dark-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-light-background-color[class],
+			#editor .editor-styles-wrapper .has-background-color[class]', 'color' ),
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-background-background-color[class]', 'background-color' ),
+	// Text-color darkened
+	array( '#editor .editor-styles-wrapper .has-background-dark-color[class]', 'color', '-1'  ),
+	// Background-color darkened
+	array( '#editor .editor-styles-wrapper .has-background-dark-background-color[class]', 'background-color', '-1' ),
+	// Text-color lightened
+	array( '#editor .editor-styles-wrapper .has-background-light-color[class]', 'color', '+1'  ),
+	// Background-color lightened
+	array( '#editor .editor-styles-wrapper .has-background-light-background-color[class]', 'background-color', '+1' ),
+
+	/**
+	 * Grays
+	 * Uses a slightly darker color
+	 */
+	// Color
+	array( '#editor .editor-styles-wrapper .wp-block-separator.is-style-dots', 'color', '-1' ),
+	// Border-color
+	array( '#editor .editor-styles-wrapper .wp-block-code', 'border-color', '-1' ),
+	// Border-top-color
+	array( '#editor .editor-styles-wrapper .wp-block-pullquote', 'border-top-color', '-1' ),
+	// Border-bottom-color
+	array( '#editor .editor-styles-wrapper .wp-block-pullquote,
+			#editor .editor-styles-wrapper .wp-block-separator', 'border-bottom-color', '-1' ),
+
+), __( 'Background Color' ) );
+
+// Link Color
+// $config-global--color-primary-default
+add_editor_color_rule( 'link', '#0073AA', array(
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .button,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button,
+			#editor .editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background-color),
+			#editor .editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background),
+			#editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-title a,
+			#editor .editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color),
+			#editor .editor-styles-wrapper a', 'color' ),
+
+	// Border color left
+	array( '#editor .editor-styles-wrapper .wp-block-quote', 'border-left-color' ),
+
+	// Border color right
+	array( '#editor .editor-styles-wrapper .wp-block-quote[style*="text-align: right"],
+			#editor .editor-styles-wrapper .wp-block-quote[style*="text-align:right"]', 'border-right-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-primary-background-color[class]', 'background-color' ),
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-primary-color[class]', 'color' ),
+
+), __( 'Link Color' ) );
+
+// Text Color
+// $config-global--color-foreground-default
+add_editor_color_rule( 'txt', '#1e1e1e', array(
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .editor-post-title__block .editor-post-title__input,
+			#editor .editor-styles-wrapper .wp-block-pullquote,
+			#editor .editor-styles-wrapper', 'color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-background-background-color[class],
+			#editor .editor-styles-wrapper .has-background-dark-background-color[class],
+			#editor .editor-styles-wrapper .has-background-light-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-color[class]', 'color' ),
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-foreground-background-color[class]', 'background-color' ),
+	// Text-color darkened
+	array( '#editor .editor-styles-wrapper .has-foreground-dark-color[class]', 'color', '-1' ),
+	// Background-color darkened
+	array( '#editor .editor-styles-wrapper .has-foreground-dark-background-color[class]', 'background-color', '-1' ),
+	// Text-color brightened
+	array( '#editor .editor-styles-wrapper .has-foreground-light-color[class]', 'color', '+2' ),
+	// Background-color brightened
+	array( '#editor .editor-styles-wrapper .has-foreground-light-background-color[class]', 'background-color', '+2' ),
+
+	/**
+	 * Grays
+	 * Same as text color
+	 */
+	// Text-color
+	array( '#editor .editor-styles-wrapper .a8c-posts-list__item .a8c-posts-list-item__meta,
+			#editor .editor-styles-wrapper .wp-block-image figcaption,
+			#editor .editor-styles-wrapper .wp-block-latest-comments .wp-block-latest-comments__comment-date,
+			#editor .editor-styles-wrapper .wp-block-latest-posts .wp-block-latest-posts__post-date,
+			#editor .editor-styles-wrapper .wp-block-newspack-blocks-homepage-articles article .cat-links,
+			#editor .editor-styles-wrapper .wp-block-newspack-blocks-homepage-articles article .entry-meta,
+			#editor .editor-styles-wrapper .wp-block-pullquote .wp-block-pullquote__citation,
+			#editor .editor-styles-wrapper .wp-block-pullquote cite,
+			#editor .editor-styles-wrapper .wp-block-pullquote footer,
+			#editor .editor-styles-wrapper .wp-block-quote .wp-block-quote__citation,
+			#editor .editor-styles-wrapper .wp-block-quote cite,
+			#editor .editor-styles-wrapper .wp-block-quote footer,
+			#editor .editor-styles-wrapper .wp-block-quote.is-large .wp-block-quote__citation,
+			#editor .editor-styles-wrapper .wp-block-quote.is-large cite,
+			#editor .editor-styles-wrapper .wp-block-quote.is-large footer,
+			#editor .editor-styles-wrapper .wp-block-quote.is-style-large .wp-block-quote__citation,
+			#editor .editor-styles-wrapper .wp-block-quote.is-style-large cite,
+			#editor .editor-styles-wrapper .wp-block-quote.is-style-large footer,
+			#editor .editor-styles-wrapper .wp-block-video figcaption,
+			#editor .editor-styles-wrapper figcaption', 'color' ),
+
+), __( 'Text Color' ) );
+
+// Accent Color
+// $config-global--color-secondary-default
+add_editor_color_rule( 'fg1', '#0d1b24', array(
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .wp-block-media-text', 'background-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-secondary-color[class]', 'color' ),
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-secondary-background-color[class]', 'background-color' ),
+
+), __( 'Secondary Color' ) );
+
+/**
+ * Custom CSS
+ */
+function dalston_editor_custom_colors_extra_css() { ?>
+	#editor .editor-styles-wrapper .has-background:not(.has-background-background-color) a:not(.wp-block-button__link),
+	#editor .editor-styles-wrapper p.has-text-color a {
+		color: currentColor;
+	}
+<?php }
+add_theme_support( 'custom_colors_extra_css', 'dalston_editor_custom_colors_extra_css' ); 
+

+ 21 - 0
dalston/inc/wpcom.php

@@ -0,0 +1,21 @@
+<?
+/**
+ * Adds support for wp.com-specific theme functions.
+ *
+ * @global array $themecolors
+ */
+function dalston_wpcom_setup() {
+	global $themecolors;
+
+	// Set theme colors for third party services.
+	if ( ! isset( $themecolors ) ) {
+		$themecolors = array(
+			'bg'     => 'FFFFFF', // $config-global--color-background-default
+			'border' => 'CCCCCC', // $config-global--color-border-default
+			'text'   => '1e1e1e', // $config-global--color-foreground-default
+			'link'   => '0073AA', // $config-global--color-primary-default
+			'url'    => '0073AA', // $config-global--color-primary-default
+		);
+	}
+}
+add_action( 'after_setup_theme', 'dalston_wpcom_setup' );

+ 1 - 1
dalston/sass/_extra-child-theme.scss

@@ -263,7 +263,7 @@ a {
 	}
 }
 
-.entry-content [class*="__inner-container"] a {
+.entry-content [class*="__inner-container"] a:not(.wp-block-button__link) {
 	text-decoration: underline;
 
 	&:hover {

+ 2 - 2
dalston/style-rtl.css

@@ -4253,11 +4253,11 @@ a {
 	border-color: #FFFFFF;
 }
 
-.entry-content [class*="__inner-container"] a {
+.entry-content [class*="__inner-container"] a:not(.wp-block-button__link) {
 	text-decoration: underline;
 }
 
-.entry-content [class*="__inner-container"] a:hover {
+.entry-content [class*="__inner-container"] a:not(.wp-block-button__link):hover {
 	text-decoration: none;
 }
 

+ 2 - 2
dalston/style.css

@@ -4282,11 +4282,11 @@ a {
 	border-color: #FFFFFF;
 }
 
-.entry-content [class*="__inner-container"] a {
+.entry-content [class*="__inner-container"] a:not(.wp-block-button__link) {
 	text-decoration: underline;
 }
 
-.entry-content [class*="__inner-container"] a:hover {
+.entry-content [class*="__inner-container"] a:not(.wp-block-button__link):hover {
 	text-decoration: none;
 }
 

+ 37 - 24
exford/functions.php

@@ -53,49 +53,52 @@ if ( ! function_exists( 'exford_setup' ) ) :
 			)
 		);
 
-		// Add child theme editor color pallete to match Sass-map variables in `_config-child-theme-deep.scss`.
+		/*
+		 * Get customizer colors and add them to the editor color palettes
+		 *
+		 * - if the customizer color is empty, use the default
+		 */
+		$colors_array = get_theme_mod( 'colors_manager' ); // color annotations array()
+		$primary      = ! empty( $colors_array ) ? $colors_array['colors']['link'] : '#23883D'; // $config-global--color-primary-default;
+		$secondary    = ! empty( $colors_array ) ? $colors_array['colors']['fg1'] : '#0963C4';  // $config-global--color-secondary-default;
+		$background   = ! empty( $colors_array ) ? $colors_array['colors']['bg'] : '#FFFFFF';   // $config-global--color-background-default;
+		$foreground   = ! empty( $colors_array ) ? $colors_array['colors']['txt'] : '#111111';  // $config-global--color-foreground-default;
+		$foreground_light = ( ! empty( $colors_array ) && $colors_array['colors']['txt'] != '#111111' ) ? $colors_array['colors']['txt'] : '#6E6E6E';  // $config-global--color-foreground-light-default;
+		$foreground_dark  = ( ! empty( $colors_array ) && $colors_array['colors']['txt'] != '#111111' ) ? $colors_array['colors']['txt'] : '#020202';  // $config-global--color-foreground-dark-default;
+
+		// Editor color palette.
 		add_theme_support(
 			'editor-color-palette',
 			array(
 				array(
 					'name'  => __( 'Primary', 'exford' ),
 					'slug'  => 'primary',
-					'color' => '#23883D',
+					'color' => $primary,
 				),
 				array(
 					'name'  => __( 'Secondary', 'exford' ),
 					'slug'  => 'secondary',
-					'color' => '#0963C4',
+					'color' => $secondary,
 				),
 				array(
-					'name'  => __( 'Black', 'exford' ),
-					'slug'  => 'foreground-dark',
-					'color' => '#020202',
-				),
-				array(
-					'name'  => __( 'Dark Gray', 'exford' ),
+					'name'  => __( 'Foreground', 'exford' ),
 					'slug'  => 'foreground',
-					'color' => '#111111',
-				),
-				array(
-					'name'  => __( 'Gray', 'exford' ),
-					'slug'  => 'foreground-light',
-					'color' => '#6E6E6E',
+					'color' => $foreground,
 				),
 				array(
-					'name'  => __( 'Light Gray', 'exford' ),
-					'slug'  => 'background-dark',
-					'color' => '#CCCCCC',
+					'name'  => __( 'Background', 'exford' ),
+					'slug'  => 'background',
+					'color' => $background,
 				),
 				array(
-					'name'  => __( 'Subtle Gray', 'exford' ),
-					'slug'  => 'background-light',
-					'color' => '#F7F7F7',
+					'name'  => __( 'Foreground Light', 'exford' ),
+					'slug'  => 'foreground-light',
+					'color' => $foreground_light,
 				),
 				array(
-					'name'  => __( 'White', 'exford' ),
-					'slug'  => 'background',
-					'color' => '#FFFFFF',
+					'name'  => __( 'Foreground Dark', 'exford' ),
+					'slug'  => 'foreground-dark',
+					'color' => $foreground_dark,
 				),
 			)
 		);
@@ -184,5 +187,15 @@ function exford_editor_styles() {
 
 	// Enqueue Google fonts in the editor, if necessary
 	wp_enqueue_style( 'exford-editor-fonts', exford_fonts_url(), array(), null );
+
+	// Hide duplicate palette colors
+	$colors_array = get_theme_mod( 'colors_manager' );
+	if ( ! empty( $colors_array ) && $colors_array['colors']['txt'] != '#6E6E6E' ) { // $config-global--color-foreground-light-default;
+		$inline_palette_css = '.block-editor-color-gradient-control .components-circular-option-picker__option-wrapper:nth-child(5),
+			.block-editor-color-gradient-control .components-circular-option-picker__option-wrapper:nth-child(6) {
+				display: none;
+			}';
+		wp_add_inline_style( 'wp-edit-blocks', $inline_palette_css );
+	}
 }
 add_action( 'enqueue_block_editor_assets', 'exford_editor_styles' );

+ 378 - 0
exford/inc/wpcom-colors.php

@@ -0,0 +1,378 @@
+<?php
+/* Custom Colors: Exford */
+
+// Background Color
+// $config-global--color-background-default
+add_color_rule( 'bg', '#FFFFFF', array(
+
+	// Background-color
+	array( '.screen-reader-text:focus,
+			body,
+			body .widget_eu_cookie_law_widget #eu-cookie-law,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept,
+			.main-navigation > div > ul > li > .sub-menu', 'background-color' ),
+
+	// Text-color
+	array( '.a8c-posts-list-item__featured span,
+			.sticky-post,
+			.wp-block-cover-image.has-background-dim,
+			.wp-block-cover.has-background-dim,
+			.wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-image-text,
+			.wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-text,
+			.wp-block-cover-image:not([class*="background-color"]) .wp-block-cover__inner-container,
+			.wp-block-cover:not([class*="background-color"]) .wp-block-cover-image-text,
+			.wp-block-cover:not([class*="background-color"]) .wp-block-cover-text,
+			.wp-block-cover:not([class*="background-color"]) .wp-block-cover__inner-container,
+			.wp-block-pullquote.is-style-solid-color,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative', 'color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '.has-background-color[class],
+			.has-background-dim[class],
+			.has-foreground-background-color[class],
+			.has-foreground-background-color.has-background-dim[class],
+			.has-foreground-dark-background-color[class],
+			.has-foreground-dark-background-color.has-background-dim[class],
+			.has-foreground-light-background-color[class],
+			.has-foreground-light-background-color.has-background-dim[class],
+			.has-primary-background-color[class],
+			.has-primary-background-color.has-background-dim[class],
+			.has-secondary-background-color[class],
+			.has-secondary-background-color.has-background-dim[class]', 'color' ),
+	// Background-color
+	array( '.has-background-background-color[class],
+			.has-background-background-color.has-background-dim[class]', 'background-color' ),
+
+	// Text-color darkened
+	array( '.has-background-dark-color[class]', 'color', '-1' ),
+	// Background-color darkened
+	array( '.has-background-dark-background-color[class],
+			.has-background-dark-background-color.has-background-dim[class]', 'background-color', '-1' ),
+
+	// Text-color lightened
+	array( '.has-background-light-color[class]', 'color', '+1' ),
+	// Background-color lightened
+	array( '.has-background-light-background-color[class],
+			.has-background-light-background-color.has-background-dim[class]', 'background-color', '+1' ),
+
+	/**
+	 * Grays
+	 * Uses a slightly darker color
+	 */
+	// Border-color
+	array( '.wp-block-code,
+			body .widget_eu_cookie_law_widget #eu-cookie-law,
+			input[type="color"],
+			input[type="date"],
+			input[type="datetime"],
+			input[type="datetime-local"],
+			input[type="email"],
+			input[type="month"],
+			input[type="number"],
+			input[type="password"],
+			input[type="range"],
+			input[type="search"],
+			input[type="tel"],
+			input[type="text"],
+			input[type="time"],
+			input[type="url"],
+			input[type="week"],
+			select,
+			textarea,
+			.site-header > *.main-navigation > div > ul > li > .sub-menu', 'border-color', '-1' ),
+	// Border-top-color
+	array( '.comment-list .children > li,
+			.comment-list > li,
+			.wp-block-pullquote', 'border-top-color', '-1' ),
+	// Border-bottom-color
+	array( '.comment-list,
+			.wp-block-pullquote,
+			hr,
+			hr.wp-block-separator', 'border-bottom-color', '-1' ),
+	// Color
+	array( 'hr.wp-block-separator.is-style-dots:before', 'color', '-1' ),
+	// Background-color
+	array( 'body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept.has-focus,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept:focus,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept:hover', '-1' ),
+
+), __( 'Background Color' ) );
+
+// Link Color
+// $config-global--color-primary-default
+add_color_rule( 'link', '#23883D', array(
+
+	// Background-color
+	array( '.a8c-posts-list-item__featured span,
+			.a8c-posts-list__view-all,
+			.button,
+			.sticky-post,
+			.wp-block-button__link,
+			.wp-block-file .wp-block-file__button,
+			.wp-block-file__button,
+			.wp-block-pullquote.is-style-solid-color,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept,
+			button,
+			button[data-load-more-btn],
+			input[type="submit"]', 'background-color' ),
+			
+	// Text-color
+	array( '.a8c-posts-list .a8c-posts-list-item__title a:active,
+			.a8c-posts-list .a8c-posts-list-item__title a:focus,
+			.a8c-posts-list .a8c-posts-list-item__title a:hover,
+			.entry-title a:active,
+			.entry-title a:focus,
+			.entry-title a:hover,
+			.main-navigation a,
+			.main-navigation a:link,
+			.main-navigation a:visited,
+			.page-title a:active,
+			.page-title a:focus,
+			.page-title a:hover,
+			.site-title a:hover,
+			.social-navigation a:hover,
+			.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color),
+			.wp-block-button.is-style-outline .wp-block-button__link:active,
+			.wp-block-button.is-style-outline.wp-block-button__link:not(.has-text-color),
+			.wp-block-button.is-style-outline.wp-block-button__link:active,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a:active,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a:focus,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
+			a', 'color' ),
+			
+	// Border color left
+	array( '.wp-block-quote', 'border-left-color' ),
+
+	// Border color right
+	array( '.wp-block-quote[style*="text-align: right"],
+			.wp-block-quote[style*="text-align:right"]', 'border-right-color' ),
+			
+	/**
+	 * Utility Classes
+	 */
+	// Background-color
+	array( '.has-primary-background-color[class],
+			.has-primary-background-color.has-background-dim[class]', 'background-color' ),
+	// Text-color
+	array( '.has-primary-color[class]', 'color' ),
+
+), __( 'Link Color' ) );
+
+// Text Color
+// $config-global--color-foreground-default
+add_color_rule( 'txt', '#111111', array(
+
+	// Text-color
+	array( '.comment-meta .comment-metadata,
+			.main-navigation,
+			.screen-reader-text:focus,
+			.site-title,
+			.social-navigation a,
+			.wp-block-code,
+			.wp-block-code pre,
+			.wp-block-pullquote,
+			body,
+			body .widget_eu_cookie_law_widget #eu-cookie-law,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept,
+			.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
+			table.is-style-stripes tbody tr:nth-child(odd)', 'color' ),
+
+	// Background-color
+	array( '.wp-block-cover,
+			.wp-block-cover-image,
+			.wp-block-cover-image.has-background-dim,
+			.wp-block-cover.has-background-dim,
+			body .widget_eu_cookie_law_widget #eu-cookie-law.negative', 'background-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Foreground
+	array( '.has-background-background-color[class],
+			.has-background-background-color.has-background-dim[class],
+			.has-background-dark-background-color[class],
+			.has-background-dark-background-color.has-background-dim[class],
+			.has-background-light-background-color[class],
+			.has-background-light-background-color.has-background-dim[class],
+			.has-foreground-color[class]', 'color' ),
+
+	// Background-color
+	array( '.has-background-dim[class],
+			.has-foreground-background-color[class],
+			.has-foreground-background-color.has-background-dim[class]', 'background-color' ),
+
+	// Text-color darkened
+	array( '.has-foreground-dark-color[class]', 'color', '-1' ),
+	// Background-color darkened
+	array( '.has-foreground-dark-background-color[class],
+			.has-foreground-dark-background-color.has-background-dim[class]', 'background-color', '-1' ),
+
+	// Text-color brightened
+	array( '.has-foreground-light-color[class]', 'color', '+2' ),
+	// Background-color brightened
+	array( '.has-foreground-light-background-color[class],
+			.has-foreground-light-background-color.has-background-dim[class]', 'background-color', '+2' ),
+
+	/*
+	 * Gray (Same as text color)
+	 */
+	// Text color
+	array( '.a8c-posts-list__item .a8c-posts-list-item__meta,
+			.comment-notes,
+			.entry-footer,
+			.entry-meta,
+			.footer-navigation .footer-menu,
+			.post-navigation .meta-nav,
+			.site-branding,
+			.site-info,
+			.widget_archive ul li,
+			.widget_authors ul li,
+			.widget_categories ul li,
+			.widget_jp_blogs_i_follow ul li,
+			.widget_links ul li,
+			.widget_meta ul li,
+			.widget_nav_menu ul li,
+			.widget_pages ul li,
+			.widget_recent_comments ul li,
+			.widget_recent_entries ul li,
+			.widget_rss ul li,
+			.widget_rss_links ul li,
+			.widget_top-click ul li,
+			.widget_top-posts ul li,
+			.widget_upcoming_events_widget ul li,
+			.wp-block-image figcaption,
+			.wp-block-latest-comments .wp-block-latest-comments__comment-date,
+			.wp-block-latest-posts .wp-block-latest-posts__post-date,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links,
+			.wp-block-newspack-blocks-homepage-articles article .entry-meta,
+			.wp-block-pullquote .wp-block-pullquote__citation,
+			.wp-block-pullquote cite,
+			.wp-block-pullquote footer,
+			.wp-block-quote .wp-block-quote__citation,
+			.wp-block-quote cite,
+			.wp-block-quote footer,
+			.wp-block-quote.is-large .wp-block-quote__citation,
+			.wp-block-quote.is-large cite,
+			.wp-block-quote.is-large footer,
+			.wp-block-quote.is-style-large .wp-block-quote__citation,
+			.wp-block-quote.is-style-large cite,
+			.wp-block-quote.is-style-large footer,
+			.wp-block-video figcaption,
+			figcaption', 'color', '+2' ),
+			
+	// Text color
+	array( 'body .widget_eu_cookie_law_widget #eu-cookie-law.negative', 'border-color', '-1' ),
+
+), __( 'Text Color' ) );
+
+// Accent Color
+// $config-global--color-secondary-default
+add_color_rule( 'fg1', '#0963C4', array(
+
+	// Background-color
+	array( '.a8c-posts-list__view-all:focus,
+			.a8c-posts-list__view-all:hover,
+			.button:focus,
+			.button:hover,
+			.has-focus.a8c-posts-list__view-all,
+			.has-focus.button,
+			.has-focus.wp-block-button__link,
+			.has-focus.wp-block-file__button,
+			.main-navigation #toggle:focus + #toggle-menu,
+			.wp-block-button__link:focus,
+			.wp-block-button__link:hover,
+			.wp-block-file__button:focus,
+			.wp-block-file__button:hover,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover,
+			body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept,
+			button.has-focus,
+			button:focus,
+			button:hover,
+			input.has-focus[type="submit"],
+			input:focus[type="submit"],
+			input:hover[type="submit"]', 'background-color' ),
+
+	// Color
+	array( '.a8c-posts-list__item .a8c-posts-list-item__meta a:active,
+			.a8c-posts-list__item .a8c-posts-list-item__meta a:hover,
+			.comment-meta .comment-metadata a:active,
+			.comment-meta .comment-metadata a:hover,
+			.entry-footer a:active,
+			.entry-footer a:hover,
+			.entry-meta a:active,
+			.entry-meta a:hover,
+			.footer-navigation .footer-menu a:hover,
+			.main-navigation a:hover,
+			.site-info a:hover,
+			.wp-block-button.is-style-outline .wp-block-button__link.has-focus,
+			.wp-block-button.is-style-outline .wp-block-button__link:focus,
+			.wp-block-button.is-style-outline .wp-block-button__link:hover,
+			.wp-block-button.is-style-outline.wp-block-button__link.has-focus,
+			.wp-block-button.is-style-outline.wp-block-button__link:focus,
+			.wp-block-button.is-style-outline.wp-block-button__link:hover,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links a:active,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links 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-title a:hover,
+			a:hover', 'color' ),
+
+	// Border-color
+	array( 'input[type="color"]:focus,
+			input[type="date"]:focus,
+			input[type="datetime"]:focus,
+			input[type="datetime-local"]:focus,
+			input[type="email"]:focus,
+			input[type="month"]:focus,
+			input[type="number"]:focus,
+			input[type="password"]:focus,
+			input[type="range"]:focus,
+			input[type="search"]:focus,
+			input[type="tel"]:focus,
+			input[type="text"]:focus,
+			input[type="time"]:focus,
+			input[type="url"]:focus,
+			input[type="week"]:focus,
+			textarea:focus', 'border-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '.has-secondary-color[class]', 'color' ),
+
+	// Background-color
+	array( '.has-secondary-background-color[class],
+			.has-secondary-background-color.has-background-dim[class]', 'background-color' ),
+
+), __( 'Secondary Color' ) );
+
+/**
+ * Featured Varia Palettes
+ */
+// Light
+add_color_palette( array(
+	'#FFFFFF',
+	'#1D1E1E',
+	'#C8133E',
+	'#4E2F4B',
+), 'Light' );
+// Medium
+add_color_palette( array(
+	'#EEF4F7',
+	'#242527',
+	'#35845D',
+	'#233252',
+), 'Medium' );
+// Dark
+add_color_palette( array(
+	'#1F2527',
+	'#FFFFFF',
+	'#9FD3E8',
+	'#FBE6AA',
+), 'Dark' );

+ 218 - 0
exford/inc/wpcom-editor-colors.php

@@ -0,0 +1,218 @@
+<?php
+/*
+ * Custom Editor Colors
+ */
+
+// Background Color
+// $config-global--color-background-default
+add_editor_color_rule( 'bg', '#FFFFFF', array(
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .fse-template-part .main-navigation > div > ul > li > .sub-menu,
+			#editor .editor-styles-wrapper', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .wp-block-cover,
+			#editor .editor-styles-wrapper .wp-block-cover-image,
+			#editor .editor-styles-wrapper .wp-block-cover-image.has-background-dim,
+			#editor .editor-styles-wrapper .wp-block-cover-image:not([class*="background-color"]) .block-editor-block-list__block,
+			#editor .editor-styles-wrapper .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-image-text,
+			#editor .editor-styles-wrapper .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-text,
+			#editor .editor-styles-wrapper .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover__inner-container,
+			#editor .editor-styles-wrapper .wp-block-cover.has-background-dim,
+			#editor .editor-styles-wrapper .wp-block-cover:not([class*="background-color"]) .block-editor-block-list__block,
+			#editor .editor-styles-wrapper .wp-block-cover:not([class*="background-color"]) .wp-block-cover-image-text,
+			#editor .editor-styles-wrapper .wp-block-cover:not([class*="background-color"]) .wp-block-cover-text,
+			#editor .editor-styles-wrapper .wp-block-cover:not([class*="background-color"]) .wp-block-cover__inner-container,
+			#editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color', 'color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-primary-background-color[class],
+			#editor .editor-styles-wrapper .has-secondary-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-dark-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-light-background-color[class],
+			#editor .editor-styles-wrapper .has-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-primary-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-secondary-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-dark-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-light-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-color[class]', 'color' ),
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-background-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-background-color[class]', 'background-color' ),
+
+	// Text-color darkened
+	array( '#editor .editor-styles-wrapper .has-background-dark-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-dark-color[class]', 'color', '-1'  ),
+	// Background-color darkened
+	array( '#editor .editor-styles-wrapper .has-background-dark-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-dark-background-color[class]', 'background-color', '-1' ),
+
+	// Text-color lightened
+	array( '#editor .editor-styles-wrapper .has-background-light-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-light-color[class]', 'color', '+1'  ),
+	// Background-color lightened
+	array( '#editor .editor-styles-wrapper .has-background-light-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-light-background-color[class]', 'background-color', '+1' ),
+
+	/**
+	 * Grays
+	 * Uses a slightly darker color
+	 */
+	// Color
+	array( '#editor .editor-styles-wrapper .wp-block-separator.is-style-dots', 'color', '-1' ),
+	// Border-color
+	array( '#editor .editor-styles-wrapper .wp-block-code', 'border-color', '-1' ),
+	// Border-top-color
+	array( '#editor .editor-styles-wrapper .wp-block-pullquote', 'border-top-color', '-1' ),
+	// Border-bottom-color
+	array( '#editor .editor-styles-wrapper .wp-block-pullquote,
+			#editor .editor-styles-wrapper .wp-block-separator', 'border-bottom-color', '-1' ),
+
+), __( 'Background Color' ) );
+
+// Link Color
+// $config-global--color-primary-default
+add_editor_color_rule( 'link', '#23883D', array(
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .button,
+			#editor .editor-styles-wrapper .fse-template-part .main-navigation .button,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button,
+			#editor .editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link,
+			#editor .editor-styles-wrapper .wp-block-button .wp-block-button__link.is-style-outline,
+			#editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .fse-template-part .main-navigation a,
+			#editor .editor-styles-wrapper .fse-template-part .main-navigation a:link,
+			#editor .editor-styles-wrapper .fse-template-part .main-navigation a:visited,
+			#editor .editor-styles-wrapper .is-style-outline .wp-block-button__link,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-title a,
+			#editor .editor-styles-wrapper .wp-block-button.is-style-outline .wp-block-button__link,
+			#editor .editor-styles-wrapper .wp-block-button__link.is-style-outline,
+			#editor .editor-styles-wrapper a', 'color' ),
+
+	// Border color left
+	array( '#editor .editor-styles-wrapper .wp-block-quote', 'border-left-color' ),
+
+	// Border color right
+	array( '#editor .editor-styles-wrapper .wp-block-quote[style*="text-align: right"],
+			#editor .editor-styles-wrapper .wp-block-quote[style*="text-align:right"]', 'border-right-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-primary-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-primary-background-color[class]', 'background-color' ),
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-primary-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-primary-color[class]', 'color' ),
+
+), __( 'Link Color' ) );
+
+// Text Color
+// $config-global--color-foreground-default
+add_editor_color_rule( 'txt', '#111111', array(
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .editor-post-title__block .editor-post-title__input,
+			#editor .editor-styles-wrapper .fse-template-part .main-navigation,
+			#editor .editor-styles-wrapper .wp-block-pullquote,
+			#editor .editor-styles-wrapper .wp-block-code,
+			#editor .editor-styles-wrapper', 'color' ),
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .wp-block-cover,
+			#editor .editor-styles-wrapper .wp-block-cover-image', 'background-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-background-background-color[class],
+			#editor .editor-styles-wrapper .has-background-dark-background-color[class],
+			#editor .editor-styles-wrapper .has-background-light-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-dark-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-background-light-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-color[class]', 'color' ),
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-foreground-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-background-color[class]', 'background-color' ),
+	// Text-color darkened
+	array( '#editor .editor-styles-wrapper .has-foreground-dark-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-dark-color[class]', 'color', '-1' ),
+	// Background-color darkened
+	array( '#editor .editor-styles-wrapper .has-foreground-dark-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-dark-background-color[class]', 'background-color', '-1' ),
+	// Text-color brightened
+	array( '#editor .editor-styles-wrapper .has-foreground-light-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-light-color[class]', 'color', '+2' ),
+	// Background-color brightened
+	array( '#editor .editor-styles-wrapper .has-foreground-light-background-color[class],
+			#editor .editor-styles-wrapper .wp-block .has-foreground-light-background-color[class]', 'background-color', '+2' ),
+
+	/**
+	 * Grays
+	 * Same as text color
+	 */
+	// Text-color
+	array( '#editor .editor-styles-wrapper .a8c-posts-list__item .a8c-posts-list-item__meta,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .cat-links,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-meta,
+			#editor .editor-styles-wrapper .wp-block-image figcaption,
+			#editor .editor-styles-wrapper .wp-block-latest-comments .wp-block-latest-comments__comment-date,
+			#editor .editor-styles-wrapper .wp-block-latest-posts .wp-block-latest-posts__post-date,
+			#editor .editor-styles-wrapper .wp-block-newspack-blocks-homepage-articles article .cat-links,
+			#editor .editor-styles-wrapper .wp-block-newspack-blocks-homepage-articles article .entry-meta,
+			#editor .editor-styles-wrapper .wp-block-pullquote .wp-block-pullquote__citation,
+			#editor .editor-styles-wrapper .wp-block-pullquote cite,
+			#editor .editor-styles-wrapper .wp-block-pullquote footer,
+			#editor .editor-styles-wrapper .wp-block-quote .wp-block-quote__citation,
+			#editor .editor-styles-wrapper .wp-block-quote cite,
+			#editor .editor-styles-wrapper .wp-block-quote footer,
+			#editor .editor-styles-wrapper .wp-block-quote.is-large .wp-block-quote__citation,
+			#editor .editor-styles-wrapper .wp-block-quote.is-large cite,
+			#editor .editor-styles-wrapper .wp-block-quote.is-large footer,
+			#editor .editor-styles-wrapper .wp-block-quote.is-style-large .wp-block-quote__citation,
+			#editor .editor-styles-wrapper .wp-block-quote.is-style-large cite,
+			#editor .editor-styles-wrapper .wp-block-quote.is-style-large footer,
+			#editor .editor-styles-wrapper .wp-block-video figcaption,
+			#editor .editor-styles-wrapper figcaption', 'color' ),
+
+), __( 'Text Color' ) );
+
+// Accent Color (Red)
+// $config-global--color-secondary-default
+add_editor_color_rule( 'fg1', '#0963C4', array(
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-secondary-color[class]', 'color' ),
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-secondary-background-color[class]', 'background-color' ),
+
+), __( 'Secondary Color' ) );
+
+
+/**
+ * Custom CSS
+ */
+function exford_editor_custom_colors_extra_css() { ?>
+	#editor .editor-styles-wrapper .has-text-color a,
+	#editor .editor-styles-wrapper .has-background a {
+		color: currentColor;
+	}
+<?php }
+add_theme_support( 'custom_colors_extra_css', 'exford_editor_custom_colors_extra_css' );

+ 21 - 0
exford/inc/wpcom.php

@@ -0,0 +1,21 @@
+<?
+/**
+ * Adds support for wp.com-specific theme functions.
+ *
+ * @global array $themecolors
+ */
+function exford_wpcom_setup() {
+	global $themecolors;
+
+	// Set theme colors for third party services.
+	if ( ! isset( $themecolors ) ) {
+		$themecolors = array(
+			'bg'     => 'FFFFFF', // $config-global--color-background-default
+			'border' => 'CCCCCC', // $config-global--color-border-default
+			'text'   => '111111', // $config-global--color-foreground-default
+			'link'   => '23883D', // $config-global--color-primary-default
+			'url'    => '23883D', // $config-global--color-primary-default
+		);
+	}
+}
+add_action( 'after_setup_theme', 'exford_wpcom_setup' );

BIN
ibis/Screenshot.png


+ 11 - 0
ibis/block-template-parts/footer.html

@@ -0,0 +1,11 @@
+<!-- wp:spacer {"height":30} -->
+<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+
+<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
+<p class="has-text-align-center has-small-font-size">Proudly powered by <a href="https://wordpress.org">WordPress</a></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:spacer {"height":30} -->
+<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->

+ 17 - 0
ibis/block-template-parts/header.html

@@ -0,0 +1,17 @@
+<!-- wp:group {"align":"full","backgroundColor":"background"} -->
+<div class="wp-block-group alignfull has-background-background-color has-background"><div class="wp-block-group__inner-container"><!-- wp:spacer {"height":20} -->
+<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+
+<!-- wp:columns {"align":"wide"} -->
+<div class="wp-block-columns alignwide"><!-- wp:column {"width":33.33} -->
+<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:site-title {"style":{"typography":{"fontSize":32}}} /--></div>
+<!-- /wp:column -->
+
+<!-- wp:column {"width":66.66} -->
+<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:navigation {"orientation":"horizontal","itemsJustification":"right"} -->
+<!-- wp:navigation-link {"label":"Home","url":"http://home"} /-->
+<!-- /wp:navigation --></div>
+<!-- /wp:column --></div>
+<!-- /wp:columns --></div></div>
+<!-- /wp:group -->

+ 15 - 0
ibis/block-templates/index.html

@@ -0,0 +1,15 @@
+<!-- wp:group {"align":"full","tagName":"header"} -->
+<div class="wp-block-group alignfull"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"header","theme":"ibis","align":"full"} /--></div></div>
+<!-- /wp:group -->
+
+<!-- wp:group {"align":"full","className":"site-content","tagName":"main"} -->
+<div class="wp-block-group alignfull site-content"><div class="wp-block-group__inner-container"><!-- wp:query-loop -->
+<!-- wp:post-title /-->
+
+<!-- wp:post-content /-->
+<!-- /wp:query-loop --></div></div>
+<!-- /wp:group -->
+
+<!-- wp:group {"align":"full","tagName":"footer"} -->
+<div class="wp-block-group alignfull"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"footer","theme":"ibis","align":"full"} /--></div></div>
+<!-- /wp:group -->

+ 13 - 0
ibis/block-templates/singular.html

@@ -0,0 +1,13 @@
+<!-- wp:group {"align":"full","tagName":"header"} -->
+<div class="wp-block-group alignfull"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"header","theme":"ibis","align":"full"} /--></div></div>
+<!-- /wp:group -->
+
+<!-- wp:group {"align":"full","className":"site-content","tagName":"main"} -->
+<div class="wp-block-group alignfull site-content"><div class="wp-block-group__inner-container">
+<!-- wp:post-title /-->
+<!-- wp:post-content {"align":"full"} /--></div></div>
+<!-- /wp:group -->
+
+<!-- wp:group {"align":"full","tagName":"footer"} -->
+<div class="wp-block-group alignfull"><div class="wp-block-group__inner-container"><!-- wp:template-part {"slug":"footer","theme":"ibis","align":"full"} /--></div></div>
+<!-- /wp:group -->

+ 58 - 0
ibis/experimental-theme.json

@@ -0,0 +1,58 @@
+{
+	"global": {
+		"presets": {
+			"font-size": [
+				{
+					"slug": "tiny",
+					"value": "14px"
+				},
+				{
+					"slug": "small",
+					"value": "16px"
+				},
+				{
+					"slug": "medium",
+					"value": "18px"
+				},
+				{
+					"slug": "large",
+					"value": "24px"
+				},
+				{
+					"slug": "extra-large",
+					"value": "28px"
+				},
+				{
+					"slug": "huge",
+					"value": "32px"
+				},
+				{
+					"slug": "gigantic",
+					"value": "48px"
+				}
+			],
+			"color": [
+				{
+					"slug": "background",
+					"value": "#FFFFFF"
+				},
+				{
+					"slug": "foreground",
+					"value": "#303C4D"
+				},
+				{
+					"slug": "primary",
+					"value": "#E1534B"
+				},
+				{
+					"slug": "secondary",
+					"value": "#323E4E"
+				},
+				{
+					"slug": "tertiary",
+					"value": "#BED4DF"
+				}
+			]
+		}
+	}
+}

+ 71 - 0
ibis/functions.php

@@ -0,0 +1,71 @@
+<?php
+/**
+ * Ibis functions and definitions
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
+ *
+ * @package WordPress
+ * @subpackage seedlet_blocks
+ * @since 1.0.0
+ */
+
+if ( ! function_exists( 'ibis_setup' ) ) :
+	/**
+	 * Sets up theme defaults and registers support for various WordPress features.
+	 *
+	 * Note that this function is hooked into the after_setup_theme hook, which
+	 * runs before the init hook. The init hook is too late for some features, such
+	 * as indicating support for post thumbnails.
+	 */
+	function ibis_setup() {
+		// Add support for editor styles.
+		add_theme_support( 'editor-styles' );
+
+		// Enqueue editor styles.
+		add_editor_style( get_stylesheet_directory_uri() . '/style-editor.css' );
+	}
+endif;
+add_action( 'after_setup_theme', 'ibis_setup', 999 );
+
+/**
+ * Add Google webfonts
+ *
+ * http://themeshaper.com/2014/08/13/how-to-add-google-fonts-to-wordpress-themes/
+ */
+function ibis_fonts_url() {
+
+	$fonts_url = '';
+
+	/* Translators: If there are characters in your language that are not
+	* supported by Lora, translate this to 'off'. Do not translate
+	* into your own language.
+	*/
+	$lora = esc_html_x( 'on', 'Lora font: on or off', 'ibis' );
+
+	if ( 'off' !== $lora ) {
+		$font_families = array();
+
+		$font_families[] = 'Lora:400,400i,600,600i,700,700i';
+
+		$query_args = array(
+			'family' => urlencode( implode( '|', $font_families ) ),
+			'subset' => urlencode( 'latin,latin-ext' ),
+		);
+
+		$fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
+	}
+
+	return esc_url_raw( $fonts_url );
+}
+
+/**
+ * Enqueue scripts and styles.
+ */
+function ibis_enqueue() {
+	wp_enqueue_style( 'ibis-styles', get_stylesheet_uri() );
+
+	// enqueue Google fonts
+	wp_enqueue_style( 'mayland-fonts', ibis_fonts_url(), array(), null );
+
+}
+add_action( 'wp_enqueue_scripts', 'ibis_enqueue' );

+ 33 - 0
ibis/readme.txt

@@ -0,0 +1,33 @@
+=== Ibis ===
+Contributors: Automattic
+Requires at least: 5.0
+Tested up to: 4.9.6
+Requires PHP: 7.3
+License: GPLv2 or later
+License URI: http://www.gnu.org/licenses/gpl-2.0.html
+
+A long-legged theme that inhabits wetlands, forests and plains.
+
+== Description ==
+
+Ibis is a long-legged theme that inhabits wetlands, forests and plains.
+
+== Changelog ==
+
+= 1.0 =
+* Initial release 
+
+== Copyright ==
+
+Ibis WordPress Theme, (C) 2020 Automattic, Inc.
+Ibis is distributed under the terms of the GNU GPL.
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.

+ 48 - 0
ibis/style-editor.css

@@ -0,0 +1,48 @@
+/* Override Seedlet variables with values from experimental-theme.json. */
+body {
+	/* Font Family */
+	--global--font-primary: var(--font-headings, Lora, serif);
+	--global--font-secondary: var(--font-base, Lora, sans-serif);
+	--global--font-code: monospace, monospace;
+	--global--font-ui: var(--font-base, var(--global--font-secondary));
+
+	/* Font Size */
+	--global--font-size-xs: var(--wp--preset--font-size--tiny);
+	--global--font-size-sm: var(--wp--preset--font-size--small);
+	--global--font-size-md: var(--wp--preset--font-size--medium);
+	--global--font-size-lg: var(--wp--preset--font-size--large);
+	--global--font-size-xl: var(--wp--preset--font-size--extra-large);
+	--global--font-size-xxl: var(--wp--preset--font-size--huge);
+	--global--font-size-xxxl: var(--wp--preset--font-size--gigantic);
+	--heading--font-weight: 600;
+	--heading--font-weight-strong: 700;	
+
+	/* Colors */
+	--global--color-background: var(--wp--preset--color--background);
+	--global--color-foreground: var(--wp--preset--color--foreground);
+	--global--color-primary: var(--wp--preset--color--primary);
+	--global--color-secondary: var(--wp--preset--color--secondary);
+	--global--color-tertiary: var(--wp--preset--color--tertiary);
+
+	/* Colors */
+	--button--padding-vertical: calc(.66 * var(--global--spacing-horizontal) - var(--button--border-width));
+	--button--padding-horizontal: var(--global--spacing-horizontal);
+}
+
+/**
+ * Override Seedlet Media Query Variables
+ */
+
+@media only screen and (min-width: 1024px) {
+	body {
+		--responsive--aligndefault-width: calc(750px - var(--responsive--spacing-horizontal));
+		--responsive--alignwide-width: calc(990px - var(--responsive--spacing-horizontal));
+		--responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+		--responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+	}
+}
+
+.site-content .wp-block[data-align="full"] > [data-block], .site-content .wp-block.alignfull > [data-block] {
+	margin-top: 0;
+	margin-bottom: 0;
+}

+ 116 - 0
ibis/style.css

@@ -0,0 +1,116 @@
+/*
+Theme Name: Ibis
+Theme URI: https://github.com/Automattic/themes/
+Author: Automattic
+Author URI: https://automattic.com/
+Description: A long-legged theme that inhabits wetlands, forests and plains.
+Requires at least: 4.9.6
+Version: 1.0
+License: GNU General Public License v2 or later
+License URI: LICENSE
+Template: seedlet
+Text Domain: ibis
+Tags:
+
+Ibis WordPress Theme, (C) 2020 Automattic, Inc.
+Ibis is distributed under the terms of the GNU GPL.
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+*/
+
+/* Override Seedlet variables.
+ * When possible, override with values from experimental-theme.json.
+ * Doubling up on the :root selector is weird, but it just ensures these have higher specificity than everything else)
+ * and that just makes doubling up on the :root selector really cool.
+ */
+:root:root {
+	/* Font Family */
+	--global--font-primary: var(--font-headings, Lora, serif);
+	--global--font-secondary: var(--font-base, Lora, sans-serif);
+	--global--font-code: monospace, monospace;
+	--global--font-ui: var(--font-base, var(--global--font-secondary));
+
+	/* Font Size */
+	--global--font-size-xs: var(--wp--preset--font-size--tiny);
+	--global--font-size-sm: var(--wp--preset--font-size--small);
+	--global--font-size-md: var(--wp--preset--font-size--medium);
+	--global--font-size-lg: var(--wp--preset--font-size--large);
+	--global--font-size-xl: var(--wp--preset--font-size--extra-large);
+	--global--font-size-xxl: var(--wp--preset--font-size--huge);
+	--global--font-size-xxxl: var(--wp--preset--font-size--gigantic);
+	--heading--font-weight: 600;
+	--heading--font-weight-strong: 700;	
+
+	/* Colors */
+	--global--color-background: var(--wp--preset--color--background);
+	--global--color-foreground: var(--wp--preset--color--foreground);
+	--global--color-primary: var(--wp--preset--color--primary);
+	--global--color-secondary: var(--wp--preset--color--secondary);
+	--global--color-tertiary: var(--wp--preset--color--tertiary);
+
+	/* Colors */
+	--button--padding-vertical: calc(.66 * var(--global--spacing-horizontal) - var(--button--border-width));
+	--button--padding-horizontal: var(--global--spacing-horizontal);
+}
+
+/**
+ * Override Seedlet Root Media Query Variables
+ * Doubling up on the :root selector is weird, but it just ensures these have higher specificity than everything else)
+ * and that just makes doubling up on the :root selector really cool.
+ */
+@media only screen and (min-width: 482px) {
+	:root:root {
+		--responsive--aligndefault-width: calc(482px - var(--responsive--spacing-horizontal));
+		--responsive--alignwide-width: calc(482px - var(--responsive--spacing-horizontal));
+		--responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+		--responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+	}
+}
+@media only screen and (min-width: 592px) {
+	:root:root {
+		--responsive--aligndefault-width: calc(482px - var(--responsive--spacing-horizontal));
+		--responsive--alignwide-width: calc(592px - var(--responsive--spacing-horizontal));
+		--responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+		--responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+	}
+}
+@media only screen and (min-width: 652px) {
+	:root:root {
+		--responsive--aligndefault-width: calc(592px - var(--responsive--spacing-horizontal));
+		--responsive--alignwide-width: calc(652px - var(--responsive--spacing-horizontal));
+		--responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+		--responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+	}
+}
+@media only screen and (min-width: 822px) {
+	:root:root {
+		--responsive--aligndefault-width: calc(652px - var(--responsive--spacing-horizontal));
+		--responsive--alignwide-width: calc(822px - var(--responsive--spacing-horizontal));
+		--responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+		--responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+	}
+}
+@media only screen and (min-width: 1024px) {
+	:root:root {
+		--responsive--aligndefault-width: calc(750px - var(--responsive--spacing-horizontal));
+		--responsive--alignwide-width: calc(990px - var(--responsive--spacing-horizontal));
+		--responsive--alignright-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+		--responsive--alignleft-margin: calc( 0.5 * (100vw - var(--responsive--aligndefault-width)));
+	}
+}
+
+/* Make sure full-width items in entry content show up as full-width. */
+.wp-block-group.site-content .wp-block-group__inner-container .entry-content {
+	max-width: calc(100% + (2 * var(--global--spacing-horizontal)));
+	width: calc(100% + (2 * var(--global--spacing-horizontal)));
+	margin-left: calc(-1 * var(--global--spacing-horizontal));
+	margin-right: auto;
+}

+ 3 - 7
seedlet-blocks/block-template-parts/header.html

@@ -2,15 +2,11 @@
 <div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
 <!-- /wp:spacer -->
 
-<!-- wp:image {"align":"center","width":128,"height":128,"sizeSlug":"large","className":""} -->
-<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img src="https://cldup.com/B9dfntUFJE.png" alt="" width="128" height="128"/></figure></div>
-<!-- /wp:image -->
+<!-- wp:site-logo {"align":"center","width":128} /-->
 
 <!-- wp:site-title {"textAlign":"center"} /-->
 
-<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
-<p class="has-text-align-center has-small-font-size">is a curious botanist</p>
-<!-- /wp:paragraph -->
+<!-- wp:site-tagline {"textAlign":"center","fontSize":"small"} /-->
 
 <!-- wp:navigation {"itemsJustification":"center"} -->
 <!-- wp:navigation-link {"label":"Home","url":"#"} /-->
@@ -18,4 +14,4 @@
 
 <!-- wp:spacer {"height":60} -->
 <div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
+<!-- /wp:spacer -->

+ 2 - 2
seedlet-blocks/functions.php

@@ -25,7 +25,7 @@ if ( ! function_exists( 'seedlet_blocks_setup' ) ) :
 		add_editor_style( 'style-editor.css' );
 	}
 endif;
-add_action( 'after_setup_theme', 'seedlet_blocks_setup' );
+add_action( 'after_setup_theme', 'seedlet_blocks_setup', 11 );
 
 /**
  * Enqueue scripts and styles.
@@ -33,4 +33,4 @@ add_action( 'after_setup_theme', 'seedlet_blocks_setup' );
 function seedlet_blocks_enqueue() {
 	wp_enqueue_style( 'seedlet-blocks-styles', get_stylesheet_uri() );
 }
-add_action( 'wp_enqueue_scripts', 'seedlet_blocks_enqueue' );
+add_action( 'wp_enqueue_scripts', 'seedlet_blocks_enqueue', 11 );

+ 1 - 2
seedlet/404.php

@@ -4,8 +4,7 @@
  *
  * @link https://codex.wordpress.org/Creating_an_Error_404_Page
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/archive.php

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 2303 - 0
seedlet/assets/css/ie-editor.css

@@ -0,0 +1,2303 @@
+/**
+ * These styles should be loaded by the Block Editor only
+ */
+:root, body {
+	/* Globals */
+	/* Font Family */
+	/* Font Size */
+	/* Line Height */
+	/* Colors */
+	/* Spacing */
+	/* Elevation */
+	/* Other */
+	/* Elements */
+	/* Blocks */
+	/* Components */
+	/* Vendors */
+}
+
+/**
+ * Repsonsive Styles
+ */
+/**
+ * Required Variables
+ */
+/**
+ * Root Media Query Variables
+ */
+
+/**
+ * Extends
+ */
+.default-max-width {
+	max-width: 100%;
+	margin-left: auto;
+	margin-right: auto;
+}
+@media only screen and (min-width: 482px) {
+	.default-max-width {
+	max-width: 432px;
+	}
+}
+@media only screen and (min-width: 592px) {
+	.default-max-width {
+	max-width: 432px;
+	}
+}
+@media only screen and (min-width: 652px) {
+	.default-max-width {
+	max-width: 542px;
+	}
+}
+@media only screen and (min-width: 822px) {
+	.default-max-width {
+	max-width: 602px;
+	}
+}
+@media only screen and (min-width: 1024px) {
+	.default-max-width {
+	max-width: 602px;
+	}
+}
+
+.wide-max-width {
+	max-width: 100%;
+	margin-left: auto;
+	margin-right: auto;
+}
+
+@media only screen and (min-width: 482px) {
+	.wide-max-width {
+	max-width: 432px;
+	}
+}
+
+@media only screen and (min-width: 592px) {
+	.wide-max-width {
+	max-width: 542px;
+	}
+}
+
+@media only screen and (min-width: 652px) {
+	.wide-max-width {
+	max-width: 602px;
+	}
+}
+
+@media only screen and (min-width: 822px) {
+	.wide-max-width {
+	max-width: 772px;
+	}
+}
+
+@media only screen and (min-width: 1024px) {
+	.wide-max-width {
+	max-width: 772px;
+	}
+}
+
+@media only screen and (min-width: 482px) {
+	.full-max-width {
+		max-width: 100%;
+		width: auto;
+		margin-left: auto;
+		margin-right: auto;
+	}
+}
+
+/**
+ * Output
+ */
+body {
+	color: #333333;
+	background-color: #FFFFFF;
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 18px;
+	font-weight: normal;
+	-moz-osx-font-smoothing: grayscale;
+	-webkit-font-smoothing: antialiased;
+}
+
+.editor-post-title__block {
+	font-size: 18px;
+}
+
+a {
+	border-bottom: 1px solid #3C8067;
+	color: #000000;
+	text-decoration: none;
+}
+
+a:hover {
+	color: #3C8067;
+}
+
+a:focus {
+	color: #3C8067;
+}
+
+a:active {
+	color: #000000;
+}
+
+button,
+a {
+	cursor: pointer;
+}
+
+/**
+ * Elements
+ * - Styles for basic HTML elemants
+ */
+blockquote {
+	margin: 0;
+	padding: 0;
+}
+
+blockquote p {
+	font-size: 24px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+blockquote cite {
+	color: #444444;
+	font-size: 14px;
+	letter-spacing: normal;
+}
+
+blockquote footer {
+	color: #444444;
+	font-size: 14px;
+	letter-spacing: normal;
+}
+
+blockquote > * {
+	margin-top: 20px;
+	margin-bottom: 20px;
+}
+
+blockquote > *:first-child {
+	margin-top: 0;
+}
+
+blockquote > *:last-child {
+	margin-bottom: 0;
+}
+
+blockquote.alignleft, blockquote.alignright {
+	padding-left: inherit;
+}
+
+blockquote.alignleft p {
+	font-size: 18px;
+	max-width: inherit;
+	width: inherit;
+}
+
+blockquote.alignright p {
+	font-size: 18px;
+	max-width: inherit;
+	width: inherit;
+}
+
+blockquote.alignleft cite {
+	font-size: 14px;
+	letter-spacing: normal;
+}
+
+blockquote.alignleft footer {
+	font-size: 14px;
+	letter-spacing: normal;
+}
+
+blockquote.alignright cite {
+	font-size: 14px;
+	letter-spacing: normal;
+}
+
+blockquote.alignright footer {
+	font-size: 14px;
+	letter-spacing: normal;
+}
+
+/* Media captions */
+figcaption {
+	color: #444444;
+	font-size: 14px;
+	line-height: 1.7;
+	margin-top: 10px;
+	margin-bottom: 20px;
+	text-align: center;
+}
+.wp-caption {
+	color: #444444;
+	font-size: 14px;
+	line-height: 1.7;
+	margin-top: 10px;
+	margin-bottom: 20px;
+	text-align: center;
+}
+.wp-caption-text {
+	color: #444444;
+	font-size: 14px;
+	line-height: 1.7;
+	margin-top: 10px;
+	margin-bottom: 20px;
+	text-align: center;
+}
+
+.alignleft figcaption,
+.alignright figcaption, .alignleft
+.wp-caption,
+.alignright
+.wp-caption, .alignleft
+.wp-caption-text,
+.alignright
+.wp-caption-text {
+	margin-bottom: 0;
+}
+
+/* WP Smiley */
+.page-content .wp-smiley,
+.entry-content .wp-smiley,
+.comment-content .wp-smiley {
+	border: none;
+	margin-bottom: 0;
+	margin-top: 0;
+	padding: 0;
+}
+
+/* Make sure embeds and iframes fit their containers. */
+embed,
+iframe,
+object {
+	max-width: 100%;
+}
+
+.wp-block-button__link {
+	color: #FFFFFF;
+	font-weight: normal;
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 1em;
+	line-height: 1;
+	background-color: #3C8067;
+	border-radius: 4px;
+	padding: 23px 25px;
+}
+
+.wp-block-button__link:hover {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-button__link:focus {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-button__link.has-focus {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-button__link.is-style-outline {
+	color: #3C8067;
+	background: transparent;
+	border: 2px solid currentcolor;
+}
+
+.is-style-outline .wp-block-button__link {
+	color: #3C8067;
+	background: transparent;
+	border: 2px solid currentcolor;
+}
+
+.wp-block-button__link.is-style-squared,
+.is-style-squared .wp-block-button__link {
+	border-radius: 0;
+}
+
+div[data-type="core/button"] {
+	display: block;
+}
+
+.wp-block-cover {
+	background-color: #000000;
+	min-height: 450px;
+	margin-top: inherit;
+	margin-bottom: inherit;
+}
+
+.wp-block-cover-image {
+	background-color: #000000;
+	min-height: 450px;
+	margin-top: inherit;
+	margin-bottom: inherit;
+}
+
+.wp-block-cover .wp-block-cover__inner-container,
+.wp-block-cover .wp-block-cover-image-text,
+.wp-block-cover .wp-block-cover-text,
+.wp-block-cover .block-editor-block-list__block,
+.wp-block-cover-image .wp-block-cover__inner-container,
+.wp-block-cover-image .wp-block-cover-image-text,
+.wp-block-cover-image .wp-block-cover-text,
+.wp-block-cover-image .block-editor-block-list__block {
+	color: currentColor;
+}
+
+.wp-block-cover .wp-block-cover__inner-container a,
+.wp-block-cover .wp-block-cover-image-text a,
+.wp-block-cover .wp-block-cover-text a,
+.wp-block-cover .block-editor-block-list__block a,
+.wp-block-cover-image .wp-block-cover__inner-container a,
+.wp-block-cover-image .wp-block-cover-image-text a,
+.wp-block-cover-image .wp-block-cover-text a,
+.wp-block-cover-image .block-editor-block-list__block a {
+	color: currentColor;
+}
+
+.wp-block-cover:not([class*='background-color']) .wp-block-cover__inner-container {
+	color: #FAFBF6;
+}
+
+.wp-block-cover:not([class*='background-color']) .wp-block-cover-image-text {
+	color: #FAFBF6;
+}
+
+.wp-block-cover:not([class*='background-color']) .wp-block-cover-text {
+	color: #FAFBF6;
+}
+
+.wp-block-cover:not([class*='background-color']) .block-editor-block-list__block {
+	color: #FAFBF6;
+}
+
+.wp-block-cover-image:not([class*='background-color']) .wp-block-cover__inner-container {
+	color: #FAFBF6;
+}
+
+.wp-block-cover-image:not([class*='background-color']) .wp-block-cover-image-text {
+	color: #FAFBF6;
+}
+
+.wp-block-cover-image:not([class*='background-color']) .wp-block-cover-text {
+	color: #FAFBF6;
+}
+
+.wp-block-cover-image:not([class*='background-color']) .block-editor-block-list__block {
+	color: #FAFBF6;
+}
+
+.wp-block-cover h2 {
+	font-size: 32px;
+	letter-spacing: normal;
+	line-height: 1.3;
+	padding: 0;
+	max-width: inherit;
+	text-align: inherit;
+}
+
+.wp-block-cover-image h2 {
+	font-size: 32px;
+	letter-spacing: normal;
+	line-height: 1.3;
+	padding: 0;
+	max-width: inherit;
+	text-align: inherit;
+}
+
+.wp-block-cover h2.has-text-align-left,
+.wp-block-cover-image h2.has-text-align-left {
+	text-align: left;
+}
+
+.wp-block-cover h2.has-text-align-center,
+.wp-block-cover-image h2.has-text-align-center {
+	text-align: center;
+}
+
+.wp-block-cover h2.has-text-align-right,
+.wp-block-cover-image h2.has-text-align-right {
+	text-align: right;
+}
+
+.wp-block-file .wp-block-file__textlink {
+	border-bottom: 1px solid #3C8067;
+	color: #000000;
+	text-decoration: none;
+}
+
+.wp-block-file .wp-block-file__button {
+	color: #FFFFFF;
+	font-weight: normal;
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 1em;
+	line-height: 1;
+	background-color: #3C8067;
+	border-radius: 4px;
+	padding: 11.5px 12.5px;
+}
+
+.wp-block-file .wp-block-file__button:hover {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-file .wp-block-file__button:focus {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-file .wp-block-file__button.has-focus {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-gallery figcaption {
+	margin-bottom: 0;
+}
+
+.wp-block-group.has-background {
+	padding: 30px;
+}
+
+.wp-block[data-type="core/group"] > .editor-block-list__block-edit > div > .wp-block-group.has-background > .wp-block-group__inner-container > .editor-inner-blocks > .editor-block-list__layout > .wp-block[data-align=full] {
+	margin: 0;
+	width: 100%;
+}
+
+.wp-block-heading h1 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+h1 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.h1 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.wp-block-heading h2 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+h2 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.h2 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.wp-block-heading h3 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+h3 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.h3 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.wp-block-heading h4 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+h4 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.h4 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.wp-block-heading h5 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+h5 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.h5 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.wp-block-heading h6 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+h6 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.h6 {
+	clear: both;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+}
+
+.wp-block-heading h1 strong {
+	font-weight: 600;
+}
+
+h1 strong {
+	font-weight: 600;
+}
+
+.h1 strong {
+	font-weight: 600;
+}
+
+.wp-block-heading h2 strong {
+	font-weight: 600;
+}
+
+h2 strong {
+	font-weight: 600;
+}
+
+.h2 strong {
+	font-weight: 600;
+}
+
+.wp-block-heading h3 strong {
+	font-weight: 600;
+}
+
+h3 strong {
+	font-weight: 600;
+}
+
+.h3 strong {
+	font-weight: 600;
+}
+
+.wp-block-heading h4 strong {
+	font-weight: 600;
+}
+
+h4 strong {
+	font-weight: 600;
+}
+
+.h4 strong {
+	font-weight: 600;
+}
+
+.wp-block-heading h5 strong {
+	font-weight: 600;
+}
+
+h5 strong {
+	font-weight: 600;
+}
+
+.h5 strong {
+	font-weight: 600;
+}
+
+.wp-block-heading h6 strong {
+	font-weight: 600;
+}
+
+h6 strong {
+	font-weight: 600;
+}
+
+.h6 strong {
+	font-weight: 600;
+}
+
+.wp-block-heading h1 {
+	font-size: 48px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+h1 {
+	font-size: 48px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.h1 {
+	font-size: 48px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.wp-block-heading h2 {
+	font-size: 32px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+h2 {
+	font-size: 32px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.h2 {
+	font-size: 32px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.wp-block-heading h3 {
+	font-size: 28px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+h3 {
+	font-size: 28px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.h3 {
+	font-size: 28px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.wp-block-heading h4 {
+	font-size: 24px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+h4 {
+	font-size: 24px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.h4 {
+	font-size: 24px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.wp-block-heading h5 {
+	font-size: 18px;
+	letter-spacing: normal;
+	line-height: undefined;
+}
+
+h5 {
+	font-size: 18px;
+	letter-spacing: normal;
+	line-height: undefined;
+}
+
+.h5 {
+	font-size: 18px;
+	letter-spacing: normal;
+	line-height: undefined;
+}
+
+.wp-block-heading h6 {
+	font-size: 1em;
+	letter-spacing: normal;
+	line-height: undefined;
+}
+
+h6 {
+	font-size: 1em;
+	letter-spacing: normal;
+	line-height: undefined;
+}
+
+.h6 {
+	font-size: 1em;
+	letter-spacing: normal;
+	line-height: undefined;
+}
+
+.wp-block-heading h1[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+h1[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.h1[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.wp-block-heading h2[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+h2[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.h2[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.wp-block-heading h3[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+h3[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.h3[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.wp-block-heading h4[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+h4[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.h4[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.wp-block-heading h5[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+h5[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.h5[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.wp-block-heading h6[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+h6[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+.h6[style*="--wp--typography--line-height"] {
+	line-height: undefined;
+}
+
+/* Center image block by default in the editor */
+.wp-block-image > div {
+	text-align: center;
+}
+
+[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized {
+	margin: 0 auto;
+}
+
+.wp-block-latest-comments {
+	margin-left: 0;
+}
+
+.wp-block-latest-posts {
+	padding-left: 0;
+}
+
+.wp-block-latest-posts:not(.is-grid) > li {
+	margin-top: 30px;
+	margin-bottom: 30px;
+}
+
+.wp-block-latest-posts:not(.is-grid) > li:first-child {
+	margin-top: 0;
+}
+
+.wp-block-latest-posts:not(.is-grid) > li:last-child {
+	margin-bottom: 0;
+}
+
+.wp-block-latest-posts.is-grid > li {
+	margin-bottom: 30px;
+}
+
+.wp-block-latest-posts.is-grid > li:last-child {
+	margin-bottom: 0;
+}
+
+.wp-block-latest-posts > li > * {
+	margin-top: 15px;
+	margin-bottom: 15px;
+}
+
+.wp-block-latest-posts > li > *:first-child {
+	margin-top: 0;
+}
+
+.wp-block-latest-posts > li > *:last-child {
+	margin-bottom: 0;
+}
+
+.wp-block-latest-posts > li > a {
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-size: 28px;
+	font-weight: normal;
+	line-height: 1.3;
+}
+
+.wp-block-latest-posts .wp-block-latest-posts__post-date {
+	color: #444444;
+	font-size: 14px;
+	line-height: 1.7;
+}
+
+[class*="inner-container"] .wp-block-latest-posts .wp-block-latest-posts__post-date,
+.has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
+	color: currentColor;
+}
+
+.wp-block-latest-posts .wp-block-latest-posts__post-excerpt {
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 16px;
+	line-height: 1.7;
+}
+
+.wp-block-latest-posts .wp-block-latest-posts__post-full-content {
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 16px;
+	line-height: 1.7;
+}
+
+.gallery-item {
+	display: inline-block;
+	text-align: center;
+	vertical-align: top;
+	width: 100%;
+}
+
+.gallery-columns-2 .gallery-item {
+	max-width: 50%;
+}
+
+.gallery-columns-3 .gallery-item {
+	max-width: 33.33%;
+}
+
+.gallery-columns-4 .gallery-item {
+	max-width: 25%;
+}
+
+.gallery-columns-5 .gallery-item {
+	max-width: 20%;
+}
+
+.gallery-columns-6 .gallery-item {
+	max-width: 16.66%;
+}
+
+.gallery-columns-7 .gallery-item {
+	max-width: 14.28%;
+}
+
+.gallery-columns-8 .gallery-item {
+	max-width: 12.5%;
+}
+
+.gallery-columns-9 .gallery-item {
+	max-width: 11.11%;
+}
+
+.gallery-caption {
+	display: block;
+}
+
+ul {
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	margin: 30px 0;
+	padding-left: 50px;
+}
+
+ol {
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	margin: 30px 0;
+	padding-left: 50px;
+}
+
+ul.aligncenter,
+ol.aligncenter {
+	list-style-position: inside;
+	padding: 0;
+}
+
+ul.alignright,
+ol.alignright {
+	list-style-position: inside;
+	text-align: right;
+	padding: 0;
+}
+
+li > ul,
+li > ol {
+	margin: 0;
+}
+
+dt {
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: bold;
+}
+
+.wp-block-media-text .block-editor-inner-blocks {
+	padding-right: 25px;
+	padding-left: 25px;
+}
+
+.wp-block-media-text[style*="background-color"]:not(.has-background-background-color) a {
+	color: currentColor;
+}
+
+.wp-block-navigation .wp-block-navigation__container {
+	background: #FFFFFF;
+	padding: 0;
+}
+
+.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__content {
+	padding: 13.2px;
+}
+
+.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__label {
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 16px;
+	font-weight: normal;
+}
+
+.wp-block-navigation .has-child .wp-block-navigation__container {
+	box-shadow: 1px 1px 3px 0px rgba( 0, 0, 0, 0.2 );
+}
+
+.wp-block-navigation:not(.has-text-color) .wp-block-navigation-link > a:hover {
+	color: #3C8067;
+}
+
+.wp-block-navigation:not(.has-text-color) .wp-block-navigation-link > a:focus {
+	color: #3C8067;
+}
+
+.wp-block-navigation:not(.has-text-color) .wp-block-navigation-link__content {
+	color: currentColor;
+}
+
+p {
+	line-height: --global--line-height-body;
+}
+
+p.has-background {
+	padding: 20px;
+}
+
+p.has-background:not(.has-background-background-color) a {
+	color: currentColor;
+}
+
+.a8c-posts-list {
+	padding-left: 0;
+}
+
+.wp-block-pullquote {
+	padding: 40px 0;
+	margin-left: 0;
+	margin-right: 0;
+	text-align: left;
+	border-top-color: transparent;
+	border-top-width: 0;
+	border-bottom-color: transparent;
+	border-bottom-width: 0;
+	color: #333333;
+}
+
+.wp-block-pullquote p {
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-size: 32px;
+	font-style: italic;
+	letter-spacing: normal;
+	line-height: 1.3;
+	margin: 0;
+}
+
+.wp-block-pullquote a {
+	color: currentColor;
+}
+
+.wp-block-pullquote .wp-block-pullquote__citation {
+	color: #444444;
+	font-size: 14px;
+}
+
+.wp-block-pullquote cite {
+	color: #444444;
+	font-size: 14px;
+}
+
+.wp-block-pullquote footer {
+	color: #444444;
+	font-size: 14px;
+}
+
+.wp-block-pullquote:not(.is-style-solid-color) {
+	background: none;
+}
+
+.wp-block-pullquote.is-style-solid-color {
+	background-color: #333333;
+	color: #FFFFFF;
+	padding: 40px;
+}
+
+.wp-block-pullquote.is-style-solid-color.alignleft blockquote {
+	padding-left: 20px;
+	padding-right: 20px;
+	max-width: inherit;
+}
+
+.wp-block-pullquote.is-style-solid-color.alignright blockquote {
+	padding-left: 20px;
+	padding-right: 20px;
+	max-width: inherit;
+}
+
+.wp-block-pullquote.is-style-solid-color blockquote {
+	margin: 0;
+	text-align: left;
+	max-width: 100%;
+}
+
+.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation,
+.wp-block-pullquote.is-style-solid-color cite,
+.wp-block-pullquote.is-style-solid-color footer {
+	color: currentColor;
+}
+
+.wp-block[data-align="full"] .wp-block-pullquote:not(.is-style-solid-color) blockquote {
+	padding: 0 40px;
+}
+
+.wp-block-quote {
+	border-left-color: #3C8067;
+	border-left-width: 1px;
+	margin: 30px 0;
+	padding-left: 25px;
+}
+
+.wp-block-quote p {
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 18px;
+	font-style: normal;
+	line-height: 1.7;
+}
+
+.wp-block-quote.is-large {
+	border-left: 1px solid #3C8067;
+	padding-left: 25px;
+	/* Resetting margins to match _block-container.scss */
+	margin-top: 30px;
+	margin-bottom: 30px;
+}
+
+.wp-block-quote.is-style-large {
+	border-left: 1px solid #3C8067;
+	padding-left: 25px;
+	/* Resetting margins to match _block-container.scss */
+	margin-top: 30px;
+	margin-bottom: 30px;
+}
+
+.wp-block-quote.is-large p {
+	font-size: 24px;
+	font-style: normal;
+	line-height: 1.5;
+}
+
+.wp-block-quote.is-style-large p {
+	font-size: 24px;
+	font-style: normal;
+	line-height: 1.5;
+}
+
+.wp-block-quote.is-large.has-text-align-right {
+	border-left: none;
+	border-right: 1px solid #3C8067;
+}
+
+.wp-block-quote.is-style-large.has-text-align-right {
+	border-left: none;
+	border-right: 1px solid #3C8067;
+}
+
+.wp-block-quote.has-text-align-right {
+	border-right: 1px solid #3C8067;
+}
+
+.wp-block-quote.has-text-align-center {
+	border: none;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-quote,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-quote,
+[style*="background-color"]:not(.has-background-background-color) .wp-block-quote,
+.wp-block-cover[style*="background-image"] .wp-block-quote {
+	border-color: currentColor;
+}
+
+.wp-block-quote .wp-block-quote__citation {
+	color: #444444;
+	font-size: 14px;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
+[style*="background-color"]:not(.has-background-background-color) .wp-block-quote .wp-block-quote__citation,
+.wp-block-cover[style*="background-image"] .wp-block-quote .wp-block-quote__citation {
+	color: currentColor;
+}
+
+.wp-block-search {
+	display: flex;
+	max-width: 100%;
+}
+
+@media only screen and (min-width: 482px) {
+	.wp-block-search {
+	max-width: 432px;
+	}
+}
+
+@media only screen and (min-width: 592px) {
+	.wp-block-search {
+	max-width: 432px;
+	}
+}
+
+@media only screen and (min-width: 652px) {
+	.wp-block-search {
+	max-width: 542px;
+	}
+}
+
+@media only screen and (min-width: 822px) {
+	.wp-block-search {
+	max-width: 602px;
+	}
+}
+
+@media only screen and (min-width: 1024px) {
+	.wp-block-search {
+	max-width: 602px;
+	}
+}
+
+.wp-block-search .wp-block-search__label {
+	font-weight: normal;
+}
+
+.wp-block-search .wp-block-search__input {
+	border: 2px solid #EFEFEF;
+	border-radius: 0;
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 18px;
+	line-height: 1.7;
+	max-width: inherit;
+	margin-right: 16.5px;
+	padding: 10px;
+}
+
+.wp-block-search .wp-block-search__input:focus {
+	border-color: #EFEFEF;
+}
+
+.wp-block-separator {
+	border-bottom: 2px solid #EFEFEF;
+	clear: both;
+}
+
+hr {
+	border-bottom: 2px solid #EFEFEF;
+	clear: both;
+}
+
+.wp-block-separator[style*="text-align:right"] {
+	border-right-color: #EFEFEF;
+}
+
+.wp-block-separator[style*="text-align: right"] {
+	border-right-color: #EFEFEF;
+}
+
+hr[style*="text-align:right"] {
+	border-right-color: #EFEFEF;
+}
+
+hr[style*="text-align: right"] {
+	border-right-color: #EFEFEF;
+}
+
+.wp-block-separator.is-style-wide {
+	border-bottom-width: 2px;
+}
+
+hr.is-style-wide {
+	border-bottom-width: 2px;
+}
+
+.wp-block-separator.is-style-dots,
+hr.is-style-dots {
+	border-bottom: none;
+}
+
+.wp-block-separator.is-style-dots.has-background, .wp-block-separator.is-style-dots.has-text-color,
+hr.is-style-dots.has-background,
+hr.is-style-dots.has-text-color {
+	background-color: transparent !important;
+}
+
+.wp-block-separator.is-style-dots.has-background:before, .wp-block-separator.is-style-dots.has-text-color:before,
+hr.is-style-dots.has-background:before,
+hr.is-style-dots.has-text-color:before {
+	color: currentColor !important;
+}
+
+.wp-block-separator.is-style-dots:before {
+	color: #EFEFEF;
+}
+
+hr.is-style-dots:before {
+	color: #EFEFEF;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-separator,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-separator,
+[style*="background-color"]:not(.has-background-background-color) .wp-block-separator,
+.wp-block-cover[style*="background-image"] .wp-block-separator, .has-background:not(.has-background-background-color)
+hr,
+[class*="background-color"]:not(.has-background-background-color)
+hr,
+[style*="background-color"]:not(.has-background-background-color)
+hr,
+.wp-block-cover[style*="background-image"]
+hr {
+	border-color: currentColor;
+}
+
+table th {
+	font-family: 'Playfair Display', Georgia, Times, serif;
+}
+
+.wp-block-table th {
+	font-family: 'Playfair Display', Georgia, Times, serif;
+}
+
+table td {
+	padding: 10px;
+}
+
+table th {
+	padding: 10px;
+}
+
+.wp-block-table td {
+	padding: 10px;
+}
+
+.wp-block-table th {
+	padding: 10px;
+}
+
+pre.wp-block-verse {
+	padding: 0;
+}
+
+/**
+* Editor Post Title
+* - Needs a special styles
+*/
+.editor-post-title__block .editor-post-title__input {
+	color: #333333;
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-weight: normal;
+	font-size: 32px;
+	letter-spacing: normal;
+	line-height: 1.3;
+}
+
+.wp-block.block-editor-default-block-appender > textarea {
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 18px;
+}
+
+.has-primary-color[class] {
+	color: #000000;
+}
+
+.has-secondary-color[class] {
+	color: #3C8067;
+}
+
+.has-foreground-color[class] {
+	color: #333333;
+}
+
+.has-foreground-light-color[class] {
+	color: #444444;
+}
+
+.has-foreground-dark-color[class] {
+	color: #000000;
+}
+
+.has-tertiary-color[class] {
+	color: #FAFBF6;
+}
+
+.has-background-dark-color[class] {
+	color: #DDDDDD;
+}
+
+.has-background-color[class] {
+	color: #FFFFFF;
+}
+
+.has-background:not(.has-background-background-color) a,
+.has-background p, .has-background h1, .has-background h2, .has-background h3, .has-background h4, .has-background h5, .has-background h6 {
+	color: currentColor;
+}
+
+.has-primary-background-color[class] {
+	background-color: #000000;
+	color: #FFFFFF;
+}
+
+.has-primary-background-color[class] {
+	background-color: #000000;
+	color: #FFFFFF;
+}
+
+.has-secondary-background-color[class] {
+	background-color: #3C8067;
+	color: #FFFFFF;
+}
+
+.has-foreground-background-color[class] {
+	background-color: #333333;
+	color: #FFFFFF;
+}
+
+.has-foreground-light-background-color[class] {
+	background-color: #444444;
+	color: #FFFFFF;
+}
+
+.has-foreground-dark-background-color[class] {
+	background-color: #000000;
+	color: #FFFFFF;
+}
+
+.has-tertiary-background-color[class] {
+	background-color: #FAFBF6;
+	color: #333333;
+}
+
+.has-background-dark-background-color[class] {
+	background-color: #DDDDDD;
+	color: #333333;
+}
+
+.has-background-background-color[class] {
+	background-color: #FFFFFF;
+	color: #333333;
+}
+
+.has-white-background-color[class] {
+	background-color: white;
+	color: #3C8067;
+}
+
+.has-black-background-color[class] {
+	background-color: black;
+	color: #000000;
+}
+
+.is-tiny-text {
+	font-size: 14px;
+}
+
+.has-tiny-font-size {
+	font-size: 14px;
+}
+
+.is-small-text {
+	font-size: 16px;
+}
+
+.has-small-font-size {
+	font-size: 16px;
+}
+
+.is-regular-text {
+	font-size: 18px;
+}
+
+.has-regular-font-size {
+	font-size: 18px;
+}
+
+.has-normal-font-size {
+	font-size: 18px;
+}
+
+.has-medium-font-size {
+	font-size: 18px;
+}
+
+.is-large-text {
+	font-size: 24px;
+	line-height: 1.3;
+}
+
+.has-large-font-size {
+	font-size: 24px;
+	line-height: 1.3;
+}
+
+.is-larger-text {
+	font-size: 28px;
+	line-height: 1.3;
+}
+
+.has-larger-font-size {
+	font-size: 28px;
+	line-height: 1.3;
+}
+
+.has-huge-font-size {
+	font-size: 28px;
+	line-height: 1.3;
+}
+
+.has-drop-cap:not(:focus)::first-letter {
+	font-family: 'Playfair Display', Georgia, Times, serif;
+	font-size: 96px;
+	font-weight: normal;
+}
+
+/**
+ * Spacing Overrides
+ */
+[data-block] {
+	margin-top: 30px;
+	margin-bottom: 30px;
+}
+
+[data-block] [data-block]:first-child {
+	margin-top: 0;
+}
+
+[data-block] [data-block]:nth-last-child(2) {
+	margin-bottom: 0;
+}
+
+/* 
+ * Custom gradients 
+*/
+.has-hard-diagonal-gradient-background {
+	background: linear-gradient(to bottom right, #3C8067 49.9%, #FAFBF6 50%);
+}
+
+.has-hard-diagonal-inverted-gradient-background {
+	background: linear-gradient(to top left, #3C8067 49.9%, #FAFBF6 50%);
+}
+
+.has-diagonal-gradient-background {
+	background: linear-gradient(to bottom right, #3C8067, #FAFBF6);
+}
+
+.has-diagonal-inverted-gradient-background {
+	background: linear-gradient(to top left, #3C8067, #FAFBF6);
+}
+
+.has-hard-horizontal-gradient-background {
+	background: linear-gradient(to bottom, #3C8067 50%, #FAFBF6 50%);
+}
+
+.has-hard-horizontal-inverted-gradient-background {
+	background: linear-gradient(to top, #3C8067 50%, #FAFBF6 50%);
+}
+
+.has-horizontal-gradient-background {
+	background: linear-gradient(to bottom, #3C8067, #FAFBF6);
+}
+
+.has-horizontal-inverted-gradient-background {
+	background: linear-gradient(to top, #3C8067, #FAFBF6);
+}
+
+.has-stripe-gradient-background {
+	background: linear-gradient(to bottom, transparent 20%, #3C8067 20%, #3C8067 80%, transparent 80%);
+}
+
+/* Block Alignments */
+.wp-block {
+	max-width: 100%;
+}
+@media only screen and (min-width: 482px) {
+	.wp-block {
+	max-width: 432px;
+	}
+}
+@media only screen and (min-width: 592px) {
+	.wp-block {
+	max-width: 432px;
+	}
+}
+@media only screen and (min-width: 652px) {
+	.wp-block {
+	max-width: 542px;
+	}
+}
+@media only screen and (min-width: 822px) {
+	.wp-block {
+	max-width: 602px;
+	}
+}
+@media only screen and (min-width: 1024px) {
+	.wp-block {
+	max-width: 602px;
+	}
+}
+
+.wp-block[data-align="wide"] {
+	max-width: 100%;
+}
+
+@media only screen and (min-width: 482px) {
+	.wp-block[data-align="wide"] {
+	max-width: 432px;
+	}
+}
+
+@media only screen and (min-width: 592px) {
+	.wp-block[data-align="wide"] {
+	max-width: 542px;
+	}
+}
+
+@media only screen and (min-width: 652px) {
+	.wp-block[data-align="wide"] {
+	max-width: 602px;
+	}
+}
+
+@media only screen and (min-width: 822px) {
+	.wp-block[data-align="wide"] {
+	max-width: 772px;
+	}
+}
+
+@media only screen and (min-width: 1024px) {
+	.wp-block[data-align="wide"] {
+	max-width: 772px;
+	}
+}
+
+.wp-block.alignwide {
+	max-width: 100%;
+}
+
+@media only screen and (min-width: 482px) {
+	.wp-block.alignwide {
+	max-width: 432px;
+	}
+}
+
+@media only screen and (min-width: 592px) {
+	.wp-block.alignwide {
+	max-width: 542px;
+	}
+}
+
+@media only screen and (min-width: 652px) {
+	.wp-block.alignwide {
+	max-width: 602px;
+	}
+}
+
+@media only screen and (min-width: 822px) {
+	.wp-block.alignwide {
+	max-width: 772px;
+	}
+}
+
+@media only screen and (min-width: 1024px) {
+	.wp-block.alignwide {
+	max-width: 772px;
+	}
+}
+
+.wp-block[data-align="full"], .wp-block.alignfull {
+	max-width: none;
+}
+
+.alignleft {
+	margin: 0;
+	margin-right: 25px;
+}
+
+.alignright {
+	margin: 0;
+	margin-left: 25px;
+}
+
+/**
+ * Jetpack editor styles
+ */
+/**
+ * Jetpack Block editor styles
+ */
+.wp-block-a8c-blog-posts.image-aligntop .post-thumbnail {
+	margin-bottom: 15px;
+}
+
+.wp-block-a8c-blog-posts.image-alignleft .post-thumbnail {
+	margin-right: 30px;
+}
+
+.wp-block-a8c-blog-posts.image-alignright .post-thumbnail {
+	margin-left: 30px;
+}
+
+.wp-block-a8c-blog-posts.image-alignbehind .post-has-image .entry-wrapper {
+	padding: 30px;
+}
+
+.wp-block-a8c-blog-posts.image-alignbehind .post-has-image .cat-links {
+	color: white;
+}
+
+.wp-block-a8c-blog-posts.image-alignbehind .post-has-image a:hover {
+	color: currentColor;
+}
+
+.wp-block-a8c-blog-posts .article-section-title {
+	font-size: 1em;
+	margin-top: 0;
+	margin-bottom: 15px;
+}
+
+.wp-block-a8c-blog-posts article {
+	margin-bottom: 90px;
+}
+
+.wp-block-a8c-blog-posts .post-thumbnail img {
+	vertical-align: middle;
+	width: auto;
+}
+
+.wp-block-a8c-blog-posts .entry-wrapper > * {
+	/* Vertical margins logic between post details */
+	margin-top: 20px;
+	margin-bottom: 20px;
+}
+
+.wp-block-a8c-blog-posts .entry-wrapper > *:first-child {
+	margin-top: 0;
+}
+
+.wp-block-a8c-blog-posts .entry-wrapper > *:last-child {
+	margin-bottom: 0;
+}
+
+.wp-block-a8c-blog-posts .entry-title a {
+	color: #000000;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-title a,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-title a,
+[style*="background-color"] .wp-block-a8c-blog-posts .entry-title a {
+	color: currentColor;
+}
+
+.wp-block-a8c-blog-posts .entry-title a:hover {
+	color: #3C8067;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-title a,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-title a,
+[style*="background-color"] .wp-block-a8c-blog-posts .entry-title a {
+	color: currentColor;
+}
+
+.wp-block-a8c-blog-posts .more-link {
+	display: block;
+	color: inherit;
+	margin-top: 20px;
+}
+
+.wp-block-a8c-blog-posts .more-link:after {
+	content: "\02192";
+	display: inline-block;
+	margin-left: 0.5em;
+}
+
+.wp-block-a8c-blog-posts .more-link:hover {
+	color: #3C8067;
+	text-decoration: none;
+}
+
+.wp-block-a8c-blog-posts .more-link:active {
+	color: #3C8067;
+	text-decoration: none;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .more-link:hover,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .more-link:hover,
+[style*="background-color"] .wp-block-a8c-blog-posts .more-link:hover, .has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .more-link:active,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .more-link:active,
+[style*="background-color"] .wp-block-a8c-blog-posts .more-link:active {
+	color: currentColor;
+}
+
+.wp-block-a8c-blog-posts .entry-meta {
+	color: #444444;
+	font-size: 16px;
+}
+
+.wp-block-a8c-blog-posts .cat-links {
+	color: #444444;
+	font-size: 16px;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-meta,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-meta,
+[style*="background-color"] .wp-block-a8c-blog-posts .entry-meta, .has-background:not(.has-background-background-color)
+.wp-block-a8c-blog-posts .cat-links,
+[class*="background-color"]:not(.has-background-background-color)
+.wp-block-a8c-blog-posts .cat-links,
+[style*="background-color"]
+.wp-block-a8c-blog-posts .cat-links {
+	color: currentColor;
+}
+
+.wp-block-a8c-blog-posts .entry-meta .byline:not(:last-child) {
+	margin-right: 20px;
+}
+
+.wp-block-a8c-blog-posts .cat-links .byline:not(:last-child) {
+	margin-right: 20px;
+}
+
+.wp-block-a8c-blog-posts .entry-meta .published + .updated,
+.wp-block-a8c-blog-posts .cat-links .published + .updated {
+	display: none;
+}
+
+.wp-block-a8c-blog-posts .entry-meta a,
+.wp-block-a8c-blog-posts .cat-links a {
+	color: currentColor;
+	text-decoration: underline;
+}
+
+.wp-block-a8c-blog-posts .entry-meta a:hover {
+	color: #3C8067;
+	text-decoration: none;
+}
+
+.wp-block-a8c-blog-posts .entry-meta a:active {
+	color: #3C8067;
+	text-decoration: none;
+}
+
+.wp-block-a8c-blog-posts .cat-links a:hover {
+	color: #3C8067;
+	text-decoration: none;
+}
+
+.wp-block-a8c-blog-posts .cat-links a:active {
+	color: #3C8067;
+	text-decoration: none;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-meta a:hover,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-meta a:hover,
+[style*="background-color"] .wp-block-a8c-blog-posts .entry-meta a:hover, .has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-meta a:active,
+[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-meta a:active,
+[style*="background-color"] .wp-block-a8c-blog-posts .entry-meta a:active, .has-background:not(.has-background-background-color)
+.wp-block-a8c-blog-posts .cat-links a:hover,
+[class*="background-color"]:not(.has-background-background-color)
+.wp-block-a8c-blog-posts .cat-links a:hover,
+[style*="background-color"]
+.wp-block-a8c-blog-posts .cat-links a:hover, .has-background:not(.has-background-background-color)
+.wp-block-a8c-blog-posts .cat-links a:active,
+[class*="background-color"]:not(.has-background-background-color)
+.wp-block-a8c-blog-posts .cat-links a:active,
+[style*="background-color"]
+.wp-block-a8c-blog-posts .cat-links a:active {
+	color: currentColor;
+}
+
+.wp-block-search .wp-block-search__button {
+	line-height: 1;
+	color: #FFFFFF;
+	cursor: pointer;
+	font-weight: normal;
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 1em;
+	background-color: #3C8067;
+	border-radius: 4px;
+	border-width: 0;
+	text-decoration: none;
+	padding: 23px 25px;
+}
+
+.wp-block-a8c-blog-posts + .button {
+	line-height: 1;
+	color: #FFFFFF;
+	cursor: pointer;
+	font-weight: normal;
+	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
+	font-size: 1em;
+	background-color: #3C8067;
+	border-radius: 4px;
+	border-width: 0;
+	text-decoration: none;
+	padding: 23px 25px;
+}
+
+.wp-block-search .wp-block-search__button:before, .wp-block-a8c-blog-posts + .button:before, .wp-block-search .wp-block-search__button:after, .wp-block-a8c-blog-posts + .button:after {
+	content: '';
+	display: block;
+	height: 0;
+	width: 0;
+}
+
+.wp-block-search .wp-block-search__button:before {
+	margin-bottom: -calc(0.5em + -0.38);
+}
+
+.wp-block-a8c-blog-posts + .button:before {
+	margin-bottom: -calc(0.5em + -0.38);
+}
+
+.wp-block-search .wp-block-search__button:after {
+	margin-top: -calc(0.5em + -0.39);
+}
+
+.wp-block-a8c-blog-posts + .button:after {
+	margin-top: -calc(0.5em + -0.39);
+}
+
+.wp-block-search .wp-block-search__button:active {
+	color: #FFFFFF;
+	background-color: #000000;
+}
+
+.wp-block-a8c-blog-posts + .button:active {
+	color: #FFFFFF;
+	background-color: #000000;
+}
+
+.wp-block-search .wp-block-search__button:hover {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-a8c-blog-posts + .button:hover {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-search .wp-block-search__button:focus {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-a8c-blog-posts + .button:focus {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-search .has-focus.wp-block-search__button {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-a8c-blog-posts + .has-focus.button {
+	color: #FFFFFF;
+	background-color: #336D58;
+}
+
+.wp-block-a8c-blog-posts + .button {
+	display: inline-block;
+	font-size: 18px;
+}
+
+.wp-block-a8c-blog-posts + .button:hover {
+	cursor: default;
+}
+
+.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts + .button {
+	background-color: transparent;
+	border: 2px solid currentColor;
+	color: currentColor;
+}
+
+[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts + .button {
+	background-color: transparent;
+	border: 2px solid currentColor;
+	color: currentColor;
+}
+
+[style*="background-color"] .wp-block-a8c-blog-posts + .button {
+	background-color: transparent;
+	border: 2px solid currentColor;
+	color: currentColor;
+}
+
+/* Gutter Options */
+.wp-block-jetpack-layout-grid {
+	grid-gap: 40px;
+}
+.wp-block-jetpack-layout-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
+	grid-gap: 40px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__none {
+	grid-gap: 0px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__none > .block-editor-inner-blocks > .block-editor-block-list__layout {
+	grid-gap: 0px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__small {
+	grid-gap: 10px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__small > .block-editor-inner-blocks > .block-editor-block-list__layout {
+	grid-gap: 10px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__medium {
+	grid-gap: 20px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__medium > .block-editor-inner-blocks > .block-editor-block-list__layout {
+	grid-gap: 20px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__large {
+	grid-gap: 40px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__large > .block-editor-inner-blocks > .block-editor-block-list__layout {
+	grid-gap: 40px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge {
+	grid-gap: 60px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge > .block-editor-inner-blocks > .block-editor-block-list__layout {
+	grid-gap: 60px;
+}
+
+/* No Gutters Options */
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__none {
+	padding-left: 0px;
+	padding-right: 0px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__none.wp-block-jetpack-layout-gutter__nowrap {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__small {
+	padding-left: 10px;
+	padding-right: 10px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__small.wp-block-jetpack-layout-gutter__nowrap {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__medium {
+	padding-left: 20px;
+	padding-right: 20px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__medium.wp-block-jetpack-layout-gutter__nowrap {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__large {
+	padding-left: 40px;
+	padding-right: 40px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__large.wp-block-jetpack-layout-gutter__nowrap {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge {
+	padding-left: 60px;
+	padding-right: 60px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge.wp-block-jetpack-layout-gutter__nowrap {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+/* Padding Options */
+.wp-block-jetpack-layout-grid {
+	padding-left: 40px;
+	padding-right: 40px;
+	/* Individual Column Options */
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.has-background {
+	margin-left: -20px;
+	margin-right: -20px;
+	padding-left: 20px;
+	padding-right: 20px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column[style^="background-color"] {
+	margin-left: -20px;
+	margin-right: -20px;
+	padding-left: 20px;
+	padding-right: 20px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__nowrap {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+/* Additional, user-set paddings. */
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-none {
+	padding: 0px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-none.has-background {
+	padding-top: 0px;
+	padding-right: 20px;
+	padding-bottom: 0px;
+	padding-left: 20px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-none[style^="background-color"] {
+	padding-top: 0px;
+	padding-right: 20px;
+	padding-bottom: 0px;
+	padding-left: 20px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-small {
+	padding: 10px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-small.has-background {
+	padding-top: 10px;
+	padding-right: 30px;
+	padding-bottom: 10px;
+	padding-left: 30px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-small[style^="background-color"] {
+	padding-top: 10px;
+	padding-right: 30px;
+	padding-bottom: 10px;
+	padding-left: 30px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-medium {
+	padding: 20px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-medium.has-background {
+	padding-top: 20px;
+	padding-right: 40px;
+	padding-bottom: 20px;
+	padding-left: 40px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-medium[style^="background-color"] {
+	padding-top: 20px;
+	padding-right: 40px;
+	padding-bottom: 20px;
+	padding-left: 40px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-large {
+	padding: 40px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-large.has-background {
+	padding-top: 40px;
+	padding-right: 60px;
+	padding-bottom: 40px;
+	padding-left: 60px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-large[style^="background-color"] {
+	padding-top: 40px;
+	padding-right: 60px;
+	padding-bottom: 40px;
+	padding-left: 60px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-huge {
+	padding: 60px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-huge.has-background {
+	padding-top: 60px;
+	padding-right: 80px;
+	padding-bottom: 60px;
+	padding-left: 80px;
+}
+
+.wp-block-jetpack-layout-grid .wp-block-jetpack-layout-grid-column.wp-block-jetpack-layout-grid__padding-huge[style^="background-color"] {
+	padding-top: 60px;
+	padding-right: 80px;
+	padding-bottom: 60px;
+	padding-left: 80px;
+}
+
+/* Overlay grid */
+.wp-block-jetpack-layout-grid {
+	/* wpcom-overlay-grid is the classname targeting the grid overlay visual aid displayed in the editor */
+}
+
+.wp-block-jetpack-layout-grid .wpcom-overlay-grid {
+	grid-gap: 40px;
+	padding-left: 40px;
+	padding-right: 40px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__nowrap .wpcom-overlay-grid {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__none .wpcom-overlay-grid {
+	grid-gap: 0px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__none .wpcom-overlay-grid {
+	padding-left: 0px;
+	padding-right: 0px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__none.wp-block-jetpack-layout-gutter__nowrap .wpcom-overlay-grid {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__small .wpcom-overlay-grid {
+	grid-gap: 10px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__small .wpcom-overlay-grid {
+	padding-left: 10px;
+	padding-right: 10px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__small.wp-block-jetpack-layout-gutter__nowrap .wpcom-overlay-grid {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__medium .wpcom-overlay-grid {
+	grid-gap: 20px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__medium .wpcom-overlay-grid {
+	padding-left: 20px;
+	padding-right: 20px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__medium.wp-block-jetpack-layout-gutter__nowrap .wpcom-overlay-grid {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__large .wpcom-overlay-grid {
+	grid-gap: 40px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__large .wpcom-overlay-grid {
+	padding-left: 40px;
+	padding-right: 40px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__large.wp-block-jetpack-layout-gutter__nowrap .wpcom-overlay-grid {
+	padding-left: 0;
+	padding-right: 0;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge .wpcom-overlay-grid {
+	grid-gap: 60px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge .wpcom-overlay-grid {
+	padding-left: 60px;
+	padding-right: 60px;
+}
+
+.wp-block-jetpack-layout-grid.wp-block-jetpack-layout-gutter__huge.wp-block-jetpack-layout-gutter__nowrap .wpcom-overlay-grid {
+	padding-left: 0;
+	padding-right: 0;
+}

+ 179 - 91
seedlet/assets/css/ie.css

@@ -1,13 +1,13 @@
 /*
 Theme Name: Seedlet
-Theme URI: https://github.com/Automattic/themes/seedlet
+Theme URI: https://github.com/Automattic/themes/tree/master/seedlet
 Author: Automattic
 Author URI: https://automattic.com/
 Description: A simple, text-driven, single-column theme.
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Requires PHP: 7.3
-Version: 1.0.1-wpcom
+Version: 1.0.2-wpcom
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Text Domain: seedlet
@@ -795,6 +795,10 @@ hr.wp-block-separator.is-style-wide {
 	margin-top: 20px;
 	margin-bottom: 20px;
 }
+.wp-block-template-part > * {
+	margin-top: 20px;
+	margin-bottom: 20px;
+}
 .widget-area > * {
 	margin-top: 20px;
 	margin-bottom: 20px;
@@ -825,6 +829,10 @@ hr.wp-block-separator.is-style-wide {
 		margin-top: 30px;
 		margin-bottom: 30px;
 	}
+	.wp-block-template-part > * {
+		margin-top: 30px;
+		margin-bottom: 30px;
+	}
 	.widget-area > * {
 		margin-top: 30px;
 		margin-bottom: 30px;
@@ -840,6 +848,7 @@ hr.wp-block-separator.is-style-wide {
 .site-main > .not-found > *:first-child,
 .entry-content > *:first-child,
 [class*="inner-container"] > *:first-child,
+.wp-block-template-part > *:first-child,
 .widget-area > *:first-child,
 .widget-column > *:first-child {
 	margin-top: 0;
@@ -850,6 +859,7 @@ hr.wp-block-separator.is-style-wide {
 .site-main > .not-found > *:last-child,
 .entry-content > *:last-child,
 [class*="inner-container"] > *:last-child,
+.wp-block-template-part > *:last-child,
 .widget-area > *:last-child,
 .widget-column > *:last-child {
 	margin-bottom: 0;
@@ -1535,7 +1545,7 @@ a:active {
 	color: #000000;
 }
 
-*:focus {
+.site *:focus {
 	outline-width: 1px;
 	outline-style: dotted;
 	outline-color: #3C8067;
@@ -3722,43 +3732,43 @@ table th {
 }
 
 .has-primary-color[class] {
-	color: #000000 !important;
+	color: #000000;
 }
 
 .has-secondary-color[class] {
-	color: #3C8067 !important;
+	color: #3C8067;
 }
 
 .has-foreground-color[class] {
-	color: #333333 !important;
+	color: #333333;
 }
 
 .has-foreground-light-color[class] {
-	color: #444444 !important;
+	color: #444444;
 }
 
 .has-foreground-dark-color[class] {
-	color: #000000 !important;
+	color: #000000;
 }
 
 .has-tertiary-color[class] {
-	color: #FAFBF6 !important;
+	color: #FAFBF6;
 }
 
 .has-background-dark-color[class] {
-	color: #DDDDDD !important;
+	color: #DDDDDD;
 }
 
 .has-background-color[class] {
-	color: #FFFFFF !important;
+	color: #FFFFFF;
 }
 
 .has-white-color[class] {
-	color: white !important;
+	color: white;
 }
 
 .has-black-color[class] {
-	color: black !important;
+	color: black;
 }
 
 .has-background:not(.has-background-background-color) a,
@@ -3767,52 +3777,52 @@ table th {
 }
 
 .has-primary-background-color[class] {
-	background-color: #000000 !important;
+	background-color: #000000;
 	color: #FFFFFF;
 }
 
 .has-secondary-background-color[class] {
-	background-color: #3C8067 !important;
+	background-color: #3C8067;
 	color: #FFFFFF;
 }
 
 .has-foreground-background-color[class] {
-	background-color: #333333 !important;
+	background-color: #333333;
 	color: #FFFFFF;
 }
 
 .has-foreground-light-background-color[class] {
-	background-color: #444444 !important;
+	background-color: #444444;
 	color: #FFFFFF;
 }
 
 .has-foreground-dark-background-color[class] {
-	background-color: #000000 !important;
+	background-color: #000000;
 	color: #FFFFFF;
 }
 
 .has-tertiary-background-color[class] {
-	background-color: #FAFBF6 !important;
+	background-color: #FAFBF6;
 	color: #333333;
 }
 
 .has-background-dark-background-color[class] {
-	background-color: #DDDDDD !important;
+	background-color: #DDDDDD;
 	color: #333333;
 }
 
 .has-background-background-color[class] {
-	background-color: #FFFFFF !important;
+	background-color: #FFFFFF;
 	color: #333333;
 }
 
 .has-white-background-color[class] {
-	background-color: white !important;
+	background-color: white;
 	color: #3C8067;
 }
 
 .has-black-background-color[class] {
-	background-color: black !important;
+	background-color: black;
 	color: #000000;
 }
 
@@ -4146,6 +4156,152 @@ nav a {
 	}
 }
 
+.menu-button-container {
+	display: none;
+	justify-content: space-between;
+	left: 0;
+	position: absolute;
+	top: 0;
+	width: 100%;
+}
+
+.menu-button-container #primary-open-menu {
+	margin-left: auto;
+}
+
+@media only screen and (max-width: 481px) {
+	.menu-button-container {
+		display: flex;
+	}
+}
+
+.admin-bar:not(.primary-navigation-open) .menu-button-container {
+	top: 46px;
+}
+
+.menu-button-container .button {
+	background-color: transparent;
+	color: #000000;
+	z-index: 500;
+}
+
+.primary-navigation .button {
+	background-color: transparent;
+	color: #000000;
+	z-index: 500;
+}
+
+.woo-navigation .button {
+	background-color: transparent;
+	color: #000000;
+	z-index: 500;
+}
+
+.menu-button-container .button.open,
+.primary-navigation .button.open,
+.woo-navigation .button.open {
+	display: flex;
+	z-index: 499;
+}
+
+.menu-button-container .button.close,
+.primary-navigation .button.close,
+.woo-navigation .button.close {
+	display: none;
+}
+
+.menu-button-container .button:hover {
+	color: #3C8067;
+}
+
+.primary-navigation .button:hover {
+	color: #3C8067;
+}
+
+.woo-navigation .button:hover {
+	color: #3C8067;
+}
+
+.menu-button-container .button#woo-open-menu .svg-icon {
+	margin-left: 0;
+	margin-right: 5px;
+	vertical-align: middle;
+}
+
+.primary-navigation .button#woo-open-menu .svg-icon {
+	margin-left: 0;
+	margin-right: 5px;
+	vertical-align: middle;
+}
+
+.woo-navigation .button#woo-open-menu .svg-icon {
+	margin-left: 0;
+	margin-right: 5px;
+	vertical-align: middle;
+}
+
+.menu-button-container .button .dropdown-icon,
+.primary-navigation .button .dropdown-icon,
+.woo-navigation .button .dropdown-icon {
+	display: flex;
+	align-items: center;
+}
+
+.menu-button-container .button .dropdown-icon .svg-icon {
+	margin-left: 5px;
+}
+
+.primary-navigation .button .dropdown-icon .svg-icon {
+	margin-left: 5px;
+}
+
+.woo-navigation .button .dropdown-icon .svg-icon {
+	margin-left: 5px;
+}
+
+.menu-button-container .button .dropdown-icon.open .svg-icon,
+.primary-navigation .button .dropdown-icon.open .svg-icon,
+.woo-navigation .button .dropdown-icon.open .svg-icon {
+	position: relative;
+	top: -1px;
+}
+
+.menu-button-container .button .hide-visually,
+.primary-navigation .button .hide-visually,
+.woo-navigation .button .hide-visually {
+	position: absolute !important;
+	clip: rect(1px, 1px, 1px, 1px);
+	padding: 0 !important;
+	border: 0 !important;
+	height: 1px !important;
+	width: 1px !important;
+	overflow: hidden;
+}
+
+.primary-navigation-open .menu-button-container #primary-open-menu, .primary-navigation-open
+.primary-navigation #primary-open-menu, .primary-navigation-open
+.woo-navigation #primary-open-menu {
+	display: none;
+}
+
+.primary-navigation-open .menu-button-container #primary-close-menu, .primary-navigation-open
+.primary-navigation #primary-close-menu, .primary-navigation-open
+.woo-navigation #primary-close-menu {
+	display: flex;
+}
+
+.woo-navigation-open .menu-button-container #woo-open-menu, .woo-navigation-open
+.primary-navigation #woo-open-menu, .woo-navigation-open
+.woo-navigation #woo-open-menu {
+	display: none;
+}
+
+.woo-navigation-open .menu-button-container #woo-close-menu, .woo-navigation-open
+.primary-navigation #woo-close-menu, .woo-navigation-open
+.woo-navigation #woo-close-menu {
+	display: flex;
+}
+
 .primary-navigation {
 	position: absolute;
 	top: 0;
@@ -4212,34 +4368,6 @@ nav a {
 	}
 }
 
-.primary-navigation > .button {
-	position: absolute;
-	display: inline-block;
-	margin: 0;
-	right: 0;
-	top: 0;
-	background-color: transparent;
-	color: #000000;
-}
-
-.woo-navigation > .button {
-	position: absolute;
-	display: inline-block;
-	margin: 0;
-	right: 0;
-	top: 0;
-	background-color: transparent;
-	color: #000000;
-}
-
-.primary-navigation > .button:hover {
-	color: #3C8067;
-}
-
-.woo-navigation > .button:hover {
-	color: #3C8067;
-}
-
 .primary-navigation-open .primary-navigation > .primary-menu-container, .primary-navigation-open
 .woo-navigation > .primary-menu-container {
 	visibility: visible;
@@ -4247,46 +4375,6 @@ nav a {
 	transform: translateY(0);
 }
 
-.primary-navigation-open .primary-navigation > #toggle-menu, .primary-navigation-open
-.woo-navigation > #toggle-menu {
-	z-index: 500;
-}
-
-.primary-navigation-open .primary-navigation > #toggle-menu .open, .primary-navigation-open
-.woo-navigation > #toggle-menu .open {
-	display: none;
-}
-
-.primary-navigation-open .primary-navigation > #toggle-menu .close, .primary-navigation-open
-.woo-navigation > #toggle-menu .close {
-	display: flex;
-}
-
-.primary-navigation .dropdown-icon,
-.woo-navigation .dropdown-icon {
-	display: flex;
-	align-items: center;
-}
-
-.primary-navigation .dropdown-icon .svg-icon {
-	margin-left: 5px;
-}
-
-.woo-navigation .dropdown-icon .svg-icon {
-	margin-left: 5px;
-}
-
-.primary-navigation .dropdown-icon.open .svg-icon,
-.woo-navigation .dropdown-icon.open .svg-icon {
-	position: relative;
-	top: -1px;
-}
-
-.primary-navigation .dropdown-icon.close,
-.woo-navigation .dropdown-icon.close {
-	display: none;
-}
-
 .lock-scrolling .primary-navigation > .button, .lock-scrolling
 .woo-navigation > .button {
 	position: fixed;

+ 216 - 20
seedlet/assets/css/style-editor.css

@@ -1,7 +1,203 @@
 /**
  * These styles should be loaded by the Block Editor only
  */
-body {
+:root, body {
+	/* Globals */
+	/* Font Family */
+	--global--font-primary: var(--font-headings, 'Playfair Display', Georgia, Times, serif);
+	--global--font-secondary: var(--font-base, 'Fira Sans', Helvetica, Arial, sans-serif);
+	--global--font-code: monospace, monospace;
+	--global--font-ui: var(--font-base, var(--global--font-secondary));
+	/* Font Size */
+	--global--font-size-root: 18px;
+	--global--font-size-ratio: 1.2;
+	--global--font-size-base: 1em;
+	--global--font-size-xs: 14px;
+	--global--font-size-sm: 16px;
+	--global--font-size-md: 18px;
+	--global--font-size-lg: 24px;
+	--global--font-size-xl: 28px;
+	--global--font-size-xxl: 32px;
+	--global--font-size-xxxl: 48px;
+	--global--letter-spacing: normal;
+	/* Line Height */
+	--global--line-height-base: 1;
+	--global--line-height-body: 1.7;
+	--global--line-height-heading: 1.3;
+	/* Colors */
+	--global--color-primary: #000000;
+	--global--color-secondary: #3C8067;
+	--global--color-primary-hover: var( --global--color-secondary );
+	--global--color-secondary-hover: #336D58;
+	--global--color-black: black;
+	--global--color-white: white;
+	--global--color-foreground: #333333;
+	--global--color-foreground-light: #444444;
+	--global--color-foreground-dark: #000000;
+	--global--color-background: #FFFFFF;
+	--global--color-tertiary: #FAFBF6;
+	--global--color-background-dark: #DDDDDD;
+	--global--color-border: #EFEFEF;
+	--global--color-text-selection: #EBF2F0;
+	--global--color-alert-success: yellowgreen;
+	--global--color-alert-info: skyblue;
+	--global--color-alert-warning: gold;
+	--global--color-alert-error: salmon;
+	/* Spacing */
+	--global--spacing-unit: 20px;
+	--global--spacing-measure: unset;
+	--global--spacing-horizontal: 25px;
+	--global--spacing-vertical: 30px;
+	/* Elevation */
+	--global--elevation: 1px 1px 3px 0px rgba( 0, 0, 0, 0.2 );
+	/* Other */
+	--global--border-radius-sm: 9px;
+	--global--border-radius-md: 13.5px;
+	--global--border-radius-lg: 18px;
+	--global--border-radius-pill: 180px;
+	--global--border-radius-none: 0;
+	/* Elements */
+	--form--font-family: var(--global--font-secondary);
+	--form--font-size: var(--global--font-size-md);
+	--form--line-height: var(--global--line-height-body);
+	--form--color-text: var(--global--color-foreground);
+	--form--border-color: var(--global--color-border);
+	--form--border-width: 2px;
+	--form--border-radius: 0;
+	--form--spacing-unit: calc(0.5 * var(--global--spacing-unit));
+	/* Blocks */
+	--button--color-text: var(--global--color-background);
+	--button--color-text-hover: var(--button--color-text);
+	--button--color-text-active: var(--button--color-text);
+	--button--color-background: var(--global--color-secondary);
+	--button--color-background-hover: var(--global--color-secondary-hover);
+	--button--color-background-active: var(--global--color-primary);
+	--button--font-family: var(--global--font-ui);
+	--button--font-size: var(--global--font-size-base);
+	--button--font-weight: normal;
+	--button--line-height: 1;
+	--button--border-width: 2px;
+	--button--border-radius: 4px;
+	--button--padding-vertical: calc(var(--global--spacing-horizontal) - var(--button--border-width));
+	--button--padding-horizontal: var(--global--spacing-horizontal);
+	--cover--height: calc( 15 * var(--global--spacing-vertical) );
+	--cover--color-foreground: var(--global--color-foreground-dark);
+	--cover--color-background: var(--global--color-tertiary);
+	--heading--font-family: var(--global--font-primary);
+	--heading--line-height: 1.3;
+	--heading--font-size-h6: var(--global--font-size-base);
+	--heading--font-size-h5: var(--global--font-size-md);
+	--heading--font-size-h4: var(--global--font-size-lg);
+	--heading--font-size-h3: var(--global--font-size-xl);
+	--heading--font-size-h2: var(--global--font-size-xxl);
+	--heading--font-size-h1: var(--global--font-size-xxxl);
+	--heading--letter-spacing-h6: var(--global--letter-spacing);
+	--heading--letter-spacing-h5: var(--global--letter-spacing);
+	--heading--letter-spacing-h4: var(--global--letter-spacing);
+	--heading--letter-spacing-h3: var(--global--letter-spacing);
+	--heading--letter-spacing-h2: var(--global--letter-spacing);
+	--heading--letter-spacing-h1: var(--global--letter-spacing);
+	--heading--line-height-h6: 1.3;
+	--heading--line-height-h5: 1.3;
+	--heading--line-height-h4: 1.3;
+	--heading--line-height-h3: var(--heading--line-height);
+	--heading--line-height-h2: var(--heading--line-height);
+	--heading--line-height-h1: var(--heading--line-height);
+	--heading--font-weight: normal;
+	--heading--font-weight-strong: 600;
+	--latest-posts--title-font-family: var(--heading--font-family);
+	--latest-posts--title-font-size: var(--heading--font-size-h3);
+	--latest-posts--description-font-family: var(--global--font-secondary);
+	--latest-posts--description-font-size: var(--global--font-size-sm);
+	--layout-grid--gutter-none: 0px;
+	--layout-grid--gutter-small: calc( var(--global--spacing-unit) / 2);
+	--layout-grid--gutter-medium: var(--global--spacing-unit);
+	--layout-grid--gutter-large: calc( var(--global--spacing-unit) * 2);
+	--layout-grid--gutter-huge: calc( var(--global--spacing-unit) * 3);
+	--layout-grid--background-offset: calc( var(--global--spacing-unit));
+	--list--font-family: var(--global--font-secondary);
+	--definition-term--font-family: var(--global--font-primary);
+	--pullquote--font-family: var(--global--font-primary);
+	--pullquote--font-size: var(--heading--font-size-h2);
+	--pullquote--font-style: italic;
+	--pullquote--letter-spacing: var(--heading--letter-spacing-h4);
+	--pullquote--line-height: var(--global--line-height-heading);
+	--pullquote--border-width: 0;
+	--pullquote--border-color: transparent;
+	--pullquote--color-foreground: var(--global--color-foreground);
+	--pullquote--color-background: var(--global--color-background);
+	--quote--border-color: var(--global--color-secondary);
+	--quote--border-width: 1px;
+	--quote--font-family: var(--global--font-secondary);
+	--quote--font-size: var(--global--font-size-md);
+	--quote--font-size-large: var(--global--font-size-lg);
+	--quote--font-style: normal;
+	--quote--font-style-large: normal;
+	--quote--line-height: var(--global--line-height-body);
+	--quote--line-height-large: 1.5;
+	--separator--border-color: var(--global--color-border);
+	--separator--height: 2px;
+	--separator--width: calc(6 * var(--global--spacing-horizontal));
+	--utilities--font-size-xs: var(--global--font-size-xs);
+	--utilities--font-size-sm: var(--global--font-size-sm);
+	--utilities--font-size-md: var(--global--font-size-md);
+	--utilities--font-size-lg: var(--global--font-size-lg);
+	--utilities--font-size-xl: var(--global--font-size-xl);
+	--utilities--font-size-xxl: var(--global--font-size-xxl);
+	--utilities--font-size-xxxl: var(--global--font-size-xxxl);
+	/* Components */
+	--branding--color-text: var(--global--color-foreground);
+	--branding--color-link: var(--global--color-primary);
+	--branding--color-link-hover: var(--global--color-primary-hover);
+	--branding--title--font-family: var(--global--font-primary);
+	--branding--title--font-size: calc( 1.25 * var(--heading--font-size-h1) );
+	--branding--title--font-size-mobile: var(--heading--font-size-h1);
+	--branding--title--font-weight: 700;
+	--branding--description--font-family: var(--global--font-secondary);
+	--branding--description--font-size: var(--global--font-size-sm);
+	--branding--description--font-family: var(--global--font-secondary);
+	--branding--logo--max-width: 120px;
+	--branding--logo--max-height: 120px;
+	--branding--logo--max-width-mobile: 96px;
+	--branding--logo--max-height-mobile: 96px;
+	--primary-nav--font-family: var(--global--font-secondary);
+	--primary-nav--font-family-mobile: var(--global--font-primary);
+	--primary-nav--font-size: var(--global--font-size-sm);
+	--primary-nav--font-size-mobile: var(--global--font-size-xxl);
+	--primary-nav--font-size-sub-menu-mobile: var(--global--font-size-lg);
+	--primary-nav--font-style: normal;
+	--primary-nav--font-style-sub-menu-mobile: italic;
+	--primary-nav--font-weight: normal;
+	--primary-nav--color-link: var(--global--color-primary);
+	--primary-nav--color-link-hover: var(--global--color-primary-hover);
+	--primary-nav--color-text: var(--global--color-foreground);
+	--primary-nav--padding: calc(0.66 * var(--global--spacing-unit) );
+	--primary-nav--justify-content: center;
+	--social-nav--color-link: var(--global--color-foreground);
+	--social-nav--color-link-hover: var(--global--color-primary-hover);
+	--social-nav--padding: calc( 0.5 * var(--primary-nav--padding) );
+	/* Vendors */
+	--wc--wrapper-width: default;
+	--wc--table--border-color: var(--global--color-border);
+	--wc--table--border-radius: 0;
+	--wc--table--border-width: 1px;
+	--wc--table--padding: var(--global--spacing-unit);
+	--wc--tabs--border-color: var(--global--color-border);
+	--wc--tabs--border-radius: 10px;
+	--wc--tabs--border-width: 1px;
+	--wc--tabs--padding: var(--global--spacing-horizontal);
+	--wc--mini-cart--color-background: var(--global--color-background);
+	--wc--mini-cart--color-text: var(--global--color-foreground);
+	--wc--mini-cart--color-subtotal: var(--global--color-foreground);
+	--wc--mini-cart--color-count: var(--global--color-foreground-light);
+	--wc--mini-cart--color-border: var(--global--color-border);
+	--wc--mini-cart--button-text-color: var(--button--color-text);
+	--wc--mini-cart--button-background-color: var(--button--color-background);
+	--wc--mini-cart--width: calc(25 * var(--global--spacing-unit));
+	--wc--star-rating--color: var(--global--color-alert-warning);
+}
+
+:root, body {
 	/* Globals */
 	/* Font Family */
 	--global--font-primary: var(--font-headings, 'Playfair Display', Georgia, Times, serif);
@@ -1062,35 +1258,35 @@ pre.wp-block-verse {
 }
 
 .has-primary-color[class] {
-	color: var(--global--color-primary) !important;
+	color: var(--global--color-primary);
 }
 
 .has-secondary-color[class] {
-	color: var(--global--color-secondary) !important;
+	color: var(--global--color-secondary);
 }
 
 .has-foreground-color[class] {
-	color: var(--global--color-foreground) !important;
+	color: var(--global--color-foreground);
 }
 
 .has-foreground-light-color[class] {
-	color: var(--global--color-foreground-light) !important;
+	color: var(--global--color-foreground-light);
 }
 
 .has-foreground-dark-color[class] {
-	color: var(--global--color-foreground-dark) !important;
+	color: var(--global--color-foreground-dark);
 }
 
 .has-tertiary-color[class] {
-	color: var(--global--color-tertiary) !important;
+	color: var(--global--color-tertiary);
 }
 
 .has-background-dark-color[class] {
-	color: var(--global--color-background-dark) !important;
+	color: var(--global--color-background-dark);
 }
 
 .has-background-color[class] {
-	color: var(--global--color-background) !important;
+	color: var(--global--color-background);
 }
 
 .has-background:not(.has-background-background-color) a,
@@ -1099,57 +1295,57 @@ pre.wp-block-verse {
 }
 
 .has-primary-background-color[class] {
-	background-color: var(--global--color-primary) !important;
+	background-color: var(--global--color-primary);
 	color: var(--global--color-background);
 }
 
 .has-primary-background-color[class] {
-	background-color: var(--global--color-primary) !important;
+	background-color: var(--global--color-primary);
 	color: var(--global--color-background);
 }
 
 .has-secondary-background-color[class] {
-	background-color: var(--global--color-secondary) !important;
+	background-color: var(--global--color-secondary);
 	color: var(--global--color-background);
 }
 
 .has-foreground-background-color[class] {
-	background-color: var(--global--color-foreground) !important;
+	background-color: var(--global--color-foreground);
 	color: var(--global--color-background);
 }
 
 .has-foreground-light-background-color[class] {
-	background-color: var(--global--color-foreground-light) !important;
+	background-color: var(--global--color-foreground-light);
 	color: var(--global--color-background);
 }
 
 .has-foreground-dark-background-color[class] {
-	background-color: var(--global--color-foreground-dark) !important;
+	background-color: var(--global--color-foreground-dark);
 	color: var(--global--color-background);
 }
 
 .has-tertiary-background-color[class] {
-	background-color: var(--global--color-tertiary) !important;
+	background-color: var(--global--color-tertiary);
 	color: var(--global--color-foreground);
 }
 
 .has-background-dark-background-color[class] {
-	background-color: var(--global--color-background-dark) !important;
+	background-color: var(--global--color-background-dark);
 	color: var(--global--color-foreground);
 }
 
 .has-background-background-color[class] {
-	background-color: var(--global--color-background) !important;
+	background-color: var(--global--color-background);
 	color: var(--global--color-foreground);
 }
 
 .has-white-background-color[class] {
-	background-color: var(--global--color-white) !important;
+	background-color: var(--global--color-white);
 	color: var(--global--color-secondary);
 }
 
 .has-black-background-color[class] {
-	background-color: var(--global--color-black) !important;
+	background-color: var(--global--color-black);
 	color: var(--global--color-primary);
 }
 

+ 4 - 19
seedlet/assets/css/style-woocommerce-rtl.css

@@ -686,43 +686,28 @@ body[class*="woocommerce"] #page .wc-block-grid__product-add-to-cart .added_to_c
 	text-decoration: none;
 }
 
-body[class*="woocommerce"] #page .woo-navigation > #toggle-cart {
-	right: 0;
-	top: 0;
-	left: auto;
-}
-
-body[class*="woocommerce"] #page .woo-navigation > #toggle-cart .open .svg-icon {
-	margin-right: 0;
-	margin-left: calc(0.25 * var(--global--spacing-unit));
-	vertical-align: middle;
-}
-
-body[class*="woocommerce"].wc-navigation-open #page .woo-navigation > .woocommerce-menu-container {
+body[class*="woocommerce"].woo-navigation-open #page .woo-navigation > .woocommerce-menu-container {
 	visibility: visible;
 	opacity: 1;
 	transform: translateY(0);
 }
 
-body[class*="woocommerce"].wc-navigation-open #page .woo-navigation #toggle-cart {
+body[class*="woocommerce"].woo-navigation-open #page .woo-navigation #woo-open-menu {
 	right: auto;
 	left: 0;
 	z-index: 500;
 }
 
-body[class*="woocommerce"].wc-navigation-open #page .woo-navigation #toggle-cart .open {
+body[class*="woocommerce"].woo-navigation-open #page .woo-navigation #woo-open-menu .open {
 	display: none;
 }
 
-body[class*="woocommerce"].wc-navigation-open #page .woo-navigation #toggle-cart .close {
+body[class*="woocommerce"].woo-navigation-open #page .woo-navigation #woo-open-menu .close {
 	display: flex;
 	align-items: center;
 }
 
 @media only screen and (max-width: 481px) {
-	body[class*="woocommerce"].admin-bar.lock-scrolling #page .woo-navigation #toggle-cart {
-		top: 46px;
-	}
 	body[class*="woocommerce"] #page .woo-navigation .woocommerce-menu-container {
 		background-color: var(--wc--mini-cart--color-background);
 		color: var(--wc--mini-cart--color-text);

+ 4 - 19
seedlet/assets/css/style-woocommerce.css

@@ -686,43 +686,28 @@ body[class*="woocommerce"] #page .wc-block-grid__product-add-to-cart .added_to_c
 	text-decoration: none;
 }
 
-body[class*="woocommerce"] #page .woo-navigation > #toggle-cart {
-	left: 0;
-	top: 0;
-	right: auto;
-}
-
-body[class*="woocommerce"] #page .woo-navigation > #toggle-cart .open .svg-icon {
-	margin-left: 0;
-	margin-right: calc(0.25 * var(--global--spacing-unit));
-	vertical-align: middle;
-}
-
-body[class*="woocommerce"].wc-navigation-open #page .woo-navigation > .woocommerce-menu-container {
+body[class*="woocommerce"].woo-navigation-open #page .woo-navigation > .woocommerce-menu-container {
 	visibility: visible;
 	opacity: 1;
 	transform: translateY(0);
 }
 
-body[class*="woocommerce"].wc-navigation-open #page .woo-navigation #toggle-cart {
+body[class*="woocommerce"].woo-navigation-open #page .woo-navigation #woo-open-menu {
 	left: auto;
 	right: 0;
 	z-index: 500;
 }
 
-body[class*="woocommerce"].wc-navigation-open #page .woo-navigation #toggle-cart .open {
+body[class*="woocommerce"].woo-navigation-open #page .woo-navigation #woo-open-menu .open {
 	display: none;
 }
 
-body[class*="woocommerce"].wc-navigation-open #page .woo-navigation #toggle-cart .close {
+body[class*="woocommerce"].woo-navigation-open #page .woo-navigation #woo-open-menu .close {
 	display: flex;
 	align-items: center;
 }
 
 @media only screen and (max-width: 481px) {
-	body[class*="woocommerce"].admin-bar.lock-scrolling #page .woo-navigation #toggle-cart {
-		top: 46px;
-	}
 	body[class*="woocommerce"] #page .woo-navigation .woocommerce-menu-container {
 		background-color: var(--wc--mini-cart--color-background);
 		color: var(--wc--mini-cart--color-text);

+ 4 - 4
seedlet/assets/js/customizer-validate-wcag-color-contrast.js

@@ -1,8 +1,8 @@
 /**
  * @author Per Soderlind
  * @link https://github.com/soderlind/2016-customizer-demo
- * global wp, _validateWCAGColorContrastExports
- * global validateContrastText
+ * global wp, seedletValidateWCAGColorContrastExports
+ * global seedletValidateContrastText
  * exported validateWCAGColorContrast
 **/
 ( function( $, api, exports ) {
@@ -49,7 +49,7 @@
 			});
 
 			if ( failsWCAG ){
-				var validationWarning = new api.Notification( code, { message: validateContrastText, type: 'warning' } );
+				var validationWarning = new api.Notification( code, { message: seedletValidateContrastText, type: 'warning' } );
 				setTimeout( function(){
 					self.custom_colors_setting.notifications.add( code, validationWarning );
 				}, 400);
@@ -210,4 +210,4 @@
 
 	return self;
 
-} )( jQuery, wp.customize, _validateWCAGColorContrastExports );
+} )( jQuery, wp.customize, seedletValidateWCAGColorContrastExports );

+ 65 - 20
seedlet/assets/js/primary-navigation.js

@@ -3,34 +3,79 @@
  *
  * Required to open and close the mobile navigation.
  */
-
 ( function() {
+
 	/**
 	 * Menu Toggle Behaviors
 	 *
 	 * @param {Element} element
 	 */
-	function menuToggleUI( toggleButtonID, navOpenClass = 'primary-navigation-open' ) {
-
-		var wrapper         = document.body;
-		var toggleButton    = document.getElementById( toggleButtonID );
-		var lockScrollClass = 'lock-scrolling';
-		var navOpenClass;
-
-		// Toggle click if it exists
-		toggleButton ?
-		toggleButton.onclick = function() {
-			wrapper.classList.toggle(navOpenClass);
-			wrapper.classList.toggle(lockScrollClass);
-		} : null;
+	var navMenu = function ( id ){
+		var wrapper         = document.body; // this is the element to which a CSS class is added when a mobile nav menu is open
+		var openButton    	= document.getElementById( `${ id }-open-menu` );
+		var closeButton    	= document.getElementById( `${ id }-close-menu` );
+
+		if ( openButton && closeButton ){
+			openButton.onclick = function() {
+				wrapper.classList.add( `${ id }-navigation-open` );
+				wrapper.classList.add( 'lock-scrolling' );
+				closeButton.focus();
+			}
+
+			closeButton.onclick = function() {
+				wrapper.classList.remove( `${ id }-navigation-open` );
+				wrapper.classList.remove( 'lock-scrolling' );
+				openButton.focus();
+			}
+		}
+
+		/**
+		 * Trap keyboard navigation in the menu modal.
+		 * Adapted from TwentyTwenty
+		 */
+
+		document.addEventListener( 'keydown', function( event ) {
+			if ( ! wrapper.classList.contains( `${ id }-navigation-open` ) ){
+				return;
+			} 
+			var modal, elements, selectors, lastEl, firstEl, activeEl, tabKey, shiftKey, escKey;
+
+			modal = document.querySelector( `.${ id }-navigation` );
+			selectors = 'input, a, button';
+			elements = modal.querySelectorAll( selectors );
+			elements = Array.prototype.slice.call( elements );
+			tabKey = event.keyCode === 9;
+			shiftKey = event.shiftKey;
+			escKey = event.keyCode === 27;
+			activeEl = document.activeElement;
+			lastEl = elements[ elements.length - 1 ];
+			firstEl = elements[0];
+
+			if ( escKey ) {
+				event.preventDefault();
+				wrapper.classList.remove( `${ id }-navigation-open`, 'lock-scrolling' );
+				openButton.focus();
+			}
+
+			if ( ! shiftKey && tabKey && lastEl === activeEl ) {
+				event.preventDefault();
+				firstEl.focus();
+			}
+
+			if ( shiftKey && tabKey && firstEl === activeEl ) {
+				event.preventDefault();
+				lastEl.focus();
+			}
+
+			// If there are no elements in the menu, don't move the focus
+			if ( tabKey && firstEl === lastEl ) {
+				event.preventDefault();
+			}
+		});
 	}
 
-	/**
-	 * Run our menuToggleUI function on load
-	 */
 	window.addEventListener( 'load', function() {
-		menuToggleUI( 'toggle-menu', 'primary-navigation-open' );
-		menuToggleUI( 'toggle-cart', 'wc-navigation-open' );
+		new navMenu( 'primary' );
+		new navMenu( 'woo' );
 	});
-
 } )();

+ 1 - 1
seedlet/assets/sass/abstracts/_mixins.scss

@@ -8,7 +8,7 @@
 	}
 
 	@if editor == $view {
-		body {
+		:root, body {
 			@content;
 		}
 	}

+ 1 - 1
seedlet/assets/sass/base/_reset.scss

@@ -110,7 +110,7 @@ a {
 }
 
 // Focus styles
-*:focus {
+.site *:focus {
 	outline-width: 1px;
 	outline-style: dotted;
 	outline-color: var(--global--color-secondary);

+ 19 - 19
seedlet/assets/sass/blocks/utilities/_editor.scss

@@ -23,35 +23,35 @@
 .has-text-color {}
 
 .has-primary-color[class] {
-	color: var(--global--color-primary) !important;
+	color: var(--global--color-primary);
 }
 
 .has-secondary-color[class] {
-	color: var(--global--color-secondary) !important;
+	color: var(--global--color-secondary);
 }
 
 .has-foreground-color[class] {
-	color: var(--global--color-foreground) !important;
+	color: var(--global--color-foreground);
 }
 
 .has-foreground-light-color[class] {
-	color: var(--global--color-foreground-light) !important;
+	color: var(--global--color-foreground-light);
 }
 
 .has-foreground-dark-color[class] {
-	color: var(--global--color-foreground-dark) !important;
+	color: var(--global--color-foreground-dark);
 }
 
 .has-tertiary-color[class] {
-	color: var(--global--color-tertiary) !important;
+	color: var(--global--color-tertiary);
 }
 
 .has-background-dark-color[class] {
-	color: var(--global--color-background-dark) !important;
+	color: var(--global--color-background-dark);
 }
 
 .has-background-color[class] {
-	color: var(--global--color-background) !important;
+	color: var(--global--color-background);
 }
 
 // Gutenberg background-color options
@@ -63,57 +63,57 @@
 }
 
 .has-primary-background-color[class] {
-	background-color: var(--global--color-primary) !important;
+	background-color: var(--global--color-primary);
 	color: var(--global--color-background);
 }
 
 .has-primary-background-color[class] {
-	background-color: var(--global--color-primary) !important;
+	background-color: var(--global--color-primary);
 	color: var(--global--color-background);
 }
 
 .has-secondary-background-color[class] {
-	background-color: var(--global--color-secondary) !important;
+	background-color: var(--global--color-secondary);
 	color: var(--global--color-background);
 }
 
 .has-foreground-background-color[class] {
-	background-color: var(--global--color-foreground) !important;
+	background-color: var(--global--color-foreground);
 	color: var(--global--color-background);
 }
 
 .has-foreground-light-background-color[class] {
-	background-color: var(--global--color-foreground-light) !important;
+	background-color: var(--global--color-foreground-light);
 	color: var(--global--color-background);
 }
 
 .has-foreground-dark-background-color[class] {
-	background-color: var(--global--color-foreground-dark) !important;
+	background-color: var(--global--color-foreground-dark);
 	color: var(--global--color-background);
 }
 
 .has-tertiary-background-color[class] {
-	background-color: var(--global--color-tertiary) !important;
+	background-color: var(--global--color-tertiary);
 	color: var(--global--color-foreground);
 }
 
 .has-background-dark-background-color[class] {
-	background-color: var(--global--color-background-dark) !important;
+	background-color: var(--global--color-background-dark);
 	color: var(--global--color-foreground);
 }
 
 .has-background-background-color[class] {
-	background-color: var(--global--color-background) !important;
+	background-color: var(--global--color-background);
 	color: var(--global--color-foreground);
 }
 
 .has-white-background-color[class] {
-	background-color: var(--global--color-white) !important;
+	background-color: var(--global--color-white);
 	color: var(--global--color-secondary);
 }
 
 .has-black-background-color[class] {
-	background-color: var(--global--color-black) !important;
+	background-color: var(--global--color-black);
 	color: var(--global--color-primary);
 }
 

+ 20 - 20
seedlet/assets/sass/blocks/utilities/_style.scss

@@ -111,43 +111,43 @@
 .has-text-color {}
 
 .has-primary-color[class] {
-	color: var(--global--color-primary) !important;
+	color: var(--global--color-primary);
 }
 
 .has-secondary-color[class] {
-	color: var(--global--color-secondary) !important;
+	color: var(--global--color-secondary);
 }
 
 .has-foreground-color[class] {
-	color: var(--global--color-foreground) !important;
+	color: var(--global--color-foreground);
 }
 
 .has-foreground-light-color[class] {
-	color: var(--global--color-foreground-light) !important;
+	color: var(--global--color-foreground-light);
 }
 
 .has-foreground-dark-color[class] {
-	color: var(--global--color-foreground-dark) !important;
+	color: var(--global--color-foreground-dark);
 }
 
 .has-tertiary-color[class] {
-	color: var(--global--color-tertiary) !important;
+	color: var(--global--color-tertiary);
 }
 
 .has-background-dark-color[class] {
-	color: var(--global--color-background-dark) !important;
+	color: var(--global--color-background-dark);
 }
 
 .has-background-color[class] {
-	color: var(--global--color-background) !important;
+	color: var(--global--color-background);
 }
 
 .has-white-color[class] {
-	color: var(--global--color-white) !important;
+	color: var(--global--color-white);
 }
 
 .has-black-color[class] {
-	color: var(--global--color-black) !important;
+	color: var(--global--color-black);
 }
 
 // Gutenberg background-color options
@@ -159,52 +159,52 @@
 }
 
 .has-primary-background-color[class] {
-	background-color: var(--global--color-primary) !important;
+	background-color: var(--global--color-primary);
 	color: var(--global--color-background);
 }
 
 .has-secondary-background-color[class] {
-	background-color: var(--global--color-secondary) !important;
+	background-color: var(--global--color-secondary);
 	color: var(--global--color-background);
 }
 
 .has-foreground-background-color[class] {
-	background-color: var(--global--color-foreground) !important;
+	background-color: var(--global--color-foreground);
 	color: var(--global--color-background);
 }
 
 .has-foreground-light-background-color[class] {
-	background-color: var(--global--color-foreground-light) !important;
+	background-color: var(--global--color-foreground-light);
 	color: var(--global--color-background);
 }
 
 .has-foreground-dark-background-color[class] {
-	background-color: var(--global--color-foreground-dark) !important;
+	background-color: var(--global--color-foreground-dark);
 	color: var(--global--color-background);
 }
 
 .has-tertiary-background-color[class] {
-	background-color: var(--global--color-tertiary) !important;
+	background-color: var(--global--color-tertiary);
 	color: var(--global--color-foreground);
 }
 
 .has-background-dark-background-color[class] {
-	background-color: var(--global--color-background-dark) !important;
+	background-color: var(--global--color-background-dark);
 	color: var(--global--color-foreground);
 }
 
 .has-background-background-color[class] {
-	background-color: var(--global--color-background) !important;
+	background-color: var(--global--color-background);
 	color: var(--global--color-foreground);
 }
 
 .has-white-background-color[class] {
-	background-color: var(--global--color-white) !important;
+	background-color: var(--global--color-white);
 	color: var(--global--color-secondary);
 }
 
 .has-black-background-color[class] {
-	background-color: var(--global--color-black) !important;
+	background-color: var(--global--color-black);
 	color: var(--global--color-primary);
 }
 

+ 93 - 46
seedlet/assets/sass/components/header/_primary-navigation.scss

@@ -1,8 +1,100 @@
 // Navigation
 
+// Mobile menu toggles
+.menu-button-container {
+	display: none;
+	justify-content: space-between;
+	left: 0;
+	position: absolute;
+	top: 0;
+	width: 100%;
+	#primary-open-menu {
+		margin-left: auto;
+	}
+
+	@include media(mobile-only){
+		display: flex;
+	}
+
+	.admin-bar:not(.primary-navigation-open) & {
+		top: 46px;
+	}
+}
+
+.menu-button-container,
 .primary-navigation,
-.woo-navigation { 
+.woo-navigation {
+	.button {
+		background-color: transparent;
+		color: var(--primary-nav--color-link);
+		z-index: 500;
+		&.open {
+			display: flex;
+			z-index: 499;
+		}
+		&.close {
+			display: none;
+		}
+
+		&:hover {
+			color: var(--primary-nav--color-link-hover);
+		}
+
+		&#woo-open-menu {
+			.svg-icon {
+				margin-left: 0;
+				margin-right: calc(0.25 * var(--global--spacing-unit));
+				vertical-align: middle;
+			}
+		}
+
+		.dropdown-icon {
+			display: flex;
+			align-items: center;
+
+			.svg-icon {
+				margin-left: calc(0.25 * var(--global--spacing-unit));
+			}
+
+
+			// Menu icon is off-center vertically to prevent blurry pixels.
+			&.open .svg-icon {
+				position: relative;
+				top: -1px;
+			}
+		}
+
+		.hide-visually {
+			position: absolute !important;
+			clip: rect(1px, 1px, 1px, 1px);
+			padding:0 !important;
+			border:0 !important;
+			height: 1px !important;
+			width: 1px !important;
+			overflow: hidden;
+		}
+	}
+
+	.primary-navigation-open & {
+		#primary-open-menu {
+			display: none;
+		}
+		#primary-close-menu {
+			display: flex;
+		}
+	}
+	.woo-navigation-open & {
+		#woo-open-menu {
+			display: none;
+		}
+		#woo-close-menu {
+			display: flex;
+		}
+	}
+}
 
+.primary-navigation,
+.woo-navigation { 
 	position: absolute;
  	top: 0;
  	right: 0;
@@ -36,20 +128,6 @@
 		}
 	}
 
-	// Mobile menu toggles
-	> .button {
-		position: absolute;
-		display: inline-block;
-		margin: 0;
-		right: 0;
-		top: 0;
-		background-color: transparent;
-		color: var(--primary-nav--color-link);
-
-		&:hover {
-			color: var(--primary-nav--color-link-hover);
-		}
-	}
 
 	// Mobile menu open
 	.primary-navigation-open & {
@@ -60,37 +138,6 @@
 			transform: translateY(0);
 		}
 
-		> #toggle-menu {
-
-			z-index: 500;
-
-			.open {
-				display: none;
-			}
-
-			.close {
-				display: flex;
-			}
-		}
-	}
-
-	.dropdown-icon {
-		display: flex;
-		align-items: center;
-
-		.svg-icon {
-			margin-left: calc(0.25 * var(--global--spacing-unit));
-		}
-
-		// Menu icon is off-center vertically to prevent blurry pixels.
-		&.open .svg-icon {
-			position: relative;
-			top: -1px;
-		}
-
-		&.close {
-			display: none;
-		}
 	}
 
 	// Adjust button postion when scrolling is locked

+ 1 - 0
seedlet/assets/sass/structure/_vertical-margins.scss

@@ -109,6 +109,7 @@
 .site-main > .not-found > *, // apply vertical margins to article level
 .entry-content > *,
 [class*="inner-container"] > *,
+.wp-block-template-part > *,
 .widget-area > *,
 .widget-column > * {
 

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

@@ -1,6 +1,9 @@
 /**
  * These styles should be loaded by the Block Editor only
  */
+ 
+// Variables
+@import "variables-editor";
 
 // Variables
 @import "variables-editor";

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

@@ -1,13 +1,13 @@
 /*
 Theme Name: Seedlet
-Theme URI: https://github.com/Automattic/themes/seedlet
+Theme URI: https://github.com/Automattic/themes/tree/master/seedlet
 Author: Automattic
 Author URI: https://automattic.com/
 Description: A simple, text-driven, single-column theme.
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Requires PHP: 7.3
-Version: 1.0.1-wpcom
+Version: 1.0.2-wpcom
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Text Domain: seedlet

+ 2 - 21
seedlet/assets/sass/vendors/woocommerce/components/_mini-cart.scss

@@ -10,22 +10,8 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 	}
 
 	.woo-navigation {
-
-		// Mobile menu toggle
-		> #toggle-cart {
-			left: 0;
-			top: 0;
-			right: auto;
-
-			.open .svg-icon {
-				margin-left: 0;
-				margin-right: calc(0.25 * var(--global--spacing-unit));
-				vertical-align: middle;
-			}
-		}
-
 		// Mobile menu open
-		@at-root body[class*="woocommerce"].wc-navigation-open #page .woo-navigation {
+		@at-root body[class*="woocommerce"].woo-navigation-open #page .woo-navigation {
 
 			> .woocommerce-menu-container {
 				visibility: visible;
@@ -33,7 +19,7 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 				transform: translateY(0);
 			}
 
-			#toggle-cart {
+			#woo-open-menu {
 
 				left: auto;
 				right: 0;
@@ -52,11 +38,6 @@ body[class*="woocommerce"] #page { // adding #page here to override default wc s
 
 		@include media(mobile-only) {
 
-			// Adjust position when logged-in
-			@at-root body[class*="woocommerce"].admin-bar.lock-scrolling #page .woo-navigation #toggle-cart {
-				top: 46px;
-			}
-
 			.woocommerce-menu-container {
 
 				background-color: var(--wc--mini-cart--color-background);

+ 4 - 5
seedlet/classes/class-seedlet-custom-colors.php

@@ -7,8 +7,7 @@
  * Each variable that needs to be updated is defined in the $seedlet_custom_color_variables array below.
  * A customizer setting is created for each color, and custom CSS-variables are enqueued in the front and back end.
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 
@@ -278,7 +277,7 @@ class Seedlet_Custom_Colors {
 	 * @link https://github.com/soderlind/2016-customizer-demo
 	 */
 	function on_customize_controls_enqueue_scripts() {
-		$handle = 'wcag-validate-customizer-color-contrast';
+		$handle = 'seedlet-wcag-validate-customizer-color-contrast';
 		$src    = get_template_directory_uri() . '/assets/js/customizer-validate-wcag-color-contrast.js';
 		$deps 	= [ 'customize-controls' ];
 
@@ -293,10 +292,10 @@ class Seedlet_Custom_Colors {
 		];
 
 		wp_enqueue_script( $handle, $src, $deps );
-		wp_script_add_data( $handle, 'data', sprintf( 'var _validateWCAGColorContrastExports = %s;', wp_json_encode( $exports ) ) );
+		wp_script_add_data( $handle, 'data', sprintf( 'var seedletValidateWCAGColorContrastExports = %s;', wp_json_encode( $exports ) ) );
 
 		// Custom color contrast validation text
-		wp_localize_script( $handle, 'validateContrastText', esc_html__( 'This color combination may be hard for people to read. Try using a brighter background color and/or a darker foreground color.', 'seedlet' ));
+		wp_localize_script( $handle, 'seedletValidateContrastText', esc_html__( 'This color combination may be hard for people to read. Try using a brighter background color and/or a darker foreground color.', 'seedlet' ));
 	}
 
 	/**

+ 1 - 2
seedlet/classes/class-seedlet-svg-icons.php

@@ -2,8 +2,7 @@
 /**
  * SVG Icons class
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/footer.php

@@ -6,8 +6,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 30 - 22
seedlet/functions.php

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/theme-functions/
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 
@@ -17,6 +16,14 @@ if ( version_compare( $GLOBALS['wp_version'], '4.7', '<' ) ) {
 	return;
 }
 
+/**
+ * Determine whether the site is being requested from IE.
+ */
+$is_ie = false;
+if ( preg_match( '~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT']) || (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') !== false ) ) {
+	$is_ie = true;
+}
+
 if ( ! function_exists( 'seedlet_setup' ) ) :
 	/**
 	 * Sets up theme defaults and registers support for various WordPress features.
@@ -106,10 +113,16 @@ if ( ! function_exists( 'seedlet_setup' ) ) :
 		// Add support for editor styles.
 		add_theme_support( 'editor-styles' );
 
+		$editor_stylesheet_path = './assets/css/style-editor.css';
+		if ( $is_ie ) {
+			$editor_stylesheet_path = './assets/css/ie-editor.css';
+		}
+
 		// Enqueue editor styles.
-		add_editor_style( array(
-			seedlet_fonts_url(),
-			'./assets/css/style-editor.css'
+		add_editor_style(
+			array(
+				seedlet_fonts_url(),
+				$editor_stylesheet_path,
 		) );
 
 		// Add custom editor font sizes.
@@ -151,21 +164,11 @@ if ( ! function_exists( 'seedlet_setup' ) ) :
 
 		// Editor color palette.
 		$colors_theme_mod = get_theme_mod( 'custom_colors_active' );
-		$primary          = ( ! empty( $colors_theme_mod ) &&
-								'default' === $colors_theme_mod ||
-								empty( get_theme_mod( 'seedlet_--global--color-primary' ) ) ) ? '#000000' : get_theme_mod( 'seedlet_--global--color-primary' );
-		$secondary        = ( ! empty( $colors_theme_mod ) &&
-								'default' === $colors_theme_mod ||
-								empty( get_theme_mod( 'seedlet_--global--color-secondary' ) ) ) ? '#3C8067' : get_theme_mod( 'seedlet_--global--color-secondary' );
-		$foreground       = ( ! empty( $colors_theme_mod ) &&
-								'default' === $colors_theme_mod ||
-								empty( get_theme_mod( 'seedlet_--global--color-foreground' ) ) ) ? '#333333' : get_theme_mod( 'seedlet_--global--color-foreground' );
-		$tertiary = ( ! empty( $colors_theme_mod ) &&
-								'default' === $colors_theme_mod ||
-								empty( get_theme_mod( 'seedlet_--global--color-tertiary' ) ) ) ? '#FAFBF6' : get_theme_mod( 'seedlet_--global--color-tertiary' );
-		$background       = ( ! empty( $colors_theme_mod ) &&
-								'default' === $colors_theme_mod ||
-								empty( get_theme_mod( 'seedlet_--global--color-background' ) ) ) ? '#FFFFFF' : get_theme_mod( 'seedlet_--global--color-background' );
+		$primary          = ( ! empty( $colors_theme_mod ) && 'default' === $colors_theme_mod || empty( get_theme_mod( 'seedlet_--global--color-primary' ) ) ) ? '#000000' : get_theme_mod( 'seedlet_--global--color-primary' );
+		$secondary        = ( ! empty( $colors_theme_mod ) && 'default' === $colors_theme_mod || empty( get_theme_mod( 'seedlet_--global--color-secondary' ) ) ) ? '#3C8067' : get_theme_mod( 'seedlet_--global--color-secondary' );
+		$foreground       = ( ! empty( $colors_theme_mod ) && 'default' === $colors_theme_mod || empty( get_theme_mod( 'seedlet_--global--color-foreground' ) ) ) ? '#333333' : get_theme_mod( 'seedlet_--global--color-foreground' );
+		$tertiary         = ( ! empty( $colors_theme_mod ) && 'default' === $colors_theme_mod || empty( get_theme_mod( 'seedlet_--global--color-tertiary' ) ) ) ? '#FAFBF6' : get_theme_mod( 'seedlet_--global--color-tertiary' );
+		$background       = ( ! empty( $colors_theme_mod ) && 'default' === $colors_theme_mod || empty( get_theme_mod( 'seedlet_--global--color-background' ) ) ) ? '#FFFFFF' : get_theme_mod( 'seedlet_--global--color-background' );
 
 		add_theme_support(
 			'editor-color-palette',
@@ -260,6 +263,9 @@ if ( ! function_exists( 'seedlet_setup' ) ) :
 
 		// Add support for experimental link color control.
 		add_theme_support( 'experimental-link-color' );
+
+		// Add support for experimental cover block spacing.
+		add_theme_support( 'experimental-custom-spacing' );
     
 		// Add support for WordPress.com Global Styles.
 		add_theme_support(
@@ -360,7 +366,7 @@ function seedlet_scripts() {
 	wp_enqueue_style( 'seedlet-fonts', seedlet_fonts_url(), array(), null );
 
 	// Theme styles
-	if (preg_match('~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT']) || (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') !== false)) {
+	if ( $is_ie ) {
 		// If IE 11 or below, use a flattened stylesheet with static values replacing CSS Variables
 		wp_enqueue_style( 'seedlet-style', get_template_directory_uri() . '/assets/css/ie.css', array(), wp_get_theme()->get( 'Version' ) );
 	} else {
@@ -410,7 +416,9 @@ require get_template_directory() . '/classes/class-seedlet-svg-icons.php';
 /**
  * Custom colors class.
  */
-require get_template_directory() . '/classes/class-seedlet-custom-colors.php';
+if ( empty( get_theme_mod( 'colors_manager' ) ) ) { // If the theme is on wpcom, we bypass the theme's built in custom colors, because wpcom uses a different custom color implementation.
+	require get_template_directory() . '/classes/class-seedlet-custom-colors.php';
+}
 
 /**
  * Enhance the theme by hooking into WordPress.

+ 30 - 27
seedlet/header.php

@@ -6,8 +6,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 ?><!doctype html>
@@ -22,18 +21,29 @@
 <body <?php body_class(); ?>>
 <?php wp_body_open(); ?>
 <div id="page" class="site">
-	<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'seedlet' ); ?></a>
+	<a class="skip-link screen-reader-text" href="#content" tabindex="1"><?php _e( 'Skip to content', 'seedlet' ); ?></a>
 
 		<header id="masthead" class="site-header default-max-width">
-
+			<div class="menu-button-container">
+				<?php if ( class_exists( 'WooCommerce' ) ) : ?>
+					<button id="woo-open-menu" class="button open">
+						<span class="dropdown-icon open"><?php echo seedlet_get_icon_svg( 'shopping_cart' ); ?> <?php _e( 'Cart', 'seedlet' ); ?></span>
+						<span class="hide-visually expanded-text"><?php esc_html__( 'expanded', 'seedlet' ) ?></span>
+					</button>
+				<?php endif; ?>
+				<?php if ( has_nav_menu( 'primary' ) ) : ?>
+					<button id="primary-open-menu" class="button open">
+						<span class="dropdown-icon open"><?php _e( 'Menu', 'seedlet' ); ?> <?php echo seedlet_get_icon_svg( 'menu' ) ?></span>
+						<span class="hide-visually expanded-text"><?php _e( 'expanded', 'seedlet' ); ?></span>
+					</button>
+				<?php endif; ?>
+			</div>
 			<?php get_template_part( 'template-parts/header/site-branding' ); ?>
 
 			<?php if ( has_nav_menu( 'primary' ) ) : ?>
 				<nav id="site-navigation" class="primary-navigation" aria-label="<?php esc_attr_e( 'Primary Navigation', 'seedlet' ); ?>">
-					<button id="toggle-menu" class="button">
-						<span class="dropdown-icon open"><?php _e( 'Menu', 'seedlet' ); ?> <?php echo seedlet_get_icon_svg( 'menu' ) ?></span>
+					<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="hide-visually expanded-text"><?php _e( 'expanded', 'seedlet' ); ?></span>
 						<span class="hide-visually collapsed-text"><?php _e( 'collapsed', 'seedlet' ); ?></span>
 					</button>
 					<?php
@@ -41,13 +51,13 @@
 					$location_name = 'primary';
 					$locations = get_nav_menu_locations();
 					$menu_id = $locations[ $location_name ];
-					$menu = wp_get_nav_menu_object( $menu_id );
+					$menu_obj = wp_get_nav_menu_object( $menu_id );
 
 					wp_nav_menu(
 						array(
 							'theme_location'  => 'primary',
 							'menu_class'      => 'menu-wrapper',
-							'container_class' => 'primary-menu-container menu-'. $menu->slug .'-container',
+							'container_class' => 'primary-menu-container',
 							'items_wrap'      => '<ul id="%1$s" class="%2$s" aria-label="' . esc_attr__( 'submenu', 'seedlet' ) . '">%3$s</ul>',
 						)
 					);
@@ -58,32 +68,25 @@
 			<?php if ( class_exists( 'WooCommerce' ) ) : ?>
 				<nav class="woo-navigation" aria-label="<?php esc_attr_e( 'Woo Minicart', 'seedlet' ); ?>">
 					<?php echo( sprintf(
-						'<button id="toggle-cart" class="button">
-							<span class="dropdown-icon open">%1$s %2$s</span>
-							<span class="dropdown-icon close">%3$s %4$s</span>
-							<span class="hide-visually expanded-text">%5$s</span>
-							<span class="hide-visually collapsed-text">%6$s</span>
+						'<button id="woo-close-menu" class="button close">
+							<span class="dropdown-icon close">%1$s %2$s</span>
+							<span class="hide-visually collapsed-text">%3$s</span>
 						</button>
 						<div class="woocommerce-menu-container">
-						<ul id="woocommerce-menu" class="menu-wrapper" aria-label="%7$s">
-						<li class="menu-item woocommerce-menu-item %8$s" title="%9$s">
-							%10$s
-							<ul class="sub-menu">
-								<li class="woocommerce-cart-widget" title="%11$s">
-									%12$s
-								</li>
-							</ul>
-						</li>',
-						seedlet_get_icon_svg( 'shopping_cart' ),
+							<ul id="woocommerce-menu" class="menu-wrapper" aria-label="%4$s">
+							<li class="menu-item woocommerce-menu-item %5$s" title="%6$s">
+								<ul class="sub-menu">
+									<li class="woocommerce-cart-widget" title="%7$s">
+										%8$s
+									</li>
+								</ul>
+							</li>',
 						esc_html__( 'Cart', 'seedlet' ),
-						esc_html__( 'Close', 'seedlet' ),
 						seedlet_get_icon_svg( 'close' ),
-						esc_html__( 'expanded', 'seedlet' ),
 						esc_html__( 'collapsed', 'seedlet' ),
 						esc_attr__( 'submenu', 'seedlet' ),
 						is_cart() ? 'current-menu-item' : '',
 						esc_attr__( 'View your shopping cart', 'seedlet' ),
-						seedlet_cart_link(),
 						esc_attr__( 'View your shopping list', 'seedlet' ),
 						seedlet_cart_widget()
 					) ); ?>

+ 1 - 2
seedlet/image.php

@@ -2,8 +2,7 @@
 /**
  * The template for displaying image attachments
  *
- * @package WordPress
- * @subpackage Varia
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/inc/back-compat.php

@@ -6,8 +6,7 @@
  * since this theme is not meant to be backward compatible beyond that and
  * relies on many newer functions and markup changes introduced in 4.7.
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since seedlet 1.0.0
  */
 

+ 1 - 2
seedlet/inc/block-patterns.php

@@ -2,8 +2,7 @@
 /**
  * Seedlet Theme: Block Patterns
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/inc/customizer.php

@@ -2,8 +2,7 @@
 /**
  * Seedlet Theme: Customizer
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/inc/icon-functions.php

@@ -2,8 +2,7 @@
 /**
  * SVG icons related functions
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/inc/template-functions.php

@@ -2,8 +2,7 @@
 /**
  * Functions which enhance the theme by hooking into WordPress
  *
- * @package WordPress
- * @subpackage Varia
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/inc/template-tags.php

@@ -2,8 +2,7 @@
 /**
  * Custom template tags for this theme
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 1
seedlet/inc/woocommerce.php

@@ -87,7 +87,7 @@ function seedlet_category_image() {
 		$thumbnail_id = get_term_meta( $cat->term_id, 'thumbnail_id', true );
 		$image = wp_get_attachment_url( $thumbnail_id );
 		if ( $image ) {
-			echo '<img src="' . $image . '" alt="' . $cat->name . '" />';
+			echo '<img src="' . esc_url( $image ) . '" alt="' . esc_attr( $cat->name ) . '" />';
 		}
 	}
 }

+ 546 - 0
seedlet/inc/wpcom-colors.php

@@ -0,0 +1,546 @@
+<?php 
+
+/*
+ * Custom Colors: Seedlet
+ */
+
+// Background Color 
+// --global--color-background
+add_color_rule( 'bg', '#FFFFFF', array(
+
+	// Background-color
+	array( '.primary-navigation > div,
+			.screen-reader-text:focus,
+			.woo-navigation > div,
+			.wp-block-navigation > .wp-block-navigation__container > .has-child > .wp-block-navigation__container,
+			body,
+			.primary-navigation > div > ul > li > .sub-menu,
+			.woo-navigation > div > ul > li > .sub-menu', 'background-color' ),
+
+	// Text-color
+	array( '.a8c-posts-list-item__featured span,
+			.a8c-posts-list__view-all,
+			.a8c-posts-list__view-all:active,
+			.a8c-posts-list__view-all:focus,
+			.a8c-posts-list__view-all:hover,
+			.button,
+			.button:active,
+			.button:focus,
+			.button:hover,
+			.has-focus.a8c-posts-list__view-all,
+			.has-focus.button,
+			.has-focus.wp-block-button__link,
+			.reply a,
+			.reply a.has-focus,
+			.reply a:focus,
+			.reply a:hover,
+			.sticky-post,
+			.wp-block-button__link,
+			.wp-block-button__link:active,
+			.wp-block-button__link:focus,
+			.wp-block-button__link:hover,
+			.wp-block-file .has-focus.wp-block-file__button,
+			.wp-block-file .wp-block-file__button,
+			.wp-block-file .wp-block-file__button:active,
+			.wp-block-file .wp-block-file__button:focus,
+			.wp-block-file .wp-block-file__button:hover,
+			.wp-block-file a.wp-block-file__button:active,
+			.wp-block-file a.wp-block-file__button:focus,
+			.wp-block-file a.wp-block-file__button:hover,
+			.wp-block-file a.wp-block-file__button:visited,
+			.wp-block-pullquote.is-style-solid-color,
+			button,
+			button.has-focus,
+			button:active,
+			button:focus,
+			button:hover,
+			button[data-load-more-btn],
+			input.has-focus[type="submit"],
+			input:active[type="submit"],
+			input:focus[type="submit"],
+			input:hover[type="submit"],
+			input[type="submit"]', 'color' ),
+
+	// Text-shadow
+	array( '.site-title a', 'text-shadow' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Text-color
+	array( '.has-primary-background-color[class],
+			.has-secondary-background-color[class],
+			.has-foreground-background-color[class],
+			.has-foreground-dark-background-color[class],
+			.has-foreground-light-background-color[class],
+			.has-background-color[class]', 'color' ),
+
+	// Border-bottom-color
+	array( '.has-secondary-background-color[class] a', 'border-bottom-color' ),
+
+	// Background-color
+	array( '.has-background-background-color[class]', 'background-color' ),
+
+	// Text-color darkened
+	array( '.has-background-dark-color[class]', 'color', '-1'  ),
+
+	// Background-color darkened
+	array( '.has-background-dark-background-color[class]', 'background-color', '-1' ),
+
+), __( 'Background Color' ) );
+
+// Foreground Color
+// --global--color-background
+add_color_rule( 'txt', '#444444', array(
+
+	// Text-color
+	array( '.comment-meta .comment-metadata,
+			.entry-footer,
+			.entry-meta,
+			.has-background-background-color[class],
+			.has-background-dark-background-color[class],
+			.has-foreground-color[class],
+			.has-tertiary-background-color[class],
+			.navigation,
+			.pagination .nav-links > *,
+			.post-navigation .meta-nav,
+			.primary-navigation,
+			.screen-reader-text:focus,
+			.site-branding,
+			.site-footer > .footer-navigation .footer-menu,
+			.site-footer > .site-info,
+			.social-navigation a,
+			.social-navigation a:active,
+			.woo-navigation,
+			.wp-block-code,
+			.wp-block-code pre,
+			.wp-block-pullquote,
+			.wp-block-search .wp-block-search__input,
+			.wp-block-search .wp-block-search__input:focus,
+			body,
+			input[type="color"],
+			input[type="color"]:focus,
+			input[type="date"],
+			input[type="date"]:focus,
+			input[type="datetime"],
+			input[type="datetime"]:focus,
+			input[type="datetime-local"],
+			input[type="datetime-local"]:focus,
+			input[type="email"],
+			input[type="email"]:focus,
+			input[type="month"],
+			input[type="month"]:focus,
+			input[type="number"],
+			input[type="number"]:focus,
+			input[type="password"],
+			input[type="password"]:focus,
+			input[type="range"],
+			input[type="range"]:focus,
+			input[type="search"],
+			input[type="search"]:focus,
+			input[type="tel"],
+			input[type="tel"]:focus,
+			input[type="text"],
+			input[type="text"]:focus,
+			input[type="time"],
+			input[type="time"]:focus,
+			input[type="url"],
+			input[type="url"]:focus,
+			input[type="week"],
+			input[type="week"]:focus,
+			textarea,
+			textarea:focus', 'color' ),
+
+	// Background-color
+	array( '.wp-block-pullquote.is-style-solid-color,
+			.wp-block-cover-image.has-background-dim, 
+			.wp-block-cover.has-background-dim', 'background-color' ),
+
+	// Border-bottom-color
+	array( '.pagination .nav-links > *.current', 'border-bottom-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Foreground
+	array( '.has-foreground-color[class],
+			.has-background-background-color[class],
+			.has-background-dark-background-color[class],
+			.has-background-light-background-color[class]', 'color' ),
+
+	// Background
+	array( '.has-foreground-background-color[class]', 'background-color' ),
+
+	// Text-color darkened
+	array( '.has-foreground-dark-color[class]', 'color', '-1' ),
+
+	// Background-color darkened
+	array( '.has-foreground-dark-background-color[class]', 'background-color', '-1' ),
+
+	// Text-color brightened
+	array( '.has-foreground-light-color[class]', 'color', '+2' ),
+
+	// Background-color brightened
+	array( '.has-foreground-light-background-color[class]', 'background-color', '+2' ),
+
+), __( 'Foreground Color' ) );
+
+// Primary Color
+// --global--color-primary
+add_color_rule( 'link', '#000000', array(
+
+	// Text-color
+	array( '.entry-title,
+			.navigation a,
+			.navigation a:active,
+			.primary-navigation .menu-item > a,
+			.primary-navigation .menu-item > a:active,
+			.primary-navigation > .button,
+			.site-footer > .site-info a:focus,
+			.site-footer > .site-info a:hover,
+			.site-title,
+			.woo-navigation .menu-item > a,
+			.woo-navigation .menu-item > a:active,
+			.woo-navigation > .button,
+			.wp-block-a8c-blog-posts article .entry-title a,
+			.wp-block-a8c-blog-posts article .entry-title a:active,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a:active,
+			a,
+			a:active', 'color' ),
+
+	// Background-color
+	array( '.a8c-posts-list-item__featured span,
+			.a8c-posts-list__view-all:active,
+			.button:active,
+			.wp-block-button__link:active,
+			.wp-block-cover,
+			.wp-block-cover-image,
+			.wp-block-file .wp-block-file__button:active,
+			button:active,
+			input:active[type="submit"]', 'background-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Background-color
+	array( '.has-primary-background-color[class]', 'background-color' ),
+
+	// Text-color
+	array( '.has-black-background-color[class],
+			.has-primary-color[class]', 'color' ),
+
+), __( 'Primary Color' ) );
+
+// Secondary Color
+// --global--color-secondary
+add_color_rule( 'fg1', '#3C8067', array(
+
+	// Text-color
+	array( '.a8c-posts-list__item .a8c-posts-list-item__meta a:active,
+			.a8c-posts-list__item .a8c-posts-list-item__meta a:hover,
+			.comment-meta .comment-metadata a:focus,
+			.comment-meta .comment-metadata a:hover,
+			.entry-footer a:focus,
+			.entry-footer a:hover,
+			.entry-meta a:focus,
+			.entry-meta a:hover,
+			.entry-title a:focus,
+			.entry-title a:hover,
+			.navigation a:focus,
+			.navigation a:hover,
+			.pagination .nav-links > a:hover,
+			.site-footer > .footer-navigation .footer-menu a:focus,
+			.site-footer > .footer-navigation .footer-menu a:hover,
+			.site-title a:focus,
+			.site-title a:hover,
+			.social-navigation a:focus,
+			.social-navigation a:hover,
+			.woo-navigation .menu-item > a:focus,
+			.woo-navigation .menu-item > a:hover,
+			.woo-navigation .primary-menu > .menu-item:hover > a,
+			.woo-navigation > .button:hover,
+			.wp-block-a8c-blog-posts article .cat-links a:active,
+			.wp-block-a8c-blog-posts article .cat-links a:hover,
+			.wp-block-a8c-blog-posts article .entry-meta a:active,
+			.wp-block-a8c-blog-posts article .entry-meta a:hover,
+			.wp-block-a8c-blog-posts article .entry-title a:focus,
+			.wp-block-a8c-blog-posts article .entry-title a:hover,
+			.wp-block-button.is-style-outline .wp-block-button__link,
+			.wp-block-button.is-style-outline .wp-block-button__link:active,
+			.wp-block-button.is-style-outline.wp-block-button__link,
+			.wp-block-button.is-style-outline.wp-block-button__link:active,
+			.wp-block-navigation:not(.has-text-color) .wp-block-navigation-link > a:focus,
+			.wp-block-navigation:not(.has-text-color) .wp-block-navigation-link > a:hover,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links a:active,
+			.wp-block-newspack-blocks-homepage-articles article .cat-links 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-title a:focus,
+			.wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
+			.primary-navigation .menu-item > a:focus,
+			.primary-navigation .menu-item > a:hover,
+			.primary-navigation .primary-menu > .menu-item:hover > a,
+			.primary-navigation > .button:hover,
+			a:focus,
+			a:hover', 'color' ),
+
+	// Background-color
+	array( '.a8c-posts-list__view-all,
+			.button,
+			.has-secondary-background-color[class],
+			.reply a,
+			.sticky-post,
+			.wp-block-button__link,
+			.wp-block-file .wp-block-file__button,
+			button,
+			button[data-load-more-btn],
+			input[type="submit"]', 'background-color' ),
+
+	// Border-bottom-color
+	array( 'a', 'border-bottom-color' ),
+
+	// Border-left-color
+	array( '.wp-block-pullquote.is-style-large,
+			.wp-block-quote', 'border-left-color' ),
+
+	// Border-right-color
+	array( '.wp-block-quote.has-text-align-right', 'border-right-color' ),
+
+	// Outline-color
+	array( '*:focus', 'outline-color' ),
+	
+	// Background-image
+	array( '.site-title a', 'Background-image' ),
+	
+	// Text-decoration-color
+	array( '.site-title > a', 'text-decoration-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Background-color
+	array( '.has-secondary-background-color[class]', 'background-color' ),
+
+	// Text-color
+	array( '.has-secondary-color[class],
+			.has-white-background-color[class],', 'color' ),
+
+	/**
+	 * Button Hover Colors
+	 */
+
+	// Background Color
+	array( '.a8c-posts-list__view-all:focus,
+			.a8c-posts-list__view-all:hover,
+			.button:focus,
+			.button:hover,
+			.has-focus.a8c-posts-list__view-all,
+			.has-focus.button,
+			.has-focus.wp-block-button__link,
+			.reply a.has-focus,
+			.reply a:focus,
+			.reply a:hover,
+			.wp-block-button__link:focus,
+			.wp-block-button__link:hover,
+			.wp-block-file .has-focus.wp-block-file__button,
+			.wp-block-file .wp-block-file__button:focus,
+			.wp-block-file .wp-block-file__button:hover,
+			button.has-focus,
+			button:focus,
+			button:hover,
+			input.has-focus[type="submit"],
+			input:focus[type="submit"],
+			input:hover[type="submit"]', 'background-color', '-1' ),
+
+	// Text Color
+	array( '.wp-block-button.is-style-outline .wp-block-button__link.has-focus,
+			.wp-block-button.is-style-outline .wp-block-button__link:focus,
+			.wp-block-button.is-style-outline .wp-block-button__link:hover,
+			.wp-block-button.is-style-outline.wp-block-button__link.has-focus,
+			.wp-block-button.is-style-outline.wp-block-button__link:focus,
+			.wp-block-button.is-style-outline.wp-block-button__link:hover', 'color', '-1' ),
+
+), __( 'Secondary Color' ) );
+
+// Tertiary Color
+// --global--color-tertiary
+add_color_rule( 'fg2', '#FAFBF6', array(
+
+	// Text-color
+	array( '.wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-image-text,
+			.wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-text,
+			.wp-block-cover-image:not([class*="background-color"]) .wp-block-cover__inner-container,
+			.wp-block-cover:not([class*="background-color"]) .wp-block-cover-image-text,
+			.wp-block-cover:not([class*="background-color"]) .wp-block-cover-text,
+			.wp-block-cover:not([class*="background-color"]) .wp-block-cover__inner-container', 'color' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Background-color
+	array( '.has-tertiary-background-color[class],
+			.has-background-light-background-color[class]', 'background-color' ),
+
+	// Text-color
+	array( '.has-tertiary-color[class],
+			.has-background-light-color[class]', 'color' ),
+
+	/**
+	 * Border Colors
+	 * --global--color-border
+	 */
+
+	// Border-color
+	array( '.comment-meta .comment-author .avatar,
+			.wp-block-code,
+			.wp-block-search .wp-block-search__input,
+			.wp-block-search .wp-block-search__input:focus,
+			input[type="color"],
+			input[type="color"]:focus,
+			input[type="date"],
+			input[type="date"]:focus,
+			input[type="datetime"],
+			input[type="datetime"]:focus,
+			input[type="datetime-local"],
+			input[type="datetime-local"]:focus,
+			input[type="email"],
+			input[type="email"]:focus,
+			input[type="month"],
+			input[type="month"]:focus,
+			input[type="number"],
+			input[type="number"]:focus,
+			input[type="password"],
+			input[type="password"]:focus,
+			input[type="range"],
+			input[type="range"]:focus,
+			input[type="search"],
+			input[type="search"]:focus,
+			input[type="tel"],
+			input[type="tel"]:focus,
+			input[type="text"],
+			input[type="text"]:focus,
+			input[type="time"],
+			input[type="time"]:focus,
+			input[type="url"],
+			input[type="url"]:focus,
+			input[type="week"],
+			input[type="week"]:focus,
+			select,
+			textarea,
+			textarea:focus', 'border-color' ),
+
+	// Border-bottom-color
+	array( '.comment-list > li:not(first-child),
+			hr,
+			hr.wp-block-separator', 'border-bottom-color' ),
+
+	// Border-top-color
+	array( '.comment-list .children > li,
+			.site-main > article > .entry-footer', 'border-top-color' ),
+
+	// Color
+	array( 'hr.wp-block-separator.is-style-dots:before', 'color' ),
+
+), __( 'Tertiary Color' ) );
+
+/**
+ * Custom CSS. 
+ * The plugin takes the body of this function and applies it in a style tag in the document head.
+ */
+function seedlet_custom_colors_extra_css() {
+	$colors_array = get_theme_mod( 'colors_manager' );
+	$color_bg = $colors_array['colors']['bg'];
+	$color_fg1 = $colors_array['colors']['fg1'];
+	$color_fg2 = $colors_array['colors']['fg2']; ?>
+
+	/* 
+	 * Site title text shadow. 
+	*/
+	.site-title a {
+		background-image: linear-gradient(to right, <?php echo $color_fg1; ?> 100%, transparent 100%);
+		text-shadow: 1px 0px <?php echo $color_bg; ?>, 
+					 -1px 0px <?php echo $color_bg; ?>, 
+					 -2px 0px <?php echo $color_bg; ?>, 
+					 2px 0px <?php echo $color_bg; ?>, 
+					 -3px 0px <?php echo $color_bg; ?>, 
+					 3px 0px <?php echo $color_bg; ?>, 
+					 -4px 0px <?php echo $color_bg; ?>, 
+					 4px 0px <?php echo $color_bg; ?>, 
+					 -5px 0px <?php echo $color_bg; ?>, 
+					 5px 0px <?php echo $color_bg; ?>;
+	}
+
+	/* 
+	 * Custom gradients.
+	*/
+	.has-hard-diagonal-gradient-background {
+		background: linear-gradient(to bottom right, <?php echo $color_fg1; ?> 49.9%, <?php echo $color_fg2; ?> 50%);
+	}
+
+	.has-hard-diagonal-inverted-gradient-background {
+		background: linear-gradient(to top left, <?php echo $color_fg1; ?> 49.9%, <?php echo $color_fg2; ?> 50%);
+	}
+
+	.has-diagonal-gradient-background {
+		background: linear-gradient(to bottom right, <?php echo $color_fg1; ?>, <?php echo $color_fg2; ?>);
+	}
+
+	.has-diagonal-inverted-gradient-background {
+		background: linear-gradient(to top left, <?php echo $color_fg1; ?>, <?php echo $color_fg2; ?>);
+	}
+
+	.has-hard-horizontal-gradient-background {
+		background: linear-gradient(to bottom, <?php echo $color_fg1; ?> 50%, <?php echo $color_fg2; ?> 50%);
+	}
+
+	.has-hard-horizontal-inverted-gradient-background {
+		background: linear-gradient(to top, <?php echo $color_fg1; ?> 50%, <?php echo $color_fg2; ?> 50%);
+	}
+
+	.has-horizontal-gradient-background {
+		background: linear-gradient(to bottom, <?php echo $color_fg1; ?>, <?php echo $color_fg2; ?>);
+	}
+
+	.has-horizontal-inverted-gradient-background {
+		background: linear-gradient(to top, <?php echo $color_fg1; ?>, <?php echo $color_fg2; ?>);
+	}
+
+	.has-stripe-gradient-background {
+		background: linear-gradient(to bottom, transparent 20%, <?php echo $color_fg1; ?> 20%, <?php echo $color_fg1; ?> 80%, transparent 80%);
+	}
+<?php }
+add_theme_support( 'custom_colors_extra_css', 'seedlet_custom_colors_extra_css' );
+
+/**
+ * Featured Varia/Seedlet Palettes
+ */
+// Light
+add_color_palette( array(
+	'#FFFFFF',
+	'#1D1E1E',
+	'#C8133E',
+	'#4E2F4B',
+	'#F9F9F9',
+), 'Light' );
+// Medium
+add_color_palette( array(
+	'#EEF4F7',
+	'#242527',
+	'#35845D',
+	'#233252',
+	'#F9F9F9',
+), 'Medium' );
+// Dark
+add_color_palette( array(
+	'#1F2527',
+	'#FFFFFF',
+	'#9FD3E8',
+	'#FBE6AA',
+	'#364043',
+), 'Dark' );

+ 21 - 0
seedlet/inc/wpcom-customize-message.css

@@ -0,0 +1,21 @@
+/**
+ * File customize-preview-wpcom.js.
+ *
+ * Instantly live-update customizer settings in the preview for improved user experience,
+ * targeting the updates needed to hide the page title on the homepage on WordPress.com.
+ */
+
+#customize-control-color_a11y_warning {
+	background: #FFF;
+	border: 1px solid #ccd0d4;
+	border-left: 4px solid #00a0d2;
+	box-shadow: 0 1px 1px rgba( 0, 0, 0, .04 );
+	margin: 0 0 6px 0;
+	padding: 9px 14px;
+	overflow: hidden;
+	width: auto;
+}
+
+#customize-control-color_a11y_warning .customize-control-title {
+	display: none;
+}

+ 70 - 1
seedlet/inc/wpcom-customize-preview.js

@@ -6,7 +6,6 @@
  */
 
 ( function( $ ) {
-
 	// Hide Front Page Title
 	wp.customize( 'hide_front_page_title', function( value ) {
 		value.bind( function( to ) {
@@ -18,4 +17,74 @@
 			}
 		} );
 	} );
+
+	// Since the plugin handles customizer preview updates via the postMessage transport,
+	// we need to manually override the "extra CSS" when a user selects a different color palette.
+	wp.customize( 'colors_manager[colors]', function( value ) {
+		value.bind( function( to ) {
+			const { bg, fg1, fg2 } = to;
+			const extraCSS = `/*
+				* Site title text shadow.
+				*/
+				.site-title a {
+					background-image: linear-gradient(to right, ${ fg1 } 100%, transparent 100%);
+					text-shadow: 1px 0px ${ bg },
+								-1px 0px ${ bg },
+								-2px 0px ${ bg },
+								2px 0px ${ bg },
+								-3px 0px ${ bg },
+								3px 0px ${ bg },
+								-4px 0px ${ bg },
+								4px 0px ${ bg },
+								-5px 0px ${ bg },
+								5px 0px ${ bg };
+				}
+
+				/*
+				* Custom gradients.
+				*/
+				.has-hard-diagonal-gradient-background {
+					background: linear-gradient(to bottom right, ${ fg1 } 49.9%, ${ fg2 } 50%);
+				}
+
+				.has-hard-diagonal-inverted-gradient-background {
+					background: linear-gradient(to top left, ${ fg1 } 49.9%, ${ fg2 } 50%);
+				}
+
+				.has-diagonal-gradient-background {
+					background: linear-gradient(to bottom right, ${ fg1 }, ${ fg2 });
+				}
+
+				.has-diagonal-inverted-gradient-background {
+					background: linear-gradient(to top left, ${ fg1 }, ${ fg2 });
+				}
+
+				.has-hard-horizontal-gradient-background {
+					background: linear-gradient(to bottom, ${ fg1 } 50%, ${ fg2 } 50%);
+				}
+
+				.has-hard-horizontal-inverted-gradient-background {
+					background: linear-gradient(to top, ${ fg1 } 50%, ${ fg2 } 50%);
+				}
+
+				.has-horizontal-gradient-background {
+					background: linear-gradient(to bottom, ${ fg1 }, ${ fg2 });
+				}
+
+				.has-horizontal-inverted-gradient-background {
+					background: linear-gradient(to top, ${ fg1 }, ${ fg2 });
+				}
+
+				.has-stripe-gradient-background {
+					background: linear-gradient(to bottom, transparent 20%, ${ fg1 } 20%, ${ fg1 } 80%, transparent 80%);
+				}`;
+
+			// Append an extra style element that overrides the previous extra CSS
+			if ( $('#custom-colors-extra-css').length ) {
+				$( '#custom-colors-extra-css' ).html( extraCSS );
+			} else {
+				$( 'head' ).append( `<style id="custom-colors-extra-css">${ extraCSS }</style>` );
+			}
+		} );
+	} );
 } )( jQuery );

+ 271 - 0
seedlet/inc/wpcom-editor-colors.php

@@ -0,0 +1,271 @@
+<?php
+
+/*
+ * Custom Editor Colors: Seedlet
+ */
+
+// Background Color 
+// --global--color-background
+add_color_rule( 'bg', '#FFFFFF', array(
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .wp-block-navigation .wp-block-navigation__container,
+			#editor .editor-styles-wrapper', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button:active,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button:focus,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button:hover,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .has-focus.button,
+			#editor .editor-styles-wrapper .wp-block-button__link,
+			#editor .editor-styles-wrapper .wp-block-button__link.has-focus,
+			#editor .editor-styles-wrapper .wp-block-button__link:focus,
+			#editor .editor-styles-wrapper .wp-block-button__link:hover,
+			#editor .editor-styles-wrapper .wp-block-file .wp-block-file__button,
+			#editor .editor-styles-wrapper .wp-block-file .wp-block-file__button.has-focus,
+			#editor .editor-styles-wrapper .wp-block-file .wp-block-file__button:focus,
+			#editor .editor-styles-wrapper .wp-block-file .wp-block-file__button:hover,
+			#editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color,
+			#editor .editor-styles-wrapper .wp-block-search .has-focus.wp-block-search__button,
+			#editor .editor-styles-wrapper .wp-block-search .wp-block-search__button,
+			#editor .editor-styles-wrapper .wp-block-search .wp-block-search__button:active,
+			#editor .editor-styles-wrapper .wp-block-search .wp-block-search__button:focus,
+			#editor .editor-styles-wrapper .wp-block-search .wp-block-search__button:hover', 'color' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-primary-background-color,
+			#editor .editor-styles-wrapper .has-secondary-background-color,
+			#editor .editor-styles-wrapper .has-foreground-background-color,
+			#editor .editor-styles-wrapper .has-foreground-dark-background-color,
+			#editor .editor-styles-wrapper .has-foreground-light-background-color,
+			#editor .editor-styles-wrapper .has-background-color,
+			#editor .editor-styles-wrapper .has-background:not(.has-background-background-color) a', 'color' ),
+
+	// Border-bottom-color
+	array( '#editor .editor-styles-wrapper .has-secondary-background-color[class] a', 'border-bottom-color' ),
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-background-background-color[class]', 'background-color' ),
+
+	// Text-color darkened
+	array( '#editor .editor-styles-wrapper .has-background-dark-color[class]', 'color', '-1'  ),
+
+	// Background-color darkened
+	array( '#editor .editor-styles-wrapper .has-background-dark-background-color[class]', 'background-color', '-1' ),
+
+	// Text-color lightened
+	array( '#editor .editor-styles-wrapper .has-background-light-color[class]', 'color', '+1'  ),
+
+	// Background-color lightened
+	array( '#editor .editor-styles-wrapper .has-background-light-background-color[class]', 'background-color', '+1' ),
+
+), __( 'Background Color' ) );
+
+// Foreground Color
+// --global--color-background
+add_color_rule( 'txt', '#444444', array(
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .cat-links,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-meta,
+			#editor .editor-styles-wrapper .wp-block-latest-posts .wp-block-latest-posts__post-date,
+			#editor .editor-styles-wrapper .wp-block-pullquote .wp-block-pullquote__citation,
+			#editor .editor-styles-wrapper .wp-block-pullquote cite,
+			#editor .editor-styles-wrapper .wp-block-pullquote footer,
+			#editor .editor-styles-wrapper .wp-block-quote .wp-block-quote__citation,
+			#editor .editor-styles-wrapper .wp-caption,
+			#editor .editor-styles-wrapper .wp-caption-text,
+			#editor .editor-styles-wrapper blockquote cite,
+			#editor .editor-styles-wrapper blockquote footer,
+			#editor .editor-styles-wrapper figcaption,
+			#editor .editor-styles-wrapper .editor-post-title .editor-post-title__input,
+			#editor .editor-styles-wrapper .editor-post-title .editor-post-title__input::placeholder', 'color' ),
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .wp-block-cover,
+			#editor .editor-styles-wrapper .wp-block-cover-image', 'background-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-background-background-color[class],
+			#editor .editor-styles-wrapper .has-background-dark-background-color[class],
+			#editor .editor-styles-wrapper .has-background-light-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-color[class],
+			#editor .editor-styles-wrapper .has-background-background-color[class] a', 'color' ),
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-foreground-background-color[class]', 'background-color' ),
+
+	// Text-color darkened
+	array( '#editor .editor-styles-wrapper .has-foreground-dark-color[class]', 'color', '-1' ),
+
+	// Background-color darkened
+	array( '#editor .editor-styles-wrapper .has-foreground-dark-background-color[class]', 'background-color', '-1' ),
+
+	// Text-color brightened
+	array( '#editor .editor-styles-wrapper .has-foreground-light-color[class]', 'color', '+2' ),
+
+	// Background-color brightened
+	array( '#editor .editor-styles-wrapper .has-foreground-light-background-color[class]', 'background-color', '+2' ),
+
+), __( 'Text Color' ) );
+
+// Primary Color
+// --global--color-primary
+add_color_rule( 'link', '#000000', array(
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button:active,
+			#editor .editor-styles-wrapper .wp-block-search .wp-block-search__button:active', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-title a,
+			#editor .editor-styles-wrapper .wp-block-file .wp-block-file__textlink,
+			#editor .editor-styles-wrapper a,
+			#editor .editor-styles-wrapper a:active', 'color' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-primary-background-color[class]', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-primary-color[class],
+			#editor .editor-styles-wrapper .has-black-background-color[class],
+			#editor .editor-styles-wrapper .has-foreground-dark-color[class]', 'color' ),
+
+), __( 'Primary Color' ) );
+
+// Secondary Color
+// --global--color-secondary
+add_color_rule( 'fg1', '#3C8067', array(
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .is-style-outline .wp-block-button__link,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .cat-links a:active,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .cat-links a:hover,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-meta a:active,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-meta a:hover,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-title a:hover,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .more-link:active,
+			#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .more-link:hover,
+			#editor .editor-styles-wrapper .wp-block-button__link.is-style-outline,
+			#editor .editor-styles-wrapper .wp-block-navigation:not(.has-text-color) .wp-block-navigation-link > a:focus,
+			#editor .editor-styles-wrapper .wp-block-navigation:not(.has-text-color) .wp-block-navigation-link > a:hover,
+			#editor .editor-styles-wrapper a:focus,
+			#editor .editor-styles-wrapper a:hover', 'color' ),
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .wp-block-a8c-blog-posts + .button,
+			#editor .editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link,
+			#editor .editor-styles-wrapper .wp-block-file .wp-block-file__button,
+			#editor .editor-styles-wrapper .wp-block-search .wp-block-search__button', 'background-color' ),
+
+	// border-bottom-color
+	array( '#editor .editor-styles-wrapper .wp-block-file .wp-block-file__textlink,
+			#editor .editor-styles-wrapper a', 'border-bottom-color' ),
+	
+	// border-left-color
+	array( '#editor .editor-styles-wrapper .wp-block-quote,
+			#editor .editor-styles-wrapper .wp-block-quote.is-large,
+			#editor .editor-styles-wrapper .wp-block-quote.is-style-large', 'border-left-color' ),
+
+	// border-right-color
+	array( '#editor .editor-styles-wrapper .wp-block-quote.has-text-align-right,
+			#editor .editor-styles-wrapper .wp-block-quote.is-large.has-text-align-right,
+			#editor .editor-styles-wrapper .wp-block-quote.is-style-large.has-text-align-right', 'border-right-color' ),
+
+	/**
+	 * Utility Classes
+	 */
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-secondary-background-color[class]', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-secondary-color[class],
+			#editor .editor-styles-wrapper .has-white-background-color[class]', 'color' ),
+
+), __( 'Secondary Color' ) );
+
+// Tertiary Color
+// --global--color-tertiary
+add_color_rule( 'fg2', '#FAFBF6', array(
+
+	// Background-color
+	array( '#editor .editor-styles-wrapper .has-tertiary-background-color[class]', 'background-color' ),
+
+	// Text-color
+	array( '#editor .editor-styles-wrapper .has-tertiary-color[class],
+			#editor .editor-styles-wrapper .wp-block-cover-image:not([class*="background-color"]) .block-editor-block-list__block,
+			#editor .editor-styles-wrapper .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-image-text,
+			#editor .editor-styles-wrapper .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-text,
+			#editor .editor-styles-wrapper .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover__inner-container,
+			#editor .editor-styles-wrapper .wp-block-cover:not([class*="background-color"]) .block-editor-block-list__block,
+			#editor .editor-styles-wrapper .wp-block-cover:not([class*="background-color"]) .wp-block-cover-image-text,
+			#editor .editor-styles-wrapper .wp-block-cover:not([class*="background-color"]) .wp-block-cover-text,
+			#editor .editor-styles-wrapper .wp-block-cover:not([class*="background-color"]) .wp-block-cover__inner-container', 'color' ),
+
+), __( 'Tertiary Color' ) );
+
+/**
+ * Custom CSS
+ * The plugin takes the body of this function and applies it in a style tag in the document head.
+ */
+function seedlet_custom_colors_extra_css() {
+	$colors_array = get_theme_mod( 'colors_manager' );
+	$color_bg = $colors_array['colors']['bg'];
+	$color_fg1 = $colors_array['colors']['fg1'];
+	$color_fg2 = $colors_array['colors']['fg2']; ?>
+
+	/* 
+	 * Custom gradients.
+	*/
+	#editor .editor-styles-wrapper .has-hard-diagonal-gradient-background {
+		background: linear-gradient(to bottom right, <?php echo $color_fg1; ?> 49.9%, <?php echo $color_fg2; ?> 50%);
+	}
+
+	#editor .editor-styles-wrapper .has-hard-diagonal-inverted-gradient-background {
+		background: linear-gradient(to top left, <?php echo $color_fg1; ?> 49.9%, <?php echo $color_fg2; ?> 50%);
+	}
+
+	#editor .editor-styles-wrapper .has-diagonal-gradient-background {
+		background: linear-gradient(to bottom right, <?php echo $color_fg1; ?>, <?php echo $color_fg2; ?>);
+	}
+
+	#editor .editor-styles-wrapper .has-diagonal-inverted-gradient-background {
+		background: linear-gradient(to top left, <?php echo $color_fg1; ?>, <?php echo $color_fg2; ?>);
+	}
+
+	#editor .editor-styles-wrapper .has-hard-horizontal-gradient-background {
+		background: linear-gradient(to bottom, <?php echo $color_fg1; ?> 50%, <?php echo $color_fg2; ?> 50%);
+	}
+
+	#editor .editor-styles-wrapper .has-hard-horizontal-inverted-gradient-background {
+		background: linear-gradient(to top, <?php echo $color_fg1; ?> 50%, <?php echo $color_fg2; ?> 50%);
+	}
+
+	#editor .editor-styles-wrapper .has-horizontal-gradient-background {
+		background: linear-gradient(to bottom, <?php echo $color_fg1; ?>, <?php echo $color_fg2; ?>);
+	}
+
+	#editor .editor-styles-wrapper .has-horizontal-inverted-gradient-background {
+		background: linear-gradient(to top, <?php echo $color_fg1; ?>, <?php echo $color_fg2; ?>);
+	}
+
+	#editor .editor-styles-wrapper .has-stripe-gradient-background {
+		background: linear-gradient(to bottom, transparent 20%, <?php echo $color_fg1; ?> 20%, <?php echo $color_fg1; ?> 80%, transparent 80%);
+	}
+<?php }
+add_theme_support( 'custom_colors_extra_css', 'seedlet_custom_colors_extra_css' );

+ 149 - 1
seedlet/inc/wpcom.php

@@ -8,7 +8,134 @@
  */
 
 /**
- * Add setting for hiding page title on the homepage.
+ * Adds support for wp.com-specific theme functions.
+ *
+ * @global array $themecolors
+ */
+function seedlet_wpcom_setup() {
+	global $themecolors;
+
+	// Set theme colors for third party services.
+	if ( ! isset( $themecolors ) ) {
+		$themecolors = array(
+			'bg'     => 'FFFFFF',
+			'txt'    => '333333',
+			'link'   => '000000',
+			'fg1'    => '3C8067',
+			'fg2'    => 'FAFBF6',
+		);
+	}
+
+	// Disable automatically generated color palettes.
+	add_theme_support( 'wpcom-colors', array(
+		'only-featured-palettes' => true,
+	) );
+
+	/**
+	 * De-register original editor color palette in favor of the wpcom implementation
+	 */
+	remove_theme_support( 'editor-color-palette' );
+	remove_theme_support( 'editor-gradient-presets' );
+
+	$wpcom_colors_array = get_theme_mod( 'colors_manager' );
+	if ( ! empty( $wpcom_colors_array ) ) {
+		$primary    = $wpcom_colors_array['colors']['link'];
+		$secondary  = $wpcom_colors_array['colors']['fg1'];
+		$foreground = $wpcom_colors_array['colors']['txt'];
+		$tertiary   = $wpcom_colors_array['colors']['fg2'];
+		$background = $wpcom_colors_array['colors']['bg'];
+
+		add_theme_support(
+			'editor-color-palette',
+			array(
+				array(
+					'name'  => __( 'Primary', 'seedlet' ),
+					'slug'  => 'primary',
+					'color' => $primary
+				),
+				array(
+					'name'  => __( 'Secondary', 'seedlet' ),
+					'slug'  => 'secondary',
+					'color' => $secondary
+				),
+				array(
+					'name'  => __( 'Foreground', 'seedlet' ),
+					'slug'  => 'foreground',
+					'color' => $foreground
+				),
+				array(
+					'name'  => __( 'Tertiary', 'seedlet' ),
+					'slug'  => 'tertiary',
+					'color' => $tertiary
+				),
+				array(
+					'name'  => __( 'Background', 'seedlet' ),
+					'slug'  => 'background',
+					'color' => $background
+				),
+			)
+		);
+
+		$gradient_color_a = $secondary;
+		$gradient_color_b = $tertiary;
+
+		add_theme_support(
+			'editor-gradient-presets',
+			array(
+				array(
+					'name'     => __( 'Diagonal', 'seedlet' ),
+					'gradient' => 'linear-gradient(to bottom right, ' . $gradient_color_a . ' 49.9%, ' . $gradient_color_b  . ' 50%)',
+					'slug'     => 'hard-diagonal',
+				),
+				array(
+					'name'     => __( 'Diagonal inverted', 'seedlet' ),
+					'gradient' => 'linear-gradient(to top left, ' . $gradient_color_a . ' 49.9%, ' . $gradient_color_b . ' 50%)',
+					'slug'     => 'hard-diagonal-inverted',
+				),
+				array(
+					'name'     => __( 'Horizontal', 'seedlet' ),
+					'gradient' => 'linear-gradient(to bottom, ' . $gradient_color_a . ' 50%, ' . $gradient_color_b . ' 50%)',
+					'slug'     => 'hard-horizontal',
+				),
+				array(
+					'name'     => __( 'Horizontal inverted', 'seedlet' ),
+					'gradient' => 'linear-gradient(to top, ' . $gradient_color_a . ' 50%, ' . $gradient_color_b . ' 50%)',
+					'slug'     => 'hard-horizontal-inverted',
+				),
+				array(
+					'name'     => __( 'Diagonal gradient', 'seedlet' ),
+					'gradient' => 'linear-gradient(to bottom right, ' . $gradient_color_a . ', ' . $gradient_color_b . ')',
+					'slug'     => 'diagonal',
+				),
+				array(
+					'name'     => __( 'Diagonal inverted gradient', 'seedlet' ),
+					'gradient' => 'linear-gradient(to top left, ' . $gradient_color_a . ', ' . $gradient_color_b . ')',
+					'slug'     => 'diagonal-inverted',
+				),
+				array(
+					'name'     => __( 'Horizontal gradient', 'seedlet' ),
+					'gradient' => 'linear-gradient(to bottom, ' . $gradient_color_a . ', ' . $gradient_color_b . ')',
+					'slug'     => 'horizontal',
+				),
+				array(
+					'name'     => __( 'Horizontal inverted gradient', 'seedlet' ),
+					'gradient' => 'linear-gradient(to top, ' . $gradient_color_a . ', ' . $gradient_color_b . ')',
+					'slug'     => 'horizontal-inverted',
+				),
+				array(
+					'name'     => __( 'Stripe', 'seedlet' ),
+					'gradient' => 'linear-gradient(to bottom, transparent 20%, ' . $gradient_color_a . ' 20%, ' . $gradient_color_a . ' 80%, transparent 80%)',
+					'slug'     => 'stripe',
+				),
+			)
+		);
+	}
+}
+add_action( 'after_setup_theme', 'seedlet_wpcom_setup' );
+
+/**
+ * Add settings for hiding page title on the homepage 
+ * and a customizer message about contrast.
  */
 function seedlet_wpcom_customize_update( $wp_customize ) {
 	$wp_customize->add_setting( 'hide_front_page_title', array(
@@ -26,6 +153,19 @@ function seedlet_wpcom_customize_update( $wp_customize ) {
 		'type'		  => 'checkbox',
 		'settings'	  => 'hide_front_page_title',
 	) );
+
+	$wp_customize->add_setting( 'color_a11y_warning' );
+    $wp_customize->add_control( 'color_a11y_warning', array(
+        'id'          => 'id',
+        'label'       => esc_html__( 'Color Accessibility Warning', 'seedlet' ),
+		'description' => sprintf(
+							__( 'In order to ensure people can read your site, try to maintain a strong contrast ratio between the colors you choose here. <a href="%s" target="_blank">Learn more about color contrast</a>.', 'seedlet' ),
+							esc_url( 'https://a11yproject.com/posts/what-is-color-contrast/' )
+						 ),
+        'section'     => 'colors_manager_tool',
+		'priority'	  => 10,
+		'type'		  => 'hidden',
+	) );
 }
 add_action( 'customize_register', 'seedlet_wpcom_customize_update' );
 
@@ -112,3 +252,11 @@ function seedlet_wpcom_editor_scripts() {
 	wp_enqueue_style( 'seedlet-wpcom-editor-style', get_template_directory_uri() . '/inc/wpcom-style-editor.css', array(), '20200629' );
 }
 add_action( 'enqueue_block_editor_assets', 'seedlet_wpcom_editor_scripts' );
+
+/**
+ * Enqueue CSS for customizer pane.
+ */
+function seedlet_enqueue_message_scripts() {
+	wp_enqueue_style( 'seedlet-customize-message-wpcom-style', get_template_directory_uri() . '/inc/wpcom-customize-message.css', array(), wp_get_theme()->get( 'Version' ) );
+}
+add_action( 'customize_controls_enqueue_scripts', 'seedlet_enqueue_message_scripts' );

+ 1 - 2
seedlet/index.php

@@ -9,8 +9,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 0
seedlet/package.json

@@ -47,6 +47,7 @@
     "build:print": "node-sass assets/sass/print.scss assets/css/print.css --output-style expanded --indent-type tab --indent-width 1",
     "build": "run-p \"build:*\" && npm run ie",
     "ie": "postcss style.css -o assets/css/ie.css",
+    "ie-editor": "postcss assets/css/style-editor.css -o assets/css/ie-editor.css",
     "watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
     "child-theme": "sh ../theme-dev-utils/build-child-theme.sh"
   }

+ 1 - 2
seedlet/page.php

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 9 - 0
seedlet/readme.txt

@@ -14,6 +14,15 @@ Seedlet is a simple, text-driven, single-column theme.
 
 == Changelog ==
 
+= 1.0.2 =
+* Fix mobile menu tab accessibility issues
+* Fix escaping and prefixing issues
+* Support for IE styles
+
+= 1.0.1 =
+* Translate aria-labels
+* Remove remote files
+
 = 1.0 =
 * Initial release 
 

+ 1 - 2
seedlet/search.php

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/single.php

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 141 - 76
seedlet/style-rtl.css

@@ -1,13 +1,13 @@
 /*
 Theme Name: Seedlet
-Theme URI: https://github.com/Automattic/themes/seedlet
+Theme URI: https://github.com/Automattic/themes/tree/master/seedlet
 Author: Automattic
 Author URI: https://automattic.com/
 Description: A simple, text-driven, single-column theme.
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Requires PHP: 7.3
-Version: 1.0.1-wpcom
+Version: 1.0.2-wpcom
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Text Domain: seedlet
@@ -519,6 +519,7 @@ Included in theme screenshot.
 .site-main > .not-found > *,
 .entry-content > *,
 [class*="inner-container"] > *,
+.wp-block-template-part > *,
 .widget-area > *,
 .widget-column > * {
 	margin-top: calc( 0.666 * var(--global--spacing-vertical));
@@ -531,6 +532,7 @@ Included in theme screenshot.
 	.site-main > .not-found > *,
 	.entry-content > *,
 	[class*="inner-container"] > *,
+	.wp-block-template-part > *,
 	.widget-area > *,
 	.widget-column > * {
 		margin-top: var(--global--spacing-vertical);
@@ -543,6 +545,7 @@ Included in theme screenshot.
 .site-main > .not-found > *:first-child,
 .entry-content > *:first-child,
 [class*="inner-container"] > *:first-child,
+.wp-block-template-part > *:first-child,
 .widget-area > *:first-child,
 .widget-column > *:first-child {
 	margin-top: 0;
@@ -553,6 +556,7 @@ Included in theme screenshot.
 .site-main > .not-found > *:last-child,
 .entry-content > *:last-child,
 [class*="inner-container"] > *:last-child,
+.wp-block-template-part > *:last-child,
 .widget-area > *:last-child,
 .widget-column > *:last-child {
 	margin-bottom: 0;
@@ -995,7 +999,7 @@ a:active {
 	color: var(--wp--style--color--link, var(--global--color-primary));
 }
 
-*:focus {
+.site *:focus {
 	outline-width: 1px;
 	outline-style: dotted;
 	outline-color: var(--global--color-secondary);
@@ -2428,43 +2432,43 @@ table th,
 }
 
 .has-primary-color[class] {
-	color: var(--global--color-primary) !important;
+	color: var(--global--color-primary);
 }
 
 .has-secondary-color[class] {
-	color: var(--global--color-secondary) !important;
+	color: var(--global--color-secondary);
 }
 
 .has-foreground-color[class] {
-	color: var(--global--color-foreground) !important;
+	color: var(--global--color-foreground);
 }
 
 .has-foreground-light-color[class] {
-	color: var(--global--color-foreground-light) !important;
+	color: var(--global--color-foreground-light);
 }
 
 .has-foreground-dark-color[class] {
-	color: var(--global--color-foreground-dark) !important;
+	color: var(--global--color-foreground-dark);
 }
 
 .has-tertiary-color[class] {
-	color: var(--global--color-tertiary) !important;
+	color: var(--global--color-tertiary);
 }
 
 .has-background-dark-color[class] {
-	color: var(--global--color-background-dark) !important;
+	color: var(--global--color-background-dark);
 }
 
 .has-background-color[class] {
-	color: var(--global--color-background) !important;
+	color: var(--global--color-background);
 }
 
 .has-white-color[class] {
-	color: var(--global--color-white) !important;
+	color: var(--global--color-white);
 }
 
 .has-black-color[class] {
-	color: var(--global--color-black) !important;
+	color: var(--global--color-black);
 }
 
 .has-background:not(.has-background-background-color) a,
@@ -2473,52 +2477,52 @@ table th,
 }
 
 .has-primary-background-color[class] {
-	background-color: var(--global--color-primary) !important;
+	background-color: var(--global--color-primary);
 	color: var(--global--color-background);
 }
 
 .has-secondary-background-color[class] {
-	background-color: var(--global--color-secondary) !important;
+	background-color: var(--global--color-secondary);
 	color: var(--global--color-background);
 }
 
 .has-foreground-background-color[class] {
-	background-color: var(--global--color-foreground) !important;
+	background-color: var(--global--color-foreground);
 	color: var(--global--color-background);
 }
 
 .has-foreground-light-background-color[class] {
-	background-color: var(--global--color-foreground-light) !important;
+	background-color: var(--global--color-foreground-light);
 	color: var(--global--color-background);
 }
 
 .has-foreground-dark-background-color[class] {
-	background-color: var(--global--color-foreground-dark) !important;
+	background-color: var(--global--color-foreground-dark);
 	color: var(--global--color-background);
 }
 
 .has-tertiary-background-color[class] {
-	background-color: var(--global--color-tertiary) !important;
+	background-color: var(--global--color-tertiary);
 	color: var(--global--color-foreground);
 }
 
 .has-background-dark-background-color[class] {
-	background-color: var(--global--color-background-dark) !important;
+	background-color: var(--global--color-background-dark);
 	color: var(--global--color-foreground);
 }
 
 .has-background-background-color[class] {
-	background-color: var(--global--color-background) !important;
+	background-color: var(--global--color-background);
 	color: var(--global--color-foreground);
 }
 
 .has-white-background-color[class] {
-	background-color: var(--global--color-white) !important;
+	background-color: var(--global--color-white);
 	color: var(--global--color-secondary);
 }
 
 .has-black-background-color[class] {
-	background-color: var(--global--color-black) !important;
+	background-color: var(--global--color-black);
 	color: var(--global--color-primary);
 }
 
@@ -2809,6 +2813,120 @@ nav a {
 	}
 }
 
+.menu-button-container {
+	display: none;
+	justify-content: space-between;
+	right: 0;
+	position: absolute;
+	top: 0;
+	width: 100%;
+}
+
+.menu-button-container #primary-open-menu {
+	margin-right: auto;
+}
+
+@media only screen and (max-width: 481px) {
+	.menu-button-container {
+		display: flex;
+	}
+}
+
+.admin-bar:not(.primary-navigation-open) .menu-button-container {
+	top: 46px;
+}
+
+.menu-button-container .button,
+.primary-navigation .button,
+.woo-navigation .button {
+	background-color: transparent;
+	color: var(--primary-nav--color-link);
+	z-index: 500;
+}
+
+.menu-button-container .button.open,
+.primary-navigation .button.open,
+.woo-navigation .button.open {
+	display: flex;
+	z-index: 499;
+}
+
+.menu-button-container .button.close,
+.primary-navigation .button.close,
+.woo-navigation .button.close {
+	display: none;
+}
+
+.menu-button-container .button:hover,
+.primary-navigation .button:hover,
+.woo-navigation .button:hover {
+	color: var(--primary-nav--color-link-hover);
+}
+
+.menu-button-container .button#woo-open-menu .svg-icon,
+.primary-navigation .button#woo-open-menu .svg-icon,
+.woo-navigation .button#woo-open-menu .svg-icon {
+	margin-right: 0;
+	margin-left: calc(0.25 * var(--global--spacing-unit));
+	vertical-align: middle;
+}
+
+.menu-button-container .button .dropdown-icon,
+.primary-navigation .button .dropdown-icon,
+.woo-navigation .button .dropdown-icon {
+	display: flex;
+	align-items: center;
+}
+
+.menu-button-container .button .dropdown-icon .svg-icon,
+.primary-navigation .button .dropdown-icon .svg-icon,
+.woo-navigation .button .dropdown-icon .svg-icon {
+	margin-right: calc(0.25 * var(--global--spacing-unit));
+}
+
+.menu-button-container .button .dropdown-icon.open .svg-icon,
+.primary-navigation .button .dropdown-icon.open .svg-icon,
+.woo-navigation .button .dropdown-icon.open .svg-icon {
+	position: relative;
+	top: -1px;
+}
+
+.menu-button-container .button .hide-visually,
+.primary-navigation .button .hide-visually,
+.woo-navigation .button .hide-visually {
+	position: absolute !important;
+	clip: rect(1px, 1px, 1px, 1px);
+	padding: 0 !important;
+	border: 0 !important;
+	height: 1px !important;
+	width: 1px !important;
+	overflow: hidden;
+}
+
+.primary-navigation-open .menu-button-container #primary-open-menu, .primary-navigation-open
+.primary-navigation #primary-open-menu, .primary-navigation-open
+.woo-navigation #primary-open-menu {
+	display: none;
+}
+
+.primary-navigation-open .menu-button-container #primary-close-menu, .primary-navigation-open
+.primary-navigation #primary-close-menu, .primary-navigation-open
+.woo-navigation #primary-close-menu {
+	display: flex;
+}
+
+.woo-navigation-open .menu-button-container #woo-open-menu, .woo-navigation-open
+.primary-navigation #woo-open-menu, .woo-navigation-open
+.woo-navigation #woo-open-menu {
+	display: none;
+}
+
+.woo-navigation-open .menu-button-container #woo-close-menu, .woo-navigation-open
+.primary-navigation #woo-close-menu, .woo-navigation-open
+.woo-navigation #woo-close-menu {
+	display: flex;
+}
+
 .primary-navigation,
 .woo-navigation {
 	position: absolute;
@@ -2851,22 +2969,6 @@ nav a {
 	}
 }
 
-.primary-navigation > .button,
-.woo-navigation > .button {
-	position: absolute;
-	display: inline-block;
-	margin: 0;
-	left: 0;
-	top: 0;
-	background-color: transparent;
-	color: var(--primary-nav--color-link);
-}
-
-.primary-navigation > .button:hover,
-.woo-navigation > .button:hover {
-	color: var(--primary-nav--color-link-hover);
-}
-
 .primary-navigation-open .primary-navigation > .primary-menu-container, .primary-navigation-open
 .woo-navigation > .primary-menu-container {
 	visibility: visible;
@@ -2874,43 +2976,6 @@ nav a {
 	transform: translateY(0);
 }
 
-.primary-navigation-open .primary-navigation > #toggle-menu, .primary-navigation-open
-.woo-navigation > #toggle-menu {
-	z-index: 500;
-}
-
-.primary-navigation-open .primary-navigation > #toggle-menu .open, .primary-navigation-open
-.woo-navigation > #toggle-menu .open {
-	display: none;
-}
-
-.primary-navigation-open .primary-navigation > #toggle-menu .close, .primary-navigation-open
-.woo-navigation > #toggle-menu .close {
-	display: flex;
-}
-
-.primary-navigation .dropdown-icon,
-.woo-navigation .dropdown-icon {
-	display: flex;
-	align-items: center;
-}
-
-.primary-navigation .dropdown-icon .svg-icon,
-.woo-navigation .dropdown-icon .svg-icon {
-	margin-right: calc(0.25 * var(--global--spacing-unit));
-}
-
-.primary-navigation .dropdown-icon.open .svg-icon,
-.woo-navigation .dropdown-icon.open .svg-icon {
-	position: relative;
-	top: -1px;
-}
-
-.primary-navigation .dropdown-icon.close,
-.woo-navigation .dropdown-icon.close {
-	display: none;
-}
-
 .lock-scrolling .primary-navigation > .button, .lock-scrolling
 .woo-navigation > .button {
 	position: fixed;

+ 141 - 76
seedlet/style.css

@@ -1,13 +1,13 @@
 /*
 Theme Name: Seedlet
-Theme URI: https://github.com/Automattic/themes/seedlet
+Theme URI: https://github.com/Automattic/themes/tree/master/seedlet
 Author: Automattic
 Author URI: https://automattic.com/
 Description: A simple, text-driven, single-column theme.
 Requires at least: 4.9.6
 Tested up to: 5.4.1
 Requires PHP: 7.3
-Version: 1.0.1-wpcom
+Version: 1.0.2-wpcom
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Text Domain: seedlet
@@ -527,6 +527,7 @@ Included in theme screenshot.
 .site-main > .not-found > *,
 .entry-content > *,
 [class*="inner-container"] > *,
+.wp-block-template-part > *,
 .widget-area > *,
 .widget-column > * {
 	margin-top: calc( 0.666 * var(--global--spacing-vertical));
@@ -539,6 +540,7 @@ Included in theme screenshot.
 	.site-main > .not-found > *,
 	.entry-content > *,
 	[class*="inner-container"] > *,
+	.wp-block-template-part > *,
 	.widget-area > *,
 	.widget-column > * {
 		margin-top: var(--global--spacing-vertical);
@@ -551,6 +553,7 @@ Included in theme screenshot.
 .site-main > .not-found > *:first-child,
 .entry-content > *:first-child,
 [class*="inner-container"] > *:first-child,
+.wp-block-template-part > *:first-child,
 .widget-area > *:first-child,
 .widget-column > *:first-child {
 	margin-top: 0;
@@ -561,6 +564,7 @@ Included in theme screenshot.
 .site-main > .not-found > *:last-child,
 .entry-content > *:last-child,
 [class*="inner-container"] > *:last-child,
+.wp-block-template-part > *:last-child,
 .widget-area > *:last-child,
 .widget-column > *:last-child {
 	margin-bottom: 0;
@@ -1003,7 +1007,7 @@ a:active {
 	color: var(--wp--style--color--link, var(--global--color-primary));
 }
 
-*:focus {
+.site *:focus {
 	outline-width: 1px;
 	outline-style: dotted;
 	outline-color: var(--global--color-secondary);
@@ -2441,43 +2445,43 @@ table th,
 }
 
 .has-primary-color[class] {
-	color: var(--global--color-primary) !important;
+	color: var(--global--color-primary);
 }
 
 .has-secondary-color[class] {
-	color: var(--global--color-secondary) !important;
+	color: var(--global--color-secondary);
 }
 
 .has-foreground-color[class] {
-	color: var(--global--color-foreground) !important;
+	color: var(--global--color-foreground);
 }
 
 .has-foreground-light-color[class] {
-	color: var(--global--color-foreground-light) !important;
+	color: var(--global--color-foreground-light);
 }
 
 .has-foreground-dark-color[class] {
-	color: var(--global--color-foreground-dark) !important;
+	color: var(--global--color-foreground-dark);
 }
 
 .has-tertiary-color[class] {
-	color: var(--global--color-tertiary) !important;
+	color: var(--global--color-tertiary);
 }
 
 .has-background-dark-color[class] {
-	color: var(--global--color-background-dark) !important;
+	color: var(--global--color-background-dark);
 }
 
 .has-background-color[class] {
-	color: var(--global--color-background) !important;
+	color: var(--global--color-background);
 }
 
 .has-white-color[class] {
-	color: var(--global--color-white) !important;
+	color: var(--global--color-white);
 }
 
 .has-black-color[class] {
-	color: var(--global--color-black) !important;
+	color: var(--global--color-black);
 }
 
 .has-background:not(.has-background-background-color) a,
@@ -2486,52 +2490,52 @@ table th,
 }
 
 .has-primary-background-color[class] {
-	background-color: var(--global--color-primary) !important;
+	background-color: var(--global--color-primary);
 	color: var(--global--color-background);
 }
 
 .has-secondary-background-color[class] {
-	background-color: var(--global--color-secondary) !important;
+	background-color: var(--global--color-secondary);
 	color: var(--global--color-background);
 }
 
 .has-foreground-background-color[class] {
-	background-color: var(--global--color-foreground) !important;
+	background-color: var(--global--color-foreground);
 	color: var(--global--color-background);
 }
 
 .has-foreground-light-background-color[class] {
-	background-color: var(--global--color-foreground-light) !important;
+	background-color: var(--global--color-foreground-light);
 	color: var(--global--color-background);
 }
 
 .has-foreground-dark-background-color[class] {
-	background-color: var(--global--color-foreground-dark) !important;
+	background-color: var(--global--color-foreground-dark);
 	color: var(--global--color-background);
 }
 
 .has-tertiary-background-color[class] {
-	background-color: var(--global--color-tertiary) !important;
+	background-color: var(--global--color-tertiary);
 	color: var(--global--color-foreground);
 }
 
 .has-background-dark-background-color[class] {
-	background-color: var(--global--color-background-dark) !important;
+	background-color: var(--global--color-background-dark);
 	color: var(--global--color-foreground);
 }
 
 .has-background-background-color[class] {
-	background-color: var(--global--color-background) !important;
+	background-color: var(--global--color-background);
 	color: var(--global--color-foreground);
 }
 
 .has-white-background-color[class] {
-	background-color: var(--global--color-white) !important;
+	background-color: var(--global--color-white);
 	color: var(--global--color-secondary);
 }
 
 .has-black-background-color[class] {
-	background-color: var(--global--color-black) !important;
+	background-color: var(--global--color-black);
 	color: var(--global--color-primary);
 }
 
@@ -2834,6 +2838,120 @@ nav a {
 	}
 }
 
+.menu-button-container {
+	display: none;
+	justify-content: space-between;
+	left: 0;
+	position: absolute;
+	top: 0;
+	width: 100%;
+}
+
+.menu-button-container #primary-open-menu {
+	margin-left: auto;
+}
+
+@media only screen and (max-width: 481px) {
+	.menu-button-container {
+		display: flex;
+	}
+}
+
+.admin-bar:not(.primary-navigation-open) .menu-button-container {
+	top: 46px;
+}
+
+.menu-button-container .button,
+.primary-navigation .button,
+.woo-navigation .button {
+	background-color: transparent;
+	color: var(--primary-nav--color-link);
+	z-index: 500;
+}
+
+.menu-button-container .button.open,
+.primary-navigation .button.open,
+.woo-navigation .button.open {
+	display: flex;
+	z-index: 499;
+}
+
+.menu-button-container .button.close,
+.primary-navigation .button.close,
+.woo-navigation .button.close {
+	display: none;
+}
+
+.menu-button-container .button:hover,
+.primary-navigation .button:hover,
+.woo-navigation .button:hover {
+	color: var(--primary-nav--color-link-hover);
+}
+
+.menu-button-container .button#woo-open-menu .svg-icon,
+.primary-navigation .button#woo-open-menu .svg-icon,
+.woo-navigation .button#woo-open-menu .svg-icon {
+	margin-left: 0;
+	margin-right: calc(0.25 * var(--global--spacing-unit));
+	vertical-align: middle;
+}
+
+.menu-button-container .button .dropdown-icon,
+.primary-navigation .button .dropdown-icon,
+.woo-navigation .button .dropdown-icon {
+	display: flex;
+	align-items: center;
+}
+
+.menu-button-container .button .dropdown-icon .svg-icon,
+.primary-navigation .button .dropdown-icon .svg-icon,
+.woo-navigation .button .dropdown-icon .svg-icon {
+	margin-left: calc(0.25 * var(--global--spacing-unit));
+}
+
+.menu-button-container .button .dropdown-icon.open .svg-icon,
+.primary-navigation .button .dropdown-icon.open .svg-icon,
+.woo-navigation .button .dropdown-icon.open .svg-icon {
+	position: relative;
+	top: -1px;
+}
+
+.menu-button-container .button .hide-visually,
+.primary-navigation .button .hide-visually,
+.woo-navigation .button .hide-visually {
+	position: absolute !important;
+	clip: rect(1px, 1px, 1px, 1px);
+	padding: 0 !important;
+	border: 0 !important;
+	height: 1px !important;
+	width: 1px !important;
+	overflow: hidden;
+}
+
+.primary-navigation-open .menu-button-container #primary-open-menu, .primary-navigation-open
+.primary-navigation #primary-open-menu, .primary-navigation-open
+.woo-navigation #primary-open-menu {
+	display: none;
+}
+
+.primary-navigation-open .menu-button-container #primary-close-menu, .primary-navigation-open
+.primary-navigation #primary-close-menu, .primary-navigation-open
+.woo-navigation #primary-close-menu {
+	display: flex;
+}
+
+.woo-navigation-open .menu-button-container #woo-open-menu, .woo-navigation-open
+.primary-navigation #woo-open-menu, .woo-navigation-open
+.woo-navigation #woo-open-menu {
+	display: none;
+}
+
+.woo-navigation-open .menu-button-container #woo-close-menu, .woo-navigation-open
+.primary-navigation #woo-close-menu, .woo-navigation-open
+.woo-navigation #woo-close-menu {
+	display: flex;
+}
+
 .primary-navigation,
 .woo-navigation {
 	position: absolute;
@@ -2876,22 +2994,6 @@ nav a {
 	}
 }
 
-.primary-navigation > .button,
-.woo-navigation > .button {
-	position: absolute;
-	display: inline-block;
-	margin: 0;
-	right: 0;
-	top: 0;
-	background-color: transparent;
-	color: var(--primary-nav--color-link);
-}
-
-.primary-navigation > .button:hover,
-.woo-navigation > .button:hover {
-	color: var(--primary-nav--color-link-hover);
-}
-
 .primary-navigation-open .primary-navigation > .primary-menu-container, .primary-navigation-open
 .woo-navigation > .primary-menu-container {
 	visibility: visible;
@@ -2899,43 +3001,6 @@ nav a {
 	transform: translateY(0);
 }
 
-.primary-navigation-open .primary-navigation > #toggle-menu, .primary-navigation-open
-.woo-navigation > #toggle-menu {
-	z-index: 500;
-}
-
-.primary-navigation-open .primary-navigation > #toggle-menu .open, .primary-navigation-open
-.woo-navigation > #toggle-menu .open {
-	display: none;
-}
-
-.primary-navigation-open .primary-navigation > #toggle-menu .close, .primary-navigation-open
-.woo-navigation > #toggle-menu .close {
-	display: flex;
-}
-
-.primary-navigation .dropdown-icon,
-.woo-navigation .dropdown-icon {
-	display: flex;
-	align-items: center;
-}
-
-.primary-navigation .dropdown-icon .svg-icon,
-.woo-navigation .dropdown-icon .svg-icon {
-	margin-left: calc(0.25 * var(--global--spacing-unit));
-}
-
-.primary-navigation .dropdown-icon.open .svg-icon,
-.woo-navigation .dropdown-icon.open .svg-icon {
-	position: relative;
-	top: -1px;
-}
-
-.primary-navigation .dropdown-icon.close,
-.woo-navigation .dropdown-icon.close {
-	display: none;
-}
-
 .lock-scrolling .primary-navigation > .button, .lock-scrolling
 .woo-navigation > .button {
 	position: fixed;

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

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

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

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

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

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

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

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

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

@@ -4,8 +4,7 @@
  *
  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

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

@@ -2,8 +2,7 @@
 /**
  * Displays the footer widget area
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 

+ 1 - 2
seedlet/template-parts/header/entry-header.php

@@ -2,8 +2,7 @@
 /**
  * Displays the post header
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 ?>

+ 1 - 2
seedlet/template-parts/header/site-branding.php

@@ -2,8 +2,7 @@
 /**
  * Displays header site branding
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 ?>

+ 2 - 3
seedlet/template-parts/post/author-bio.php

@@ -2,15 +2,14 @@
 /**
  * The template for displaying Author info
  *
- * @package WordPress
- * @subpackage Seedlet
+ * @package Seedlet
  * @since 1.0.0
  */
 
 if ( (bool) get_the_author_meta( 'description' ) ) : ?>
 <div class="author-bio">
 	<?php
-	_e(__( 'Published by', 'seedlet' ));
+	_e( 'Published by', 'seedlet' );
 	?>
 	<h2 class="author-title">
 		<span class="author-heading">

+ 0 - 22
varia/inc/customize-message-wpcom.js

@@ -1,22 +0,0 @@
-/**
- * File customize-preview-wpcom.js.
- *
- * Instantly live-update customizer settings in the preview for improved user experience,
- * targeting the updates needed to hide the page title on the homepage on WordPress.com.
- */
-
-( function( $ ) {
-
-    'use strict';
-
-	wp.customize.bind( 'ready', function () {
-		wp.customize.panel( 'themes', function( panel ) {
-			panel.deferred.embedded.done( function() {
-				var customMessage;
-				customMessage = $( wp.template( 'varia-custom-message' )() );
-				panel.headContainer.append( customMessage );
-			} );
-		} );
-	} );
-
-} )( jQuery );

+ 6 - 2
varia/inc/wpcom.php

@@ -15,6 +15,11 @@
 function varia_wpcom_setup() {
 	global $themecolors;
 
+	// Disable automatically generated color palettes.
+	add_theme_support( 'wpcom-colors', array(
+	        'only-featured-palettes' => true,
+	) );	
+	
 	// Set theme colors for third party services.
 	if ( ! isset( $themecolors ) ) {
 		$themecolors = array(
@@ -149,10 +154,9 @@ function varia_wpcom_editor_scripts() {
 add_action( 'enqueue_block_editor_assets', 'varia_wpcom_editor_scripts' );
 
 /**
- * Enqueue CSS and JS for customizer pane.
+ * Enqueue CSS for customizer a11y warning.
  */
 function varia_enqueue_message_scripts() {
-	wp_enqueue_script( 'varia-customize-message-wpcom-script', get_template_directory_uri() . '/inc/customize-message-wpcom.js', array( 'customize-controls' ), wp_get_theme()->get( 'Version' ) );
 	wp_enqueue_style( 'varia-customize-message-wpcom-style', get_template_directory_uri() . '/inc/customize-message-wpcom.css', array(), wp_get_theme()->get( 'Version' ) );
 }
 add_action( 'customize_controls_enqueue_scripts', 'varia_enqueue_message_scripts' );

Some files were not shown because too many files changed in this diff