├── .gitignore
├── 404.html
├── CNAME
├── Gemfile
├── Gemfile.lock
├── README.md
├── _config.yml
├── _includes
├── alert.html
├── docs-nav-advanced.html
├── docs-nav-data.html
├── docs-nav-patterns.html
├── docs-nav-start.html
├── docs-navigation.html
├── download-node.html
├── download-php.html
├── footer.html
└── header.html
├── _layouts
├── default.html
├── docs.html
├── home.html
├── list.html
├── post.html
└── simple.html
├── _posts
├── 2018-11-01-test.md
└── 2018-11-02-test2.md
├── assets
├── _design
│ ├── atomic-icons.ai
│ ├── atomic-icons.psd
│ ├── avatars.psd
│ ├── icon-molecule.svg
│ └── uncle-dave.psd
├── atomic-design.mp4
├── atomic-design.png
├── atomic-design.svg
├── atoms-scales.png
├── avatar.png
├── bg-organism-pattern.svg
├── emptycaret.svg
├── fonts
│ ├── icons.eot
│ ├── icons.svg
│ ├── icons.ttf
│ └── icons.woff
├── footer-after.svg
├── footer-before.svg
├── guts-after.svg
├── icon-atom-dark.svg
├── icon-atom-header.svg
├── icon-atom.svg
├── icon-molecule-footer.svg
├── icon-molecule.svg
├── icon-organism-footer.svg
├── icon-organism.svg
├── icon-page-footer.svg
├── icon-page.svg
├── icon-template-footer.svg
├── icon-template.svg
├── img_brad.jpg
├── img_brian.jpg
├── img_dave.jpg
├── img_octocat.jpg
├── organisms-scales.png
├── pattern-lab-2-image_18-large-opt.png
└── scales.jpg
├── blog-index.html
├── contribute.md
├── css
├── prism.css
└── style.scss
├── demos.md
├── docs
├── advanced-auto-regenerate.md
├── advanced-clean-public.md
├── advanced-config-options.md
├── advanced-ecosystem-overview.md
├── advanced-exporting-patterns.md
├── advanced-generating-css.md
├── advanced-integration-with-compass.md
├── advanced-integration-with-grunt.md
├── advanced-keyboard-shortcuts.md
├── advanced-page-follow.md
├── advanced-pattern-lab-nav.md
├── advanced-reload-browser.md
├── advanced-starterkits.md
├── advanced-template-language-and-pattern-engines.md
├── changes-1-to-2.md
├── command-line.md
├── command-prompt-windows.md
├── data-json-mustache.md
├── data-link-variable.md
├── data-listitems.md
├── data-overview.md
├── data-pattern-specific.md
├── editing-source-files.md
├── generating-pattern-lab.md
├── index.html
├── installation.md
├── pattern-add-new.md
├── pattern-adding-annotations.md
├── pattern-converting.md
├── pattern-documenting.md
├── pattern-header-footer.md
├── pattern-hiding.md
├── pattern-including.md
├── pattern-linking.md
├── pattern-managing-assets.md
├── pattern-mobile-view.md
├── pattern-organization.md
├── pattern-parameters.md
├── pattern-pseudo-patterns.md
├── pattern-reorganizing.md
├── pattern-states.md
├── pattern-stylemodifier.md
├── php
│ ├── advanced-auto-regenerate.md
│ ├── advanced-clean-public.md
│ ├── advanced-config-options.md
│ ├── advanced-exporting-patterns.md
│ ├── advanced-page-follow.md
│ ├── advanced-pattern-lab-nav.md
│ ├── advanced-reload-browser.md
│ ├── advanced-starterkits.md
│ ├── changes-1-to-2.md
│ ├── command-line.md
│ ├── generating-pattern-lab.md
│ ├── index.html
│ ├── installation.md
│ ├── pattern-managing-assets.md
│ ├── pattern-states.md
│ ├── requirements.md
│ ├── upgrading.md
│ └── viewing-patterns.html
├── requirements.md
├── upgrading.md
└── viewing-patterns.html
├── download.html
├── favicon.ico
├── index.html
├── js
├── init.js
├── nav.js
├── pattern-engines.js
├── prism.js
└── zepto.js
├── resources.html
└── roadmap.md
/.gitignore:
--------------------------------------------------------------------------------
1 | /.DS_Store
2 | .sass-cache
3 | .DS_Store
4 | /_site
5 | /.vscode
6 |
--------------------------------------------------------------------------------
/404.html:
--------------------------------------------------------------------------------
1 | ---
2 | permalink: /404.html
3 | layout: default
4 | title: Pattern Lab | Page Not Found
5 | ---
6 |
7 |
8 | Whoops! Page Not Found
9 |
10 |
19 |
--------------------------------------------------------------------------------
/CNAME:
--------------------------------------------------------------------------------
1 | patternlab.io
2 |
--------------------------------------------------------------------------------
/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 |
3 | gem 'github-pages'
--------------------------------------------------------------------------------
/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | activesupport (4.2.9)
5 | i18n (~> 0.7)
6 | minitest (~> 5.1)
7 | thread_safe (~> 0.3, >= 0.3.4)
8 | tzinfo (~> 1.1)
9 | addressable (2.5.2)
10 | public_suffix (>= 2.0.2, < 4.0)
11 | coffee-script (2.4.1)
12 | coffee-script-source
13 | execjs
14 | coffee-script-source (1.11.1)
15 | colorator (1.1.0)
16 | concurrent-ruby (1.0.5)
17 | ethon (0.11.0)
18 | ffi (>= 1.3.0)
19 | execjs (2.7.0)
20 | faraday (0.13.1)
21 | multipart-post (>= 1.2, < 3)
22 | ffi (1.9.18)
23 | ffi (1.9.18-x64-mingw32)
24 | forwardable-extended (2.6.0)
25 | gemoji (3.0.0)
26 | github-pages (168)
27 | activesupport (= 4.2.9)
28 | github-pages-health-check (= 1.3.5)
29 | jekyll (= 3.6.2)
30 | jekyll-avatar (= 0.5.0)
31 | jekyll-coffeescript (= 1.0.2)
32 | jekyll-default-layout (= 0.1.4)
33 | jekyll-feed (= 0.9.2)
34 | jekyll-gist (= 1.4.1)
35 | jekyll-github-metadata (= 2.9.3)
36 | jekyll-mentions (= 1.2.0)
37 | jekyll-optional-front-matter (= 0.2.0)
38 | jekyll-paginate (= 1.1.0)
39 | jekyll-readme-index (= 0.1.0)
40 | jekyll-redirect-from (= 0.12.1)
41 | jekyll-relative-links (= 0.5.1)
42 | jekyll-sass-converter (= 1.5.0)
43 | jekyll-seo-tag (= 2.3.0)
44 | jekyll-sitemap (= 1.1.1)
45 | jekyll-swiss (= 0.4.0)
46 | jekyll-theme-architect (= 0.1.0)
47 | jekyll-theme-cayman (= 0.1.0)
48 | jekyll-theme-dinky (= 0.1.0)
49 | jekyll-theme-hacker (= 0.1.0)
50 | jekyll-theme-leap-day (= 0.1.0)
51 | jekyll-theme-merlot (= 0.1.0)
52 | jekyll-theme-midnight (= 0.1.0)
53 | jekyll-theme-minimal (= 0.1.0)
54 | jekyll-theme-modernist (= 0.1.0)
55 | jekyll-theme-primer (= 0.5.2)
56 | jekyll-theme-slate (= 0.1.0)
57 | jekyll-theme-tactile (= 0.1.0)
58 | jekyll-theme-time-machine (= 0.1.0)
59 | jekyll-titles-from-headings (= 0.4.0)
60 | jemoji (= 0.8.1)
61 | kramdown (= 1.14.0)
62 | liquid (= 4.0.0)
63 | listen (= 3.0.6)
64 | mercenary (~> 0.3)
65 | minima (= 2.1.1)
66 | rouge (= 2.2.1)
67 | terminal-table (~> 1.4)
68 | github-pages-health-check (1.3.5)
69 | addressable (~> 2.3)
70 | net-dns (~> 0.8)
71 | octokit (~> 4.0)
72 | public_suffix (~> 2.0)
73 | typhoeus (~> 0.7)
74 | html-pipeline (2.7.1)
75 | activesupport (>= 2)
76 | nokogiri (>= 1.4)
77 | i18n (0.9.1)
78 | concurrent-ruby (~> 1.0)
79 | jekyll (3.6.2)
80 | addressable (~> 2.4)
81 | colorator (~> 1.0)
82 | jekyll-sass-converter (~> 1.0)
83 | jekyll-watch (~> 1.1)
84 | kramdown (~> 1.14)
85 | liquid (~> 4.0)
86 | mercenary (~> 0.3.3)
87 | pathutil (~> 0.9)
88 | rouge (>= 1.7, < 3)
89 | safe_yaml (~> 1.0)
90 | jekyll-avatar (0.5.0)
91 | jekyll (~> 3.0)
92 | jekyll-coffeescript (1.0.2)
93 | coffee-script (~> 2.2)
94 | coffee-script-source (~> 1.11.1)
95 | jekyll-default-layout (0.1.4)
96 | jekyll (~> 3.0)
97 | jekyll-feed (0.9.2)
98 | jekyll (~> 3.3)
99 | jekyll-gist (1.4.1)
100 | octokit (~> 4.2)
101 | jekyll-github-metadata (2.9.3)
102 | jekyll (~> 3.1)
103 | octokit (~> 4.0, != 4.4.0)
104 | jekyll-mentions (1.2.0)
105 | activesupport (~> 4.0)
106 | html-pipeline (~> 2.3)
107 | jekyll (~> 3.0)
108 | jekyll-optional-front-matter (0.2.0)
109 | jekyll (~> 3.0)
110 | jekyll-paginate (1.1.0)
111 | jekyll-readme-index (0.1.0)
112 | jekyll (~> 3.0)
113 | jekyll-redirect-from (0.12.1)
114 | jekyll (~> 3.3)
115 | jekyll-relative-links (0.5.1)
116 | jekyll (~> 3.3)
117 | jekyll-sass-converter (1.5.0)
118 | sass (~> 3.4)
119 | jekyll-seo-tag (2.3.0)
120 | jekyll (~> 3.3)
121 | jekyll-sitemap (1.1.1)
122 | jekyll (~> 3.3)
123 | jekyll-swiss (0.4.0)
124 | jekyll-theme-architect (0.1.0)
125 | jekyll (~> 3.5)
126 | jekyll-seo-tag (~> 2.0)
127 | jekyll-theme-cayman (0.1.0)
128 | jekyll (~> 3.5)
129 | jekyll-seo-tag (~> 2.0)
130 | jekyll-theme-dinky (0.1.0)
131 | jekyll (~> 3.5)
132 | jekyll-seo-tag (~> 2.0)
133 | jekyll-theme-hacker (0.1.0)
134 | jekyll (~> 3.5)
135 | jekyll-seo-tag (~> 2.0)
136 | jekyll-theme-leap-day (0.1.0)
137 | jekyll (~> 3.5)
138 | jekyll-seo-tag (~> 2.0)
139 | jekyll-theme-merlot (0.1.0)
140 | jekyll (~> 3.5)
141 | jekyll-seo-tag (~> 2.0)
142 | jekyll-theme-midnight (0.1.0)
143 | jekyll (~> 3.5)
144 | jekyll-seo-tag (~> 2.0)
145 | jekyll-theme-minimal (0.1.0)
146 | jekyll (~> 3.5)
147 | jekyll-seo-tag (~> 2.0)
148 | jekyll-theme-modernist (0.1.0)
149 | jekyll (~> 3.5)
150 | jekyll-seo-tag (~> 2.0)
151 | jekyll-theme-primer (0.5.2)
152 | jekyll (~> 3.5)
153 | jekyll-github-metadata (~> 2.9)
154 | jekyll-seo-tag (~> 2.2)
155 | jekyll-theme-slate (0.1.0)
156 | jekyll (~> 3.5)
157 | jekyll-seo-tag (~> 2.0)
158 | jekyll-theme-tactile (0.1.0)
159 | jekyll (~> 3.5)
160 | jekyll-seo-tag (~> 2.0)
161 | jekyll-theme-time-machine (0.1.0)
162 | jekyll (~> 3.5)
163 | jekyll-seo-tag (~> 2.0)
164 | jekyll-titles-from-headings (0.4.0)
165 | jekyll (~> 3.3)
166 | jekyll-watch (1.5.0)
167 | listen (~> 3.0, < 3.1)
168 | jemoji (0.8.1)
169 | activesupport (~> 4.0, >= 4.2.9)
170 | gemoji (~> 3.0)
171 | html-pipeline (~> 2.2)
172 | jekyll (>= 3.0)
173 | kramdown (1.14.0)
174 | liquid (4.0.0)
175 | listen (3.0.6)
176 | rb-fsevent (>= 0.9.3)
177 | rb-inotify (>= 0.9.7)
178 | mercenary (0.3.6)
179 | mini_portile2 (2.4.0)
180 | minima (2.1.1)
181 | jekyll (~> 3.3)
182 | minitest (5.10.3)
183 | multipart-post (2.0.0)
184 | net-dns (0.8.0)
185 | nokogiri (1.10.5)
186 | mini_portile2 (~> 2.4.0)
187 | nokogiri (1.10.5-x64-mingw32)
188 | mini_portile2 (~> 2.4.0)
189 | octokit (4.7.0)
190 | sawyer (~> 0.8.0, >= 0.5.3)
191 | pathutil (0.16.0)
192 | forwardable-extended (~> 2.6)
193 | public_suffix (2.0.5)
194 | rb-fsevent (0.10.2)
195 | rb-inotify (0.9.10)
196 | ffi (>= 0.5.0, < 2)
197 | rouge (2.2.1)
198 | safe_yaml (1.0.4)
199 | sass (3.5.3)
200 | sass-listen (~> 4.0.0)
201 | sass-listen (4.0.0)
202 | rb-fsevent (~> 0.9, >= 0.9.4)
203 | rb-inotify (~> 0.9, >= 0.9.7)
204 | sawyer (0.8.1)
205 | addressable (>= 2.3.5, < 2.6)
206 | faraday (~> 0.8, < 1.0)
207 | terminal-table (1.8.0)
208 | unicode-display_width (~> 1.1, >= 1.1.1)
209 | thread_safe (0.3.6)
210 | typhoeus (0.8.0)
211 | ethon (>= 0.8.0)
212 | tzinfo (1.2.4)
213 | thread_safe (~> 0.1)
214 | unicode-display_width (1.3.0)
215 |
216 | PLATFORMS
217 | ruby
218 | x64-mingw32
219 |
220 | DEPENDENCIES
221 | github-pages
222 |
223 | BUNDLED WITH
224 | 1.16.6
225 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Pattern Lab Website
2 | ======================
3 | - View Site: https://patternlab.io/
4 | - Documentation: https://patternlab.io/docs/index.html
5 | - Resources: https://patternlab.io/resources.html
6 | - Demo: http://demo.patternlab.io/
7 |
8 | The Pattern Lab website is built using the static site generator [Jekyll](https://jekyllrb.com) and is hosted on [Github Pages](https://pages.github.com/).
9 |
10 | Running the Website Locally
11 | ----------
12 | - To run the website localy you need Ruby. You can install Ruby directly on your system or use [a version manager like RVM](https://rvm.io/rvm/install).
13 | - Run `bundle install`. The `bundle` command is provided by Ruby.
14 | - Run `bundle exec jekyll serve` to build and serve the website.
15 |
16 | Pages are written using [kramdown](https://kramdown.gettalong.org/), a Markdown superset.
17 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | name: Pattern Lab
2 | markdown: kramdown
3 | highlighter: rouge
4 | baseurl: ""
5 |
--------------------------------------------------------------------------------
/_includes/alert.html:
--------------------------------------------------------------------------------
1 |
2 | A refreshed Pattern Lab UI is here! Help us kick the tires and make it better.
3 |
4 |
--------------------------------------------------------------------------------
/_includes/docs-nav-advanced.html:
--------------------------------------------------------------------------------
1 |
15 |
--------------------------------------------------------------------------------
/_includes/docs-nav-data.html:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/_includes/docs-nav-patterns.html:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/_includes/docs-nav-start.html:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/_includes/docs-navigation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Getting Started
5 | {% include docs-nav-start.html %}
6 |
7 |
8 | Working with Patterns
9 | {% include docs-nav-patterns.html %}
10 |
11 |
12 | Working with Data
13 | {% include docs-nav-data.html %}
14 |
15 |
16 | Advanced Features
17 | {% include docs-nav-advanced.html %}
18 |
19 |
20 |
--------------------------------------------------------------------------------
/_includes/download-node.html:
--------------------------------------------------------------------------------
1 | To install Pattern Lab 3.0, run the following command in your terminal:
2 |
3 |
4 |
5 | npm create pattern-lab
6 |
7 |
8 |
9 | This will bring up an installation menu that presents the following steps:
10 |
11 |
12 | Please specify a directory for your Pattern Lab project.
- Choose the directory where you want to install Pattern Lab. The current directory is the default location.
13 | Which edition do you want to use (defaults to edition-node)?
- Choose the Pattern Lab edition that you want to install. The options are: edition-node (handlebars engine)
, edition-twig (php engine)
, and edition-node-gulp (legacy)
14 | Which starterkit do you want to use?
- Choose the Starterkit you want to begin your project with. Starterkits define the initial components and assets that are included in the initial project. Start from scratch, start from a full demo, or a lightweight boilerplate.
15 | Are you happy with your choices? (Hit enter for YES)?
- Confirm your choices, and when done the Pattern Lab installation will begin.
16 |
17 |
18 | With those questions answered, Pattern Lab will begin installing. Once the installation is complete, you're ready to generate Pattern Lab for the first time.
19 |
20 |
21 |
22 | Legacy versions of Pattern Lab Node 2.X are also available:
23 |
24 |
35 |
--------------------------------------------------------------------------------
/_includes/download-php.html:
--------------------------------------------------------------------------------
1 | Choose your own adventure! Pick the edition of Pattern Lab 2.X that you'd like to use based on template language or environment:
2 |
3 |
4 | Mustache Edition
5 | This edition of Pattern Lab uses Mustache as the template engine.
6 |
7 |
8 | Twig Edition
9 | This edition of Pattern Lab uses Twig as the template engine.
10 |
11 |
12 | Drupal Edition
13 | This edition uses Twig and includes some Drupal-specific additions for easy Drupal theme integration.
14 |
15 |
16 | Thin Edition
17 | The thin edition serves as a clean base upon which you can build your own custom edition.
18 |
19 |
20 |
--------------------------------------------------------------------------------
/_includes/footer.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | {% if page.patternEnginesScript %}{% endif %}
35 |
36 |
46 |
47 |