mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-21 04:11:59 +08:00
Add support for table block styles
This commit is contained in:
parent
4b79a50ef4
commit
b069a00d46
1 changed files with 4 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue