Table of Contents
Preface
Part 1 – Styling Drupal
1
Setting up a Local Environment
Technical requirements
Git
Docker
DDEV
Visual Studio Code
Installing the demo site
Cloning and building
Composer
Configuration management
Drush
Default Content
Yarn
Exploring the demo site
Fields
Paragraph types
Content types
Vocabulary
Blocks
Views
Menus
Disabling production optimization
Summary
2
Setting a New Theme and Build Process
Where to start
Core
Contributed open source themes
Commercial
Custom
Using a starterkit
Keeping things updated
Clearing the cache
Which tools to use
Tailwind CSS
PostCSS
webpack
Browsersync
BackstopJS
Ensuring coding standards
Stylelint
ESLint
PHPCS
Setting up a build process
Summary
3
How Drupal Renders an HTML Page
What is a template? ...
Get Modernizing Drupal 10 Theme Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.