Browse Source

bromptom color annotations

Maggie Cabrera 4 years ago
parent
commit
2dee4048b8
2 changed files with 10 additions and 0 deletions
  1. 6 0
      brompton/inc/wpcom-colors.php
  2. 4 0
      brompton/inc/wpcom-editor-colors.php

+ 6 - 0
brompton/inc/wpcom-colors.php

@@ -58,6 +58,9 @@ add_color_rule(
 			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,
+			.wp-block-search .wp-block-search__button,
+			.wp-block-search .wp-block-search__button:focus,
+			.wp-block-search .wp-block-search__button:hover,
 			button,
 			button.has-focus,
 			button:focus,
@@ -222,6 +225,8 @@ add_color_rule(
 			.has-focus.wp-block-button__link,
 			.has-focus.wp-block-file__button,
 			.sticky-post,
+			.wp-block-search .wp-block-search__button:focus,
+			.wp-block-search .wp-block-search__button:hover,
 			.wp-block-button__link:focus,
 			.wp-block-button__link:hover,
 			.wp-block-file__button:focus,
@@ -377,6 +382,7 @@ add_color_rule(
 			#masthead:after,
 			.a8c-posts-list__view-all,
 			.button,
+			.wp-block-search .wp-block-search__button,
 			.wp-block-button__link,
 			.wp-block-cover,
 			.wp-block-cover-image,

+ 4 - 0
brompton/inc/wpcom-editor-colors.php

@@ -32,6 +32,7 @@ add_editor_color_rule( 'bg', '#E8E4DD', array(
 			#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-search .wp-block-search__button,
 			#editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color', 'color' ),
 
 	// Color
@@ -98,6 +99,8 @@ add_editor_color_rule( 'link', '#C04239', array(
 			#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-search .wp-block-search__button:focus,
+			#editor .editor-styles-wrapper .wp-block-search .wp-block-search__button:hover,
 			#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,
@@ -164,6 +167,7 @@ add_editor_color_rule( 'txt', '#252E36', array(
 	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,
+			#editor .editor-styles-wrapper .wp-block-search .wp-block-search__button,
 			#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,