[wp-trac] [WordPress Trac] #53531: Twentytwentyone: Duotone on images not applied in dark mode

WordPress Trac noreply at wordpress.org
Sun Jun 27 18:34:02 UTC 2021


#53531: Twentytwentyone: Duotone on images not applied in dark mode
--------------------------+-----------------------------
 Reporter:  walbo         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Twentytwenty one adds a filter to reduced the brightness and contrast on
 images to make them easier on the eyes. See https://github.com/WordPress
 /twentytwentyone-dark-mode/issues/17

 The issue is that this filter overwrites the filter used to add duotone.

 Steps to recreate:
 1. Create a page and add a image with duotone.
 2. Visit the page frontend with dark mode enabled. Toggle to lightmode and
 the duodone shows.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53531>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list