Skip to content

reubenwalker64/Modernizing-Drupal-10-Theme-Development

 
 

Repository files navigation

Modernizing Drupal 10 Theme Development

This is the code repository for Modernizing Drupal 10 Theme Development, published by Packt.

Build responsive and faster Drupal websites with custom theme design to deliver a rich user experience

What is this book about?

Working with themes in Drupal can be challenging, given the number of layers and APIs involved. Modernizing Drupal 10 Theme Development helps you explore the new Drupal 10’s theme layer in depth.

What you will learn:

  • Map design systems made by Storybook components to Drupal structures
  • Understand and use render arrays and Twig templates
  • Get familiarized with the new Single Directory Component feature introduced in Drupal 10.1
  • Define, import, and use CSS and JavaScript libraries
  • Discover how to style content created with fields and paragraphs
  • Define, place, customize, and style blocks
  • Explore advanced topics like extending Twig, making a theme configurable, and boosting performance and accessibility
  • Find out how to build a decoupled website using json:api and Next.js

If you feel this book is for you, get your copy today!

Instructions and Navigations

On this repository you will find two branches: main and final. The main branch contains the Drupal website that you have to style, along with the design system made with Storybook. The final branch contains the final result of the website, with all the styles applied.

The HOW-TO.md contains instructions on how to start the stack and build the website, and a set of useful commands.

Errata corrige

We've put a lot of effort into making sure that the code in this book is correct, but we're only human.

If you find an error in the book, please submit an issue to www.packtpub.com/support/errata.
If you find an error in the code, please fork this repository and submit a pull request.

All fixes will be published here.

Related products

Get to Know the Author

Luca Lusso is a Drupal developer with more than 15 years of experience; he started with Drupal 5 and PHP 5 in an era where deployments with FTP were still a thing. Since then, he worked as a consultant and contributed to building some of the biggest Drupal websites in Italy. Luca is also a teacher, and he has taught Drupal to many different teams, from universities to big system integrators. Luca is an open-source lover and Drupal contributor; he maintains popular modules like WebProfiler and Monolog. He’s also a speaker at conferences like DrupalCon Europe and Drupal Developer Days. Lately, he has shifted his interest toward front-end performances. Luca holds a master’s degree in Computer Science, and he’s an Acquia-certified developer.

About

Designing Modern Drupal Themes, Published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 46.2%
  • JavaScript 32.2%
  • Twig 12.7%
  • TypeScript 5.9%
  • HTML 1.6%
  • Shell 1.1%
  • CSS 0.3%