You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Activate the Twenty Twenty-Two (Mint) theme on the site, and add an image or gallery block to any page or post. None of the other flavors of Twenty Twenty-Two seem to be affected.
So the default duotone filter is being applied to all img elements whose parent belongs to the wp-block-image class – which, as far as I know, is pretty much ALL images on a WP site.
You can add a different Duotone filter, and it will display properly, but if cleared, it will return to the black and white default
Adding a custom Duotone filter results in the following:
Steps to replicate
Activate the Twenty Twenty-Two (Mint) theme on the site, and add an image or gallery block to any page or post. None of the other flavors of Twenty Twenty-Two seem to be affected.
https://d.pr/i/KWKD1X
Result
All images display with a Black and White duotone filter. Hitting "clear" from the Duotone button on the block toolbar does nothing.
Checking in dev tools, I can see the following from the theme's CSS:
So the default duotone filter is being applied to all
img
elements whose parent belongs to thewp-block-image
class – which, as far as I know, is pretty much ALL images on a WP site.You can add a different Duotone filter, and it will display properly, but if cleared, it will return to the black and white default
Adding a custom Duotone filter results in the following:
So I think the first rule just needs to be deleted entirely? Or at least made overridable by the user, somehow.
Expected
The pictures should be shown in full color.
The text was updated successfully, but these errors were encountered: