Skip to content

Commit

Permalink
Fix Twenty Nineteen custom primary and secondary border color styles …
Browse files Browse the repository at this point in the history
…for nested blocks
  • Loading branch information
adamwoodnz committed Feb 23, 2023
1 parent cf3c9a9 commit 3f42dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentynineteen/inc/color-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function twentynineteen_custom_colors_css() {
.entry .entry-content blockquote,
.entry .entry-content .wp-block-quote:not(.is-large),
.entry .entry-content .wp-block-quote:not(.is-style-large),
.entry .entry-content > *[class^="wp-block-"].has-primary-border-color,
.entry .entry-content *[class^="wp-block-"].has-primary-border-color,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
Expand All @@ -164,7 +164,7 @@ function twentynineteen_custom_colors_css() {
/*
* - Blocks (secondary border color)
*/
.entry .entry-content > *[class^="wp-block-"].has-secondary-border-color {
.entry .entry-content *[class^="wp-block-"].has-secondary-border-color {
border-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness_reduced . ' ); /* base: #005177; */
}
Expand Down

0 comments on commit 3f42dec

Please sign in to comment.