mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-20 04:00:29 +08:00
Dynamic colors for cover block headings
This commit is contained in:
parent
cc25985ba5
commit
d72ab2d744
2 changed files with 9 additions and 1 deletions
|
@ -342,7 +342,6 @@
|
|||
padding: 0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
|
|
@ -894,6 +894,15 @@ if ( ! class_exists( 'Storefront_Customizer' ) ) :
|
|||
.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 ) . ';
|
||||
}
|
||||
|
||||
.wp-block-cover .wp-block-cover__inner-container h1,
|
||||
.wp-block-cover .wp-block-cover__inner-container h2,
|
||||
.wp-block-cover .wp-block-cover__inner-container h3,
|
||||
.wp-block-cover .wp-block-cover__inner-container h4,
|
||||
.wp-block-cover .wp-block-cover__inner-container h5,
|
||||
.wp-block-cover .wp-block-cover__inner-container h6 {
|
||||
color: ' . $storefront_theme_mods['hero_text_color'] . ';
|
||||
}
|
||||
';
|
||||
|
||||
return apply_filters( 'storefront_gutenberg_customizer_css', $styles );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue