An app for creating and managing your front-end pattern library.
- Create patterns in Markdown files
- Browseable interface
- Free and open source
Dependecy
-
Bower
npm install -g bower
-
Clone the repository
git clone https://github.com/PebbleRoad/tapestry.git
-
Install NPM and bower packages
npm install && bower install
-
Launch the server
gulp patterns
---
name: Alert
description: |
### What
Page level information or service alert. Critical updates with a defined time period should be pushed using the alert box.
### Use when
For pagelevel critical updates.
---
<div class="ui-alert ui-alert--success">
<div class="alert__title">This is a success alert</div>
<div class="alert__body">More body text</div>
<a href="#" class="alert_close"></a>
</div>
- Patterns folder is watched by Gulp and JSON files are generated for each root pattern
- AngularJS uses these JSON documents to show a browseable interface of the patterns
- Inject your own CSS by editing
index.html
and add your own patterns
- Unit testing gulp plugins - gulp-tree and gulp-script-inject
- Unit testing of the Angular app