When using the following commands to create a subtheme from Vartheme with 'ltr' option, the theme is created under/relative to scripts directory instead of the site root directory:
cd PROJECT_DIR_NAME/docroot/profiles/varbase/scripts
bash ./create-new-vartheme.sh "THEME_NAME" "ltr" "sites/default/themes/custom"
On the other hand it works with the same commands with 'rtl' option:
cd PROJECT_DIR_NAME/docroot/profiles/varbase/scripts
bash ./create-new-vartheme.sh "THEME_NAME" "rtl" "sites/default/themes/custom"
Comments
Comment #2
omar alahmedComment #3
runzipel commentedThis works for me: https://github.com/Vardot/varbase/blob/8.x-4.x/scripts/README.md
To create a new theme in the themes/custom
By Composer:
cd PROJECT_DIR_NAME/docroot/profiles/varbase
composer create-new-vartheme "THEME_NAME" "ltr"
By Bash:
cd PROJECT_DIR_NAME/docroot/profiles/varbase/scripts
bash ./create-new-vartheme.sh "THEME_NAME" "ltr"
Comment #4
rajab natshahWe have updated the scripts/README.md file to work with
Vartheme , and Vartheme Material
https://github.com/Vardot/varbase/blob/8.x-4.x/scripts/README.md
Create new Vartheme sub theme for a project.
By Bash:
For right to left themes.
By Bash:
To create a new theme in the PROJECT_DIR_NAME/docroot/themes/custom
By Bash:
Create new Vartheme Material sub theme for a project.
By Bash:
For right to left themes.
By Bash:
To create a new theme in the PROJECT_DIR_NAME/docroot/themes/custom
By Bash:
Comment #5
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #9
rajab natshahComment #10
rajab natshahComment #12
rajab natshahComment #13
rajab natshah