Script for creating a bootstrap sub-theme.

Created on 22 January 2019, over 5 years ago
Updated 16 April 2024, 2 months ago

I tested and changed a bit the bash script that is in the documentation for the sub-theming and I was thinking why should we not
create a scripts folder in the bootstrap_barrio theme with a little script that is doing exactly this by first asking you for the theme name and for the theme machine name.

I will post my patch in the next comment.

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Documentation

Created by

πŸ‡©πŸ‡ͺGermany Nikolay Borisov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom 2dareis2do

    In this change we have

    rep -Rl bootstrap_barrio_subtheme .|xargs sed -i '' -e "s/bootstrap_barrio_subtheme/$CUSTOM_BARRIO/"

    and

    sed -i '' -e "s/Bootstrap Barrio Subtheme/$CUSTOM_BARRIO_NAME/" $CUSTOM_BARRIO.info.yml

    however in boostrap_sass we currently have:

    grep -Rl bootstrap_sass .|xargs sed -i '' -e "s/bootstrap_sass/$CUSTOM_BOOTSTRAP_SASS/"
    

    and

    sed -i '' -e "s/SASS Bootstrap Sttest2arter Kit Subtheme/$CUSTOM_BOOTSTRAP_SASS_NAME/" $CUSTOM_BOOTSTRAP_SASS.info.yml
    

    notice the absence of the quotation marks. Why have these been removed? Doing so seems to result in the creation of files with the -e suffix

Production build 0.69.0 2024