An app for creating and managing your front-end pattern library.
Dependecy
npm install -g bower
git clone https://github.com/stephenst/mural.git
npm install && bower install
gulp serve
gulp Mural
http://localhost:3000/mural/patterns/index.html
index.html
and add your own patternsThe meta information in these files go between lines with ---
Name: Title of the Pattern Section
hidecode: true|false (if you have HTML code showing the exmaple have it under the bottom --- and we'll seperate it out.)
Description: This is the body copy that will display.
Subsections within Description: (use markdown)
What - What the item is.
Use When - When do you implement it.
HTML Code goes below the meta information.
---
name: Alert success
hidecode: true
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 page level 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>