Prototype

Prototype is a component based starting point for a Drupal theme. The goal of Prototype is to provide a solid base for custom a Drupal theme development by establishing a pattern of well organized SCSS components and a front-end build pipeline that utilizes SCSS, PostCSS, Webpack for JS bundling, Babel and Browsersync.

Creating a starter theme

Navigate into the Prototype theme folder
Run ❯ php generator.php
Follow prompts as needed

Drupal 9 → 10 Upgrade paths

Updating to Drupal 10 has unique challenges, this covers known specific issues with this process.

Quickstart Guide - 4.x

Get started using Prototype with Components

Quickstart Guide - 5.x

Get started using Prototype with SDC

Updating between versions

As the 5.x version of Prototype is under active development sometimes the structure changes, this document tracks important changes.

Upgrade path for 2.x -> 4.x

Instructions on how to upgrade the Prototype theme from 2.x to 4.x

Guide maintainers

jldust's picture