Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Pattern #3

Open
haydn opened this issue Oct 15, 2012 · 2 comments
Open

Pattern #3

haydn opened this issue Oct 15, 2012 · 2 comments
Labels

Comments

@haydn
Copy link
Contributor

haydn commented Oct 15, 2012

A tool for sharing common HTML/CSS/JS patterns.

$ pattern list
carousel
overlay
pinned-footer
$ pattern demo carousel
# opens a demo of the pattern in the browser
$ pattern open carousel
# opens the pattern in the finder
$ pattern save carousel
# saves any changes you've made to the pattern and pushes it
$ pattern create facebook
# creates a new pattern & opens it in the finder
$ pattern update
# pulls the latest patterns

Behind the scenes there's just a git repo something like this:

 |- carousel
 |   |- demo.html
 |   `- source
 |       |- example-a.html
 |       |- javascripts
 |       |   `- carousel.js
 |       `- stylesheets
 |           `- carousel.css
 |- overlay
 |   `- etc.
 `- pinned-footer
     `- etc.
@jsidoryn
Copy link

Looks good. How are you thinking to include it in a project. Just copy the files after opening it in the finder?

@haydn
Copy link
Contributor Author

haydn commented Oct 15, 2012

@jsidoryn Yeah, that's all I'm thinking for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants