Where we use 'create-new-vartheme-bs4' script to create sub-theme, the script does not create a {theme}-rtl.base (scss, css) files
put the theme already request the file in the theme libraries.yml
The missing file make a console error when switching to the (rtl) language

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Firass Ziedan created an issue. See original summary.

firass.ziedan’s picture

Status: Active » Needs work
firass.ziedan’s picture

Status: Needs work » Needs review
FileSize
1.25 KB
Rajab Natshah’s picture

Thank you Firass for reporting and patching the script

We may need to fix this in the Theme Generator script file too
https://www.drupal.org/project/vartheme_bs4

Have you used the theme generator script?
https://git.drupalcode.org/project/vartheme_bs4/tree/8.x-6.x/scripts

Rajab Natshah’s picture

Title: create-new-vartheme-bs4 script not create {theme}-rtl base file » Fix create-new-vartheme-bs4 script not create {theme}-rtl base file
Rajab Natshah’s picture

Title: Fix create-new-vartheme-bs4 script not create {theme}-rtl base file » Fix RTL generation increate-new-vartheme-bs4 script not create {theme}-rtl base file
Rajab Natshah’s picture

Title: Fix RTL generation increate-new-vartheme-bs4 script not create {theme}-rtl base file » Fix RTL generation in create-new-vartheme-bs4 script not create {theme}-rtl base file

Rajab Natshah’s picture

Assigned: Unassigned » Mohammed J. Razem
Issue tags: +varbase-8.7.1

Committed ... Thank you :)

Rajab Natshah’s picture

Assigned: Mohammed J. Razem » Unassigned
Rajab Natshah’s picture

Status: Needs review » Fixed
Issue tags: -varbase-8.7.1 +varbase-8.7.2

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.