diff --git a/scripts/README.md b/scripts/README.md index 528ba7b40a7d2170cd30b80d5c7b77f6074d2bde..a8815a7e1903792446f19a51f161921901022c79 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -1,13 +1,13 @@ # Varbase Scripts -## Vartheme BS4 Scripts +## Vartheme BS5 Scripts ### Quick tip on how to use this script command file. Default settings could be changed in scripts.settings.yml -# Create a Vartheme BS4 sub theme ( Bootstrap 4 ) SASS +# Create a Vartheme BS5 sub theme ( Bootstrap 4 ) SASS Before we generate the new sub theme we need to have the following tools * 1. npm and nodejs : Helps getting the bootstrap 4 and popper packages. @@ -41,13 +41,13 @@ After we make sure that we do have all the tools we could change directory in the terminal to: ``` -$ cd PROJECT_DIR_NAME/docroot/themes/contrib/vartheme_bs4/scripts -$ bash ./create-new-vartheme-bs4.sh "THEME_NAME" +$ cd PROJECT_DIR_NAME/docroot/themes/contrib/vartheme_bs5/scripts +$ bash ./create-new-vartheme-bs5.sh "THEME_NAME" ``` We can use ``` -$ cd PROJECT_DIR_NAME/docroot/themes/contrib/vartheme_bs4 +$ cd PROJECT_DIR_NAME/docroot/themes/contrib/vartheme_bs5 yarn theme:create-sub-theme "THEME_NAME" `` diff --git a/varbase.profile b/varbase.profile index 7d795f7ebb3cf8ccaf4aed3535e097a3c015b700..2c995ebb67341f402a1d0746dbadc4a8f11a79e9 100644 --- a/varbase.profile +++ b/varbase.profile @@ -554,10 +554,10 @@ function varbase_after_install_finished(array &$install_state) { // Import managed config to the active config at this time of install. $profile_path_managed = drupal_get_path('profile', 'varbase') . '/config/managed/'; - $managed_config_path = $profile_path_managed . 'block.block.vartheme_bs4_copyright.yml'; + $managed_config_path = $profile_path_managed . 'block.block.vartheme_bs5_copyright.yml'; $managed_config_content = file_get_contents($managed_config_path); $managed_config_data = (array) Yaml::parse($managed_config_content); - $managed_config_factory = \Drupal::configFactory()->getEditable('block.block.vartheme_bs4_copyright'); + $managed_config_factory = \Drupal::configFactory()->getEditable('block.block.vartheme_bs5_copyright'); $managed_config_factory->setData($managed_config_data)->save(TRUE); // Entity updates to clear up any mismatched entity and/or field definitions