-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
These are initial testing comments based on the new emulsify_tools and the new emulsify_drupal base theme.
Here's what I did to install things:
- Clean Drupal site with no theming. No Sous.
- Inside the
web/themes/contribdirectory, cloned down theemulsify-drupalbase theme and switched to the branchrelease-base-theme - Inside the
web/modules/contrib, cloned down the newemulsify_toolsmodule. - Enabled the
emulsify_toolsmodule - From root, ran
drush emulsify atrusand got a new theme underweb/themes/custom/atrus - Attempted to install the UI kit by running the following from within the theme directory:
emulsify system install uikit,emulsify system-install emulsify-ui-kit. Neither of these worked. I received the error:ERROR Unable to download specified system. You must either specify a valid name of an out-of-the-box system using the --name flag, or specify a valid repository and branch/tag/commit using the --repository and --checkout flags.That is a different issue, I'm sure. - So, instead, I installed UI kit this way:
emulsify system install --repository https://github.com/emulsify-ds/emulsify-ui-kit.git --checkout mainIt installed without errors, but there were no components under thecomponentsdirectory so things did not work. - Lastly, I created a totally new theme from step 5 and called it
yeesha - Then, installed compound via
emulsify system install compoundand that worked fine. - Then ran
npm installandnpm run buildfrom within the theme directory. - Marked this new theme as default. Cleared cache.
- The CSS was not loading. Checking
yeesha.info.ymlI noticed that thelibrarieswas attempting to load- emulsify/globalwhich is not correct. This should be changed toyeesha/base. Once I changed that and cleared cache, the styles loaded fine. - Finally, I have some small edits to the Drush command (mainly some linting fixes as well as adding a dependency injection.) Which I will put into a PR.
Overall things look good with the exception of the libraries and UI kit issues.