Skip to content

Commit

Permalink
fix: make sure custom colours don't override newsletter modern style (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored Jan 20, 2025
1 parent f4ddc76 commit 651b875
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions newspack-theme/sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,17 @@ p.has-background {
}
}

//! Newspack Newlsetter Subscription Block
.wp-block-newspack-newsletters-subscribe {
// Make sure custom colors don't override the color that should be used for the modern style.
&.is-style-modern input[type="checkbox"]::before {
background:
transparent
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z' fill='white' %3E%3C/path%3E%3C/svg%3E")
0 0 no-repeat;
}
}

//! Columns
.wp-block-columns {
.wp-block-cover,
Expand Down

0 comments on commit 651b875

Please sign in to comment.