Skip to content

drupal-pattern-lab/simple_theme

Repository files navigation

Simple Theme for Drupal with Pattern Lab

Prerequisites

  • Node v6+
  • Php v5.4+
  • composer installed

Setup

npm install

Please ensure the Drupal module Component Libraries is installed.

Commands

Compile everything, kick off file watches, and then a local server:

npm start

Compile everything:

npm run compile

Test everything:

npm test

Note: tests must be enabled, and most are off by default

Orientation

  • pattern-lab/
    • source/
      • _patterns/ - Everything shown in Pattern Lab: contains Atoms, Molecules, etc folders.
      • _data/ - Global data available to Pattern Lab
  • templates/ - Drupal template files that can include stuff from the above _patterns/ folder

About

A Simple Drupal Theme to demo Pattern Lab integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published