Add support for table block styles

This commit is contained in:
Tiago Noronha 2018-11-04 15:10:45 +00:00
parent 4b79a50ef4
commit b069a00d46

View file

@ -886,6 +886,10 @@ if ( ! class_exists( 'Storefront_Customizer' ) ) :
.wp-block-preformatted pre {
color: ' . $storefront_theme_mods['text_color'] . ';
}
.wp-block-table:not( .is-style-stripes ) tbody tr:nth-child(2n) td {
background-color: ' . storefront_adjust_color_brightness( $storefront_theme_mods['background_color'], -2 ) . ';
}
';
return apply_filters( 'storefront_gutenberg_customizer_css', $styles );