Code Monkey home page Code Monkey logo

shila-drupal-theme's Introduction

Shila theme for Drupal 8

An atomic design and Pattern Lab friendly starting point for new Drupal 8 themes. Can be used stand-alone with Pattern Lab. Can be used as a Pattern Lab StarterKit as well.

Shila theme is based on pattern-lab-project and uses shila-css.

Please note that theme-specific CSS files are not committed to the repository. They can be generated after installing development dependencies.

Installing development dependencies

Prerequisites: npm installed.

In the Shila theme root directory run:

npm install

Generating theme-specific CSS files

In the Shila theme root directory run:

gulp sass

Integrating with Drupal

Required: Component Libraries module

Install and enable the Component Libraries module. No configuration is needed.

Optional: UI Patterns module

Install and enable the UI Patterns module. Some components have a ui_patterns.yml definition file, which enables them to be used with UI Patterns.

Integrating with Pattern Lab

Prerequisites: npm and Composer installed.

In the Shila theme root directory run:

npm run install-pattern-lab

This will download Pattern Lab, make required configuration changes and generate the Pattern Lab website. The command will not do anything if a pattern-lab directory already exists.

shila-drupal-theme's People

Contributors

aleksip avatar kurowski avatar

Watchers

Julien Dubreuil avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.