[wp-trac] [WordPress Trac] #57544: Twenty Twenty: Incorrect Colour in editor for Separator Block

WordPress Trac noreply at wordpress.org
Thu Jan 26 14:13:59 UTC 2023


#57544: Twenty Twenty: Incorrect Colour in editor for Separator Block
-----------------------------------------+------------------------------
 Reporter:  bhaveshdesai13               |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Bundled Theme                |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-screenshots needs-patch  |     Focuses:
-----------------------------------------+------------------------------

Comment (by miguelaxcar):

 Thanks @bhaveshdesai13 , I managed to reproduce the issue on WP 6.1.1.

 I tried fixing locally but it looks like lift heavier than expected, as
 the CSS has a different format on `twenty-twenty` theme compared to
 `twenty-twenty-one` theme, for instance.

 On `twenty-twenty-one` theme the CSS uses variables for colors, what would
 be good adding to `twenty-twenty` theme IMHO, and also, the selectors are
 different for applying the proper properties to `.has-COLORNAME-color` and
 `.has-COLORNAME-background-color`.

 I'm not the most experienced frontend WP engineers, so let's wait for more
 seasoned fellows chiming in.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57544#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list