[wp-trac] [WordPress Trac] #56130: Twenty Twenty-One: Load different CSS for different WP versions, to be compatible with blocks

WordPress Trac noreply at wordpress.org
Fri Jul 15 01:36:35 UTC 2022


#56130: Twenty Twenty-One: Load different CSS for different WP versions, to be
compatible with blocks
---------------------------+------------------------------
 Reporter:  poena          |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  css
---------------------------+------------------------------

Comment (by poena):

 I will open a PR in the [https://github.com/WordPress/theme-experiments
 theme experiments repo] to try some things out.

 Perhaps a file structure without the minimum required version increase
 might look like

 {{{
 twentytwentyone\assets\sass\
    05-blocks
      audio
        _56.scss
        _58.scss
        _style.scss
 }}}

 The build process would need to change.

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


More information about the wp-trac mailing list