瀏覽代碼

Rivington: Clean up table color-annotations

Allan Cole 5 年之前
父節點
當前提交
d9eb91cfd0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      rivington/inc/wpcom-colors.php

+ 2 - 0
rivington/inc/wpcom-colors.php

@@ -51,6 +51,8 @@ add_color_rule( 'bg', '#060f29', array(
 			.wp-block-file__button:focus,
 			.wp-block-file__button:hover,
 			.wp-block-pullquote.is-style-solid-color,
+			table.is-style-stripes tbody tr:nth-child(odd),
+			.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
 			.wp-block-cover-image:not([class="has-background-background-color"]) .wp-block-cover-image-text,
 			.wp-block-cover-image:not([class="has-background-background-color"]) .wp-block-cover-text,
 			.wp-block-cover-image:not([class="has-background-background-color"]) .wp-block-cover__inner-container,