[wp-trac] [WordPress Trac] #52293: Twenty Twenty-One: fix leftover rtlcss call in build script

WordPress Trac noreply at wordpress.org
Thu Jan 14 09:28:35 UTC 2021


#52293: Twenty Twenty-One: fix leftover rtlcss call in build script
--------------------------+-----------------------------
 Reporter:  yoavf         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  lowest        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:
 Severity:  trivial       |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 The `build:rtl` script for Twenty Twenty-One has `style-dark-mode.css`
 param. This is probably a leftover as that file is now in `assets/css/`
 and has its own rtl build script `build:dark-rtl`.

 While rtlcss doesn't output an error, you can see that only style.css is
 processed when calling `npm run build:rtl`

 {{{
 > twentytwentyone at 1.1.0 build:rtl ~/wordpress-develop/src/wp-
 content/themes/twentytwentyone
 > rtlcss style.css style-rtl.css style-dark-mode.css style-dark-mode-
 rtl.css

 Saving: ~/wordpress-develop/src/wp-> content/themes/twentytwentyone/style-
 rtl.css
 }}}

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


More information about the wp-trac mailing list