Comment on page
CivicTheme provides a starter theme and a script to generate a child theme for you to get started with.
Run the following command from within
php civictheme_create_subtheme.php <theme_machine_name> "Human theme name" "Human theme description" /path/to/theme_machine_name
This will generate a sub-theme in
path/to/theme_machine_nametheme directory with everything ready to be installed and compiled.
Enable the theme in UI or with Drush:
drush theme:enable theme_machine_name
Run the following command from within your sub-theme directory:
npm run build
NodeJS version >=18.14 is required to compile front-end assets.