[wp-trac] [WordPress Trac] #52129: Twenty Twenty-One: Striped background in table issue

WordPress Trac noreply at wordpress.org
Mon Dec 21 10:19:49 UTC 2020


#52129: Twenty Twenty-One: Striped background in table issue
---------------------------+---------------------------------
 Reporter:  celendesign    |       Owner:  audrasjb
     Type:  defect (bug)   |      Status:  accepted
 Priority:  normal         |   Milestone:  5.6.1
Component:  Bundled Theme  |     Version:  5.6
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  accessibility, css
---------------------------+---------------------------------

Comment (by poena):

 Hi!

 Because Twenty Twenty-One uses SCSS, we need to update the sass files and
 then compile them to create the different .css files.


 I found the same problem in the editor, so we need to update both

 https://github.com/WordPress/wordpress-develop/blob/master/src/wp-
 content/themes/twentytwentyone/assets/sass/05-blocks/table/_editor.scss

 and

 https://github.com/WordPress/wordpress-develop/blob/master/src/wp-
 content/themes/twentytwentyone/assets/sass/05-blocks/table/_style.scss

 Instead of using the dark grey color variable directly, we should use
 {{{--table--has-background-text-color}}}. This variable is also used when
 the block itself has a background color.

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


More information about the wp-trac mailing list