- For this recipe, create a new custom theme named mytheme using Classy as a base theme. This way, you can reuse some existing styling. If you are unfamiliar with creating a base theme, refer to the Creating a custom theme based on Classy recipe of Chapter 5, Frontend for the Win.
- Using your terminal, navigate to your theme's directory. Run bower init to create a bower project:
$ bower init ? name mytheme ? description Example theme with Semantic UI ? main file ? what types of modules does this package expose? ? keywords ? authors Matt Glaman <firstname.lastname@example.org> ? license GPL ? homepage ? set currently installed components as dependencies? Yes ? would you like to mark this package as private which prevents it from being accidentally ...
Get Drupal 8 Development Cookbook - Second Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.