diff --git a/.prettierignore b/.prettierignore
index 584c5a9337..05160a2229 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,2 +1,2 @@
# ignore html files in docs not to mess up with template formatting
-docs/**/*.html
+site/**/*.html
diff --git a/Dockerfile b/Dockerfile
index 0b46cb2709..aa39fcbac8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -43,7 +43,7 @@ ENV PATH="/root/.local/bin:${PATH}"
ADD . .
RUN rm -rf package.json yarn.lock .babelrc webpack.config.js
COPY --from=build-vanilla /srv/package.json package.json
-COPY --from=build-vanilla /srv/build docs/static/build
+COPY --from=build-vanilla /srv/build build
# Set revision ID
ARG BUILD_ID
diff --git a/README.md b/README.md
index cbc7ecf557..40d73966d7 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
Vanilla Framework is a simple extensible CSS framework, built using [Sass](http://sass-lang.com/) and is designed to be used either directly or by using themes to extend or supplement its patterns.
-[Documentation](https://docs.vanillaframework.io) |
+[Documentation](https://vanillaframework.io/docs) |
[Join the mailing list](http://canonical.us3.list-manage2.com/subscribe?u=56dac47c206ba0f58ec25f314&id=36f7d8394e)
## Hotlinking
@@ -69,7 +69,7 @@ The simplest way to run Vanilla framework is to first [install Docker](https://d
### Viewing documentation
-The documentation for the latest version of Vanilla framework is hosted at .
+The documentation for the latest version of Vanilla framework is hosted at .
The documentation markdown files live in the [`docs` folder](/docs), and you can view this documentation in the browser by running:
diff --git a/docs/404.html b/docs/404.html
deleted file mode 100644
index 53cbfa4ec7..0000000000
--- a/docs/404.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "_layouts/default.html" %}
-
-{% block content %}
-
-
-
-
404: Page not found
-
Sorry, we can't find the page you're looking for.
If you think this is an error on our site, please file a bug.
-
-
-
-{% endblock %}
diff --git a/docs/500.html b/docs/500.html
deleted file mode 100644
index b1716095cc..0000000000
--- a/docs/500.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "_layouts/default.html" %}
-
-{% block content %}
-
-
-
-
500: Server error
-
Something went wrong.
Please file a bug.
-
-
-
-{% endblock %}
diff --git a/scss/site/_patterns_grid.scss b/scss/site/_patterns_grid.scss
new file mode 100644
index 0000000000..bba5a6398e
--- /dev/null
+++ b/scss/site/_patterns_grid.scss
@@ -0,0 +1,13 @@
+@mixin vfio-p-grid {
+ .mobile-col-2:nth-of-type(2n + 1) {
+ @media (max-width: $breakpoint-small - 1px) {
+ margin-left: 0;
+ }
+ }
+
+ .tablet-col-2:nth-of-type(3n + 1) {
+ @media (min-width: $breakpoint-small) and (max-width: $breakpoint-medium - 1px) {
+ margin-left: 0;
+ }
+ }
+}
diff --git a/scss/site/_patterns_icons.scss b/scss/site/_patterns_icons.scss
new file mode 100644
index 0000000000..59328a927f
--- /dev/null
+++ b/scss/site/_patterns_icons.scss
@@ -0,0 +1,37 @@
+@mixin vfio-p-icons {
+ .p-icon--chrome {
+ @extend %icon;
+ background-image: url('#{$assets-path}09a6a50e-vf.io-chrome.png');
+ margin-right: $sph-inner;
+ }
+
+ .p-icon--firefox {
+ @extend %icon;
+ background-image: url('#{$assets-path}a45d30aa-vf.io-firefox.svg');
+ margin-right: $sph-inner;
+ }
+
+ .p-icon--safari {
+ @extend %icon;
+ background-image: url('#{$assets-path}a030d872-vf.io-safari.svg');
+ margin-right: $sph-inner;
+ }
+
+ .p-icon--ie {
+ @extend %icon;
+ background-image: url('#{$assets-path}165a2220-vf.io-ie.svg');
+ margin-right: $sph-inner;
+ }
+
+ .p-icon--edge {
+ @extend %icon;
+ background-image: url('#{$assets-path}de0673bb-vf.io-edge.svg');
+ margin-right: $sph-inner;
+ }
+
+ .p-icon--opera {
+ @extend %icon;
+ background-image: url('#{$assets-path}74738acc-vf.io-opera.svg');
+ margin-right: $sph-inner;
+ }
+}
diff --git a/scss/site/_patterns_syntax-highlight.scss b/scss/site/_patterns_syntax-highlight.scss
new file mode 100644
index 0000000000..a58c2bf2ef
--- /dev/null
+++ b/scss/site/_patterns_syntax-highlight.scss
@@ -0,0 +1,65 @@
+// sass-lint:disable no-color-literals class-name-format
+@mixin vfio-p-syntax-highlight {
+ .hljs-emphasis {
+ font-style: italic;
+ }
+
+ .hljs-strong {
+ font-weight: bold;
+ }
+
+ .hljs-comment {
+ color: #595e62;
+ }
+
+ .hljs-string {
+ color: #183691;
+ }
+
+ .hljs-number {
+ color: #e95420;
+ }
+
+ .hljs-name {
+ color: #63a35c;
+ }
+
+ .hljs-selector-tag {
+ color: #63a35c;
+ }
+
+ .hljs-link {
+ color: #183691;
+ }
+
+ .hljs-keyword {
+ color: #a71d5d;
+ }
+
+ .hljs-attribute {
+ color: #a71d5d;
+ }
+
+ .hljs-attr {
+ color: #795da3;
+ }
+
+ .hljs-built_in {
+ color: #77216f;
+ }
+
+ .hljs-title {
+ color: #795da3;
+ }
+
+ .hljs-section {
+ color: #183691;
+ font-weight: bold;
+ }
+
+ .hljs-meta {
+ color: #183691;
+ font-weight: bold;
+ }
+}
+// sass-lint:enable no-color-literals class-name-format
diff --git a/scss/site/_settings_breakpoints.scss b/scss/site/_settings_breakpoints.scss
new file mode 100644
index 0000000000..fa40c8f7d8
--- /dev/null
+++ b/scss/site/_settings_breakpoints.scss
@@ -0,0 +1 @@
+$breakpoint-medium: 820px;
diff --git a/scss/site/_settings_colors.scss b/scss/site/_settings_colors.scss
new file mode 100644
index 0000000000..141a9285af
--- /dev/null
+++ b/scss/site/_settings_colors.scss
@@ -0,0 +1 @@
+$color-brand: #111;
diff --git a/scss/site/main.scss b/scss/site/main.scss
new file mode 100644
index 0000000000..b297497f9c
--- /dev/null
+++ b/scss/site/main.scss
@@ -0,0 +1,39 @@
+@charset 'utf-8';
+
+// import settings
+@import 'settings_breakpoints';
+@import 'settings_colors';
+$sticky-footer: true;
+
+// import vanilla
+@import '../build';
+
+@import 'patterns_syntax-highlight';
+@include vfio-p-syntax-highlight;
+
+@import 'patterns_icons';
+@include vfio-p-icons;
+
+@import 'patterns_grid';
+@include vfio-p-grid;
+
+$color-hero: #e95420;
+
+// Local website styles
+.vfio-hero {
+ background-color: $color-hero;
+ background-image: url('#{$assets-path}775cc62b-vanilla-grad-background.png');
+ background-position: 75% 50%;
+}
+
+.p-list__icon--github {
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='24' width='24'%3E%3Cdefs%3E%3Cpath id='a' d='M0 23.831h23.695V0H0z'/%3E%3C/defs%3E%3Cg fill-rule='evenodd' fill='none'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cpath fill='%23181616' mask='url%28%23b%29' d='M11.847 0C5.304 0 0 5.47 0 12.218c0 5.397 3.394 9.976 8.102 11.592.593.112.81-.265.81-.589 0-.29-.011-1.059-.017-2.078-3.295.738-3.99-1.638-3.99-1.638-.54-1.411-1.316-1.787-1.316-1.787-1.076-.758.081-.742.081-.742 1.19.086 1.815 1.259 1.815 1.259 1.057 1.867 2.773 1.327 3.448 1.015.108-.79.413-1.328.752-1.633-2.63-.309-5.397-1.357-5.397-6.039 0-1.333.462-2.423 1.22-3.278-.122-.309-.529-1.55.116-3.233 0 0 .995-.328 3.258 1.253a10.997 10.997 0 0 1 2.966-.411c1.006.004 2.02.139 2.966.41 2.262-1.58 3.255-1.252 3.255-1.252.647 1.682.24 2.924.118 3.233.759.855 1.218 1.945 1.218 3.278 0 4.694-2.77 5.727-5.41 6.029.426.377.805 1.123.805 2.263 0 1.632-.015 2.95-.015 3.351 0 .327.213.707.815.588 4.704-1.619 8.096-6.195 8.096-11.591C23.696 5.47 18.39 0 11.847 0'/%3E%3C/g%3E%3C/svg%3E");
+}
+
+.p-list__icon--twitter {
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' width='24'%3E%3Cpath d='M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12zm-9.813-5.596c-1.062.322-2.084 1.754-1.764 3.376-3.524-.213-5.08-2.1-6.017-3.003-.954 1.683.025 3.318.88 3.847-.452.025-.997-.17-1.268-.339-.103 1.552 1.163 2.628 2.24 2.907-.344.102-.668.117-1.223.034.472 1.561 1.74 1.979 2.686 2.047-1.217 1.055-2.678 1.285-4.267 1.208 4.12 2.518 8.28.969 10.305-1.008 1.7-1.659 2.461-4.144 2.487-6.368.389-.315 1.176-.985 1.39-1.51-.311.12-.925.404-1.565.43.528-.346 1.132-1.038 1.196-1.58-.585.318-1.261.594-1.84.681-1.091-1.052-2.154-1.052-3.24-.722z' fill='%231DA1F2' fill-rule='evenodd'/%3E%3C/svg%3E");
+}
+
+.p-list__icon--slack {
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='124' height='124' viewBox='0 0 124 124'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23E01E5A' d='M26.4 13.2C26.4 20.3 20.6 26.1 13.5 26.1 6.4 26.1.6 20.3.6 13.2.6 6.1 6.4.3 13.5.3L26.4.3 26.4 13.2zM32.9 13.2C32.9 6.1 38.7.3 45.8.3 52.9.3 58.7 6.1 58.7 13.2L58.7 45.5C58.7 52.6 52.9 58.4 45.8 58.4 38.7 58.4 32.9 52.6 32.9 45.5L32.9 13.2z' transform='translate(0 65)'/%3E%3Cpath fill='%2336C5F0' d='M45.8 26.4C38.7 26.4 32.9 20.6 32.9 13.5 32.9 6.4 38.7.6 45.8.6 52.9.6 58.7 6.4 58.7 13.5L58.7 26.4 45.8 26.4zM45.8 32.9C52.9 32.9 58.7 38.7 58.7 45.8 58.7 52.9 52.9 58.7 45.8 58.7L13.5 58.7C6.4 58.7.6 52.9.6 45.8.6 38.7 6.4 32.9 13.5 32.9L45.8 32.9z'/%3E%3Cpath fill='%232EB67D' d='M32.6 45.8C32.6 38.7 38.4 32.9 45.5 32.9 52.6 32.9 58.4 38.7 58.4 45.8 58.4 52.9 52.6 58.7 45.5 58.7L32.6 58.7 32.6 45.8zM26.1 45.8C26.1 52.9 20.3 58.7 13.2 58.7 6.1 58.7.3 52.9.3 45.8L.3 13.5C.3 6.4 6.1.6 13.2.6 20.3.6 26.1 6.4 26.1 13.5L26.1 45.8z' transform='translate(65)'/%3E%3Cpath fill='%23ECB22E' d='M13.2 32.6C20.3 32.6 26.1 38.4 26.1 45.5 26.1 52.6 20.3 58.4 13.2 58.4 6.1 58.4.3 52.6.3 45.5L.3 32.6 13.2 32.6zM13.2 26.1C6.1 26.1.3 20.3.3 13.2.3 6.1 6.1.3 13.2.3L45.5.3C52.6.3 58.4 6.1 58.4 13.2 58.4 20.3 52.6 26.1 45.5 26.1L13.2 26.1z' transform='translate(65 65)'/%3E%3C/g%3E%3C/svg%3E");
+}
diff --git a/site/404.html b/site/404.html
new file mode 100644
index 0000000000..6f142f4a18
--- /dev/null
+++ b/site/404.html
@@ -0,0 +1,19 @@
+{% extends "_layouts/site.html" %}
+
+{% block content %}
+
+
+
+
404 - Page not found
+
+
+
+
+
+
+
+
Sorry, we can't find the page you're looking for. If you think this is an error on our site, please file a bug on GitHub.
+
+
+
+{% endblock %}
diff --git a/site/500.html b/site/500.html
new file mode 100644
index 0000000000..6fd5bf1bcb
--- /dev/null
+++ b/site/500.html
@@ -0,0 +1,19 @@
+{% extends "_layouts/site.html" %}
+
+{% block content %}
+
+
+
+
500 - Internal server error
+
+
+
+
+
+
+
+
Something went wrong on our end. If you have the time, please help us out by filing a bug.
+
+
+
+{% endblock %}
diff --git a/docs/_layouts/default.html b/site/_layouts/default.html
similarity index 60%
rename from docs/_layouts/default.html
rename to site/_layouts/default.html
index 451944bf4e..87ae890952 100644
--- a/docs/_layouts/default.html
+++ b/site/_layouts/default.html
@@ -27,7 +27,7 @@
-
+
View example of the code copyable pattern
@@ -53,7 +53,7 @@ Please copy the entire JS in the example, for copy to clipboard functionality.
The code numbered pattern can be used when displaying large blocks of code to enable users to quickly reference a specific line.
-
+
View example of the code numbered pattern
@@ -69,7 +69,7 @@ To import just code copyable or numbered component into your project, copy eithe
@import 'patterns_code-numbered';
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/base/forms.md b/site/docs/base/forms.md
similarity index 80%
rename from docs/base/forms.md
rename to site/docs/base/forms.md
index 094960f72d..e3a9955866 100644
--- a/docs/base/forms.md
+++ b/site/docs/base/forms.md
@@ -10,7 +10,7 @@ context:
Form controls have global styling defined at the HTML element level. Labels and most input types are 100% width of the `
-
+
View example of a disabled input
@@ -140,7 +140,7 @@ If your form uses select elements then you will additionally need to wrap only t
Descriptive text relating to the element's validation status should use the class `p-form-validation__message`.
-
+
View example of form validation patterns
@@ -148,7 +148,7 @@ View example of form validation patterns
By applying the class `.is-required` the attribute specifies that an input field must be filled out before submitting the form.
-
+
View example of an input required element
@@ -156,7 +156,7 @@ View example of an input required element
In contexts where vertical space is limited, e.g. inside a table row, you might prefer form elements with reduced vertical padding. Add class `.is-dense` to achieve that:
-
+
View example of the dense form elements
@@ -176,7 +176,7 @@ To add form help text or validation into your project, copy either or both snipp
@import 'patterns_form-validation';
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/base/reset.md b/site/docs/base/reset.md
similarity index 100%
rename from docs/base/reset.md
rename to site/docs/base/reset.md
diff --git a/docs/base/tables.md b/site/docs/base/tables.md
similarity index 86%
rename from docs/base/tables.md
rename to site/docs/base/tables.md
index 5df10348d1..f3ef1188ad 100644
--- a/docs/base/tables.md
+++ b/site/docs/base/tables.md
@@ -15,7 +15,7 @@ to the right by adding the class `.u-align--right` to each individual cell,
as in the example that follows. This is considered good practice when formatting
data tables as it makes it easier to scan and compare the values quickly.
-
+
View example of the base table
@@ -23,7 +23,7 @@ View example of the base table
Using the class `p-table--sortable` and assigning `role="columnheader"` and `aria-sort` to each `` element will show each table column to be sortable. With javascript toggling between `ascending` and `descending` for the `aria-sort` attribute it will change the chevron icon in that direction.
-
+
View example of the table sortable pattern
@@ -35,7 +35,7 @@ This pattern should be used when a table requires configuration fields (add, edi
Using `p-table-expanding__panel` it can be hidden using the `aria-hidden` attribute. The table must contain all table cells required.
-
+
View example of the expanding table pattern
@@ -46,7 +46,7 @@ an `[aria-label]` to describe the cell on a mobile screen. We use the content to
The `` element is completely hidden from view on a smaller screen and if the table holds a `.p-contextual-menu` pattern all the children elements will be visible and be interactive.
-
+
View example of the patterns table mobile card
@@ -66,7 +66,7 @@ To import either or all of these components into your project, copy the snippets
@import 'patterns_table-sortable';
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/base/typography.md b/site/docs/base/typography.md
similarity index 86%
rename from docs/base/typography.md
rename to site/docs/base/typography.md
index 7b55c65808..60f75c5e7d 100644
--- a/docs/base/typography.md
+++ b/site/docs/base/typography.md
@@ -75,7 +75,7 @@ heading order and semantics.
In the following example, each heading is actually a ` ` element that has been
modified to look like a particular heading size.
-
+
View example of the heading pattern
@@ -85,7 +85,7 @@ View example of the heading pattern
Sub-headings visually convey importance beneath a heading, or a line of text that expands on the meaning of the heading immediately before it.
-
+
View example of the heading pattern
@@ -94,7 +94,7 @@ View example of the heading pattern
It is also possible to apply heading classes directly to heading elements if that
better suits your document style and tree.
-
+
View example of the mixed headings pattern
@@ -105,7 +105,7 @@ Line length, measured in number of characters per line (CPL), has been shown to
The max-width of text elements in Vanilla Framework is limited using the `$max-width--default` variable, currently set to `40em`, or around 90 characters.
Vanilla also includes a utility to unset the max-width where necessary – `u-no-max-width`:
-
+
View example of how to unset max-width
@@ -118,7 +118,7 @@ Overriding or unsetting the `max-width` is reasonable in certain cases:
Use an ordered list when the order of the items is important.
-
+
View example of the base ordered list
@@ -126,7 +126,7 @@ View example of the base ordered list
Use an unordered list when the order of the items isn't important.
-
+
View example of the base unordered list
@@ -135,43 +135,43 @@ View example of the base unordered list
Use a definition list when you want to list a group of one or more terms and
descriptions.
-
+
View example of the base definition list
### Blockquotes and citations
-
+
View example of the base blockquotes
### Small text
-
+
View example of the small text
### Strong text
-
+
View example of the strong text
### Superscripted text
-
+
View example of the superscripted pattern
### Subscripted text
-
+
View example of the subscripted pattern
### Abbreviation
-
+
View example of the abbreviation pattern
@@ -179,7 +179,7 @@ View example of the abbreviation pattern
If you are using the Ubuntu font, it comes in five weights; thin, light, regular, medium, and bold.
-
+
View example of the Ubuntu font weights.
@@ -219,7 +219,7 @@ To import just this base element into your project, copy the snippet below and i
@import 'patterns_headings';
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
@@ -227,4 +227,4 @@ For more information [view the typography design spec](https://github.com/ubuntu
### Related
-For more typographic related information view the [code](/base/code) and [pull quote pattern](/patterns/pull-quote) component or our [font settings](/settings/font-settings).
+For more typographic related information view the [code](/docs/base/code) and [pull quote pattern](/docs/patterns/pull-quote) component or our [font settings](/docs/settings/font-settings).
diff --git a/docs/building-vanilla.md b/site/docs/building-vanilla.md
similarity index 100%
rename from docs/building-vanilla.md
rename to site/docs/building-vanilla.md
diff --git a/docs/component-status.md b/site/docs/component-status.md
similarity index 84%
rename from docs/component-status.md
rename to site/docs/component-status.md
index f406a82c03..804f519d2e 100644
--- a/docs/component-status.md
+++ b/site/docs/component-status.md
@@ -23,13 +23,13 @@ When we add, make significant updates, or deprecate a component we update their
|
- Navigation |
+ Navigation |
Updated |
2.8.0 |
New navigation classes (p-navigation__items , p-navigation__item , p-navigation__link ) were added to replace existing (p-navigation__links , p-navigation__link , and classless <a> ). |
- Navigation |
+ Navigation |
Deprecated |
2.8.0 |
Navigation classes p-navigation__links , p-navigation__link , and classless <a> are deprecated and will be removed in future release v3.0. Please use new class names (p-navigation__items , p-navigation__item , p-navigation__link ) instead. |
@@ -51,81 +51,81 @@ When we add, make significant updates, or deprecate a component we update their
- Contextual menu |
+ Contextual menu |
Updated |
2.7.0 |
Added dark theme to contextual menu. |
- Heading classes |
+ Heading classes |
Updated |
2.7.0 |
New heading classes with numbers (p-heading--1 , ...) were added for consistency with other class names we use. |
- Heading classes |
+ Heading classes |
Deprecated |
2.7.0 |
Heading classes with numbers as words (p-heading--one , --two , ...) are deprecated and will be removed in future release v3.0. Please use class names with numbers (p-heading--1 , --2 , ...) instead. |
- Range input |
+ Range input |
New |
2.6.0 |
Styling of Slider component was added to all <input type="range"> elements by default. This makes p-slider class optional for styling range inputs. |
- Checkbox, radio button |
+ Checkbox, radio button |
Updated |
2.6.0 |
New `is-table-header` added to properly align checkboxes and radio buttons used in table headers. |
- Slider |
+ Slider |
Updated |
2.6.0 |
Styling of Slider component was added to all <input type="range"> elements by default. This makes p-slider class optional for styling range inputs. |
- Contextual menu |
+ Contextual menu |
New |
2.5.0 |
Optional state indicator was added to contextual menu |
- Font metrics |
+ Font metrics |
New |
2.5.0 |
Added u-visualise-font-metrics utility to visualise font metrics |
- Line length |
+ Line length |
New |
2.5.0 |
Added $max-width--default variable and u-no-max-width utility to control line length |
- Table cell padding overlap |
+ Table cell padding overlap |
New |
2.5.0 |
Added u-table-cell-padding-overlap utility to overlap table cell padding |
- Truncation |
+ Truncation |
New |
2.5.0 |
Added u-truncate utility to truncate text with ellipsis |
- Social icons |
+ Social icons |
Updated |
2.5.0 |
Updated style of social icons. Added new .p-icon--rss and p-icon--email icons. |
- Social icons |
+ Social icons |
Deprecated |
2.5.0 |
We will be removing p-icon--canonical and p-icon--ubuntu from social icon set in future release v3.0 |
diff --git a/docs/customising-vanilla.md b/site/docs/customising-vanilla.md
similarity index 72%
rename from docs/customising-vanilla.md
rename to site/docs/customising-vanilla.md
index 508182f954..2ef3584ce5 100644
--- a/docs/customising-vanilla.md
+++ b/site/docs/customising-vanilla.md
@@ -53,22 +53,22 @@ Your project may not warrant including all of Vanilla, in which case you can inc
diff --git a/docs/examples/base/abbr.html b/site/docs/examples/base/abbr.html
similarity index 100%
rename from docs/examples/base/abbr.html
rename to site/docs/examples/base/abbr.html
diff --git a/docs/examples/base/blockquotes.html b/site/docs/examples/base/blockquotes.html
similarity index 100%
rename from docs/examples/base/blockquotes.html
rename to site/docs/examples/base/blockquotes.html
diff --git a/docs/examples/base/button.html b/site/docs/examples/base/button.html
similarity index 100%
rename from docs/examples/base/button.html
rename to site/docs/examples/base/button.html
diff --git a/docs/examples/base/code.html b/site/docs/examples/base/code.html
similarity index 100%
rename from docs/examples/base/code.html
rename to site/docs/examples/base/code.html
diff --git a/docs/examples/base/details.html b/site/docs/examples/base/details.html
similarity index 100%
rename from docs/examples/base/details.html
rename to site/docs/examples/base/details.html
diff --git a/docs/examples/base/font-weights.html b/site/docs/examples/base/font-weights.html
similarity index 100%
rename from docs/examples/base/font-weights.html
rename to site/docs/examples/base/font-weights.html
diff --git a/docs/examples/base/forms/aligned-checkboxes.html b/site/docs/examples/base/forms/aligned-checkboxes.html
similarity index 100%
rename from docs/examples/base/forms/aligned-checkboxes.html
rename to site/docs/examples/base/forms/aligned-checkboxes.html
diff --git a/docs/examples/base/forms/aligned-radio.html b/site/docs/examples/base/forms/aligned-radio.html
similarity index 100%
rename from docs/examples/base/forms/aligned-radio.html
rename to site/docs/examples/base/forms/aligned-radio.html
diff --git a/docs/examples/base/forms/checkboxes.html b/site/docs/examples/base/forms/checkboxes.html
similarity index 100%
rename from docs/examples/base/forms/checkboxes.html
rename to site/docs/examples/base/forms/checkboxes.html
diff --git a/docs/examples/base/forms/disabled-input.html b/site/docs/examples/base/forms/disabled-input.html
similarity index 100%
rename from docs/examples/base/forms/disabled-input.html
rename to site/docs/examples/base/forms/disabled-input.html
diff --git a/docs/examples/base/forms/fieldset.html b/site/docs/examples/base/forms/fieldset.html
similarity index 100%
rename from docs/examples/base/forms/fieldset.html
rename to site/docs/examples/base/forms/fieldset.html
diff --git a/docs/examples/base/forms/form.html b/site/docs/examples/base/forms/form.html
similarity index 100%
rename from docs/examples/base/forms/form.html
rename to site/docs/examples/base/forms/form.html
diff --git a/docs/examples/base/forms/input.html b/site/docs/examples/base/forms/input.html
similarity index 100%
rename from docs/examples/base/forms/input.html
rename to site/docs/examples/base/forms/input.html
diff --git a/docs/examples/base/forms/labels.html b/site/docs/examples/base/forms/labels.html
similarity index 100%
rename from docs/examples/base/forms/labels.html
rename to site/docs/examples/base/forms/labels.html
diff --git a/docs/examples/base/forms/radio-buttons.html b/site/docs/examples/base/forms/radio-buttons.html
similarity index 100%
rename from docs/examples/base/forms/radio-buttons.html
rename to site/docs/examples/base/forms/radio-buttons.html
diff --git a/docs/examples/base/forms/range.html b/site/docs/examples/base/forms/range.html
similarity index 100%
rename from docs/examples/base/forms/range.html
rename to site/docs/examples/base/forms/range.html
diff --git a/docs/examples/base/forms/select-multiple.html b/site/docs/examples/base/forms/select-multiple.html
similarity index 100%
rename from docs/examples/base/forms/select-multiple.html
rename to site/docs/examples/base/forms/select-multiple.html
diff --git a/docs/examples/base/forms/selects.html b/site/docs/examples/base/forms/selects.html
similarity index 100%
rename from docs/examples/base/forms/selects.html
rename to site/docs/examples/base/forms/selects.html
diff --git a/docs/examples/base/forms/textarea.html b/site/docs/examples/base/forms/textarea.html
similarity index 100%
rename from docs/examples/base/forms/textarea.html
rename to site/docs/examples/base/forms/textarea.html
diff --git a/docs/examples/base/headings.html b/site/docs/examples/base/headings.html
similarity index 100%
rename from docs/examples/base/headings.html
rename to site/docs/examples/base/headings.html
diff --git a/docs/examples/base/hr-dark.html b/site/docs/examples/base/hr-dark.html
similarity index 100%
rename from docs/examples/base/hr-dark.html
rename to site/docs/examples/base/hr-dark.html
diff --git a/docs/examples/base/hr.html b/site/docs/examples/base/hr.html
similarity index 100%
rename from docs/examples/base/hr.html
rename to site/docs/examples/base/hr.html
diff --git a/docs/examples/base/links.html b/site/docs/examples/base/links.html
similarity index 100%
rename from docs/examples/base/links.html
rename to site/docs/examples/base/links.html
diff --git a/docs/examples/base/lists/definition-list.html b/site/docs/examples/base/lists/definition-list.html
similarity index 100%
rename from docs/examples/base/lists/definition-list.html
rename to site/docs/examples/base/lists/definition-list.html
diff --git a/docs/examples/base/lists/ordered-list.html b/site/docs/examples/base/lists/ordered-list.html
similarity index 100%
rename from docs/examples/base/lists/ordered-list.html
rename to site/docs/examples/base/lists/ordered-list.html
diff --git a/docs/examples/base/lists/unordered-list.html b/site/docs/examples/base/lists/unordered-list.html
similarity index 100%
rename from docs/examples/base/lists/unordered-list.html
rename to site/docs/examples/base/lists/unordered-list.html
diff --git a/docs/examples/base/small.html b/site/docs/examples/base/small.html
similarity index 100%
rename from docs/examples/base/small.html
rename to site/docs/examples/base/small.html
diff --git a/docs/examples/base/strong.html b/site/docs/examples/base/strong.html
similarity index 100%
rename from docs/examples/base/strong.html
rename to site/docs/examples/base/strong.html
diff --git a/docs/examples/base/sub-headings.html b/site/docs/examples/base/sub-headings.html
similarity index 100%
rename from docs/examples/base/sub-headings.html
rename to site/docs/examples/base/sub-headings.html
diff --git a/docs/examples/base/sub.html b/site/docs/examples/base/sub.html
similarity index 100%
rename from docs/examples/base/sub.html
rename to site/docs/examples/base/sub.html
diff --git a/docs/examples/base/sup.html b/site/docs/examples/base/sup.html
similarity index 100%
rename from docs/examples/base/sup.html
rename to site/docs/examples/base/sup.html
diff --git a/docs/examples/base/table.html b/site/docs/examples/base/table.html
similarity index 100%
rename from docs/examples/base/table.html
rename to site/docs/examples/base/table.html
diff --git a/docs/examples/index.html b/site/docs/examples/index.html
similarity index 69%
rename from docs/examples/index.html
rename to site/docs/examples/index.html
index 04d2c3b985..5cd0dc4241 100755
--- a/docs/examples/index.html
+++ b/site/docs/examples/index.html
@@ -14,7 +14,7 @@ Base elements
@@ -26,7 +26,7 @@ Components
@@ -38,7 +38,7 @@ Utilities
@@ -50,7 +50,7 @@ Templates
@@ -58,5 +58,5 @@ Templates
-Examples using standalone component CSS for testing/debugging
+Examples using standalone component CSS for testing/debugging
{% endblock %}
diff --git a/docs/examples/patterns/accordion.html b/site/docs/examples/patterns/accordion.html
similarity index 100%
rename from docs/examples/patterns/accordion.html
rename to site/docs/examples/patterns/accordion.html
diff --git a/docs/examples/patterns/article-pagination.html b/site/docs/examples/patterns/article-pagination.html
similarity index 100%
rename from docs/examples/patterns/article-pagination.html
rename to site/docs/examples/patterns/article-pagination.html
diff --git a/docs/examples/patterns/breadcrumbs.html b/site/docs/examples/patterns/breadcrumbs.html
similarity index 100%
rename from docs/examples/patterns/breadcrumbs.html
rename to site/docs/examples/patterns/breadcrumbs.html
diff --git a/docs/examples/patterns/buttons/base.html b/site/docs/examples/patterns/buttons/base.html
similarity index 100%
rename from docs/examples/patterns/buttons/base.html
rename to site/docs/examples/patterns/buttons/base.html
diff --git a/docs/examples/patterns/buttons/brand.html b/site/docs/examples/patterns/buttons/brand.html
similarity index 100%
rename from docs/examples/patterns/buttons/brand.html
rename to site/docs/examples/patterns/buttons/brand.html
diff --git a/docs/examples/patterns/buttons/dense.html b/site/docs/examples/patterns/buttons/dense.html
similarity index 100%
rename from docs/examples/patterns/buttons/dense.html
rename to site/docs/examples/patterns/buttons/dense.html
diff --git a/docs/examples/patterns/buttons/icon.html b/site/docs/examples/patterns/buttons/icon.html
similarity index 100%
rename from docs/examples/patterns/buttons/icon.html
rename to site/docs/examples/patterns/buttons/icon.html
diff --git a/docs/examples/patterns/buttons/inline.html b/site/docs/examples/patterns/buttons/inline.html
similarity index 100%
rename from docs/examples/patterns/buttons/inline.html
rename to site/docs/examples/patterns/buttons/inline.html
diff --git a/docs/examples/patterns/buttons/negative.html b/site/docs/examples/patterns/buttons/negative.html
similarity index 100%
rename from docs/examples/patterns/buttons/negative.html
rename to site/docs/examples/patterns/buttons/negative.html
diff --git a/docs/examples/patterns/buttons/neutral.html b/site/docs/examples/patterns/buttons/neutral.html
similarity index 100%
rename from docs/examples/patterns/buttons/neutral.html
rename to site/docs/examples/patterns/buttons/neutral.html
diff --git a/docs/examples/patterns/buttons/positive.html b/site/docs/examples/patterns/buttons/positive.html
similarity index 100%
rename from docs/examples/patterns/buttons/positive.html
rename to site/docs/examples/patterns/buttons/positive.html
diff --git a/docs/examples/patterns/card/default.html b/site/docs/examples/patterns/card/default.html
similarity index 100%
rename from docs/examples/patterns/card/default.html
rename to site/docs/examples/patterns/card/default.html
diff --git a/docs/examples/patterns/card/header.html b/site/docs/examples/patterns/card/header.html
similarity index 100%
rename from docs/examples/patterns/card/header.html
rename to site/docs/examples/patterns/card/header.html
diff --git a/docs/examples/patterns/card/highlighted.html b/site/docs/examples/patterns/card/highlighted.html
similarity index 100%
rename from docs/examples/patterns/card/highlighted.html
rename to site/docs/examples/patterns/card/highlighted.html
diff --git a/docs/examples/patterns/card/overlay.html b/site/docs/examples/patterns/card/overlay.html
similarity index 100%
rename from docs/examples/patterns/card/overlay.html
rename to site/docs/examples/patterns/card/overlay.html
diff --git a/docs/examples/patterns/code-copyable.html b/site/docs/examples/patterns/code-copyable.html
similarity index 100%
rename from docs/examples/patterns/code-copyable.html
rename to site/docs/examples/patterns/code-copyable.html
diff --git a/docs/examples/patterns/code-numbered.html b/site/docs/examples/patterns/code-numbered.html
similarity index 100%
rename from docs/examples/patterns/code-numbered.html
rename to site/docs/examples/patterns/code-numbered.html
diff --git a/docs/examples/patterns/contextual-menu/_script.js b/site/docs/examples/patterns/contextual-menu/_script.js
similarity index 100%
rename from docs/examples/patterns/contextual-menu/_script.js
rename to site/docs/examples/patterns/contextual-menu/_script.js
diff --git a/docs/examples/patterns/contextual-menu/dark.html b/site/docs/examples/patterns/contextual-menu/dark.html
similarity index 98%
rename from docs/examples/patterns/contextual-menu/dark.html
rename to site/docs/examples/patterns/contextual-menu/dark.html
index 7584f2627b..7f33aa01b2 100644
--- a/docs/examples/patterns/contextual-menu/dark.html
+++ b/site/docs/examples/patterns/contextual-menu/dark.html
@@ -65,6 +65,6 @@
vel eu.
{% endblock %}
diff --git a/docs/examples/patterns/contextual-menu/default.html b/site/docs/examples/patterns/contextual-menu/default.html
similarity index 98%
rename from docs/examples/patterns/contextual-menu/default.html
rename to site/docs/examples/patterns/contextual-menu/default.html
index 09d8dd5200..19a1038870 100644
--- a/docs/examples/patterns/contextual-menu/default.html
+++ b/site/docs/examples/patterns/contextual-menu/default.html
@@ -65,6 +65,6 @@
vel eu.
{% endblock %}
diff --git a/docs/examples/patterns/contextual-menu/with-indicator.html b/site/docs/examples/patterns/contextual-menu/with-indicator.html
similarity index 94%
rename from docs/examples/patterns/contextual-menu/with-indicator.html
rename to site/docs/examples/patterns/contextual-menu/with-indicator.html
index 6e750dea39..0c87f81361 100644
--- a/docs/examples/patterns/contextual-menu/with-indicator.html
+++ b/site/docs/examples/patterns/contextual-menu/with-indicator.html
@@ -21,6 +21,6 @@
{% endblock %}
diff --git a/docs/examples/patterns/forms/dense.html b/site/docs/examples/patterns/forms/dense.html
similarity index 100%
rename from docs/examples/patterns/forms/dense.html
rename to site/docs/examples/patterns/forms/dense.html
diff --git a/docs/examples/patterns/forms/form-help-text.html b/site/docs/examples/patterns/forms/form-help-text.html
similarity index 100%
rename from docs/examples/patterns/forms/form-help-text.html
rename to site/docs/examples/patterns/forms/form-help-text.html
diff --git a/docs/examples/patterns/forms/form-inline.html b/site/docs/examples/patterns/forms/form-inline.html
similarity index 100%
rename from docs/examples/patterns/forms/form-inline.html
rename to site/docs/examples/patterns/forms/form-inline.html
diff --git a/docs/examples/patterns/forms/form-stacked.html b/site/docs/examples/patterns/forms/form-stacked.html
similarity index 100%
rename from docs/examples/patterns/forms/form-stacked.html
rename to site/docs/examples/patterns/forms/form-stacked.html
diff --git a/docs/examples/patterns/forms/form-validation.html b/site/docs/examples/patterns/forms/form-validation.html
similarity index 100%
rename from docs/examples/patterns/forms/form-validation.html
rename to site/docs/examples/patterns/forms/form-validation.html
diff --git a/docs/examples/patterns/forms/forms-required.html b/site/docs/examples/patterns/forms/forms-required.html
similarity index 100%
rename from docs/examples/patterns/forms/forms-required.html
rename to site/docs/examples/patterns/forms/forms-required.html
diff --git a/docs/examples/patterns/grid/bordered.html b/site/docs/examples/patterns/grid/bordered.html
similarity index 100%
rename from docs/examples/patterns/grid/bordered.html
rename to site/docs/examples/patterns/grid/bordered.html
diff --git a/docs/examples/patterns/grid/default.html b/site/docs/examples/patterns/grid/default.html
similarity index 100%
rename from docs/examples/patterns/grid/default.html
rename to site/docs/examples/patterns/grid/default.html
diff --git a/docs/examples/patterns/grid/empty-columns.html b/site/docs/examples/patterns/grid/empty-columns.html
similarity index 100%
rename from docs/examples/patterns/grid/empty-columns.html
rename to site/docs/examples/patterns/grid/empty-columns.html
diff --git a/docs/examples/patterns/grid/incorrect-empty-columns.html b/site/docs/examples/patterns/grid/incorrect-empty-columns.html
similarity index 100%
rename from docs/examples/patterns/grid/incorrect-empty-columns.html
rename to site/docs/examples/patterns/grid/incorrect-empty-columns.html
diff --git a/docs/examples/patterns/grid/nested-medium.html b/site/docs/examples/patterns/grid/nested-medium.html
similarity index 100%
rename from docs/examples/patterns/grid/nested-medium.html
rename to site/docs/examples/patterns/grid/nested-medium.html
diff --git a/docs/examples/patterns/grid/nested-small.html b/site/docs/examples/patterns/grid/nested-small.html
similarity index 100%
rename from docs/examples/patterns/grid/nested-small.html
rename to site/docs/examples/patterns/grid/nested-small.html
diff --git a/docs/examples/patterns/grid/nested.html b/site/docs/examples/patterns/grid/nested.html
similarity index 100%
rename from docs/examples/patterns/grid/nested.html
rename to site/docs/examples/patterns/grid/nested.html
diff --git a/docs/examples/patterns/grid/offsets.html b/site/docs/examples/patterns/grid/offsets.html
similarity index 100%
rename from docs/examples/patterns/grid/offsets.html
rename to site/docs/examples/patterns/grid/offsets.html
diff --git a/docs/examples/patterns/heading-icon/heading-icon-small.html b/site/docs/examples/patterns/heading-icon/heading-icon-small.html
similarity index 100%
rename from docs/examples/patterns/heading-icon/heading-icon-small.html
rename to site/docs/examples/patterns/heading-icon/heading-icon-small.html
diff --git a/docs/examples/patterns/heading-icon/heading-icon-stacked.html b/site/docs/examples/patterns/heading-icon/heading-icon-stacked.html
similarity index 100%
rename from docs/examples/patterns/heading-icon/heading-icon-stacked.html
rename to site/docs/examples/patterns/heading-icon/heading-icon-stacked.html
diff --git a/docs/examples/patterns/heading-icon/heading-icon.html b/site/docs/examples/patterns/heading-icon/heading-icon.html
similarity index 100%
rename from docs/examples/patterns/heading-icon/heading-icon.html
rename to site/docs/examples/patterns/heading-icon/heading-icon.html
diff --git a/docs/examples/patterns/headings/default.html b/site/docs/examples/patterns/headings/default.html
similarity index 100%
rename from docs/examples/patterns/headings/default.html
rename to site/docs/examples/patterns/headings/default.html
diff --git a/docs/examples/patterns/headings/mixed.html b/site/docs/examples/patterns/headings/mixed.html
similarity index 100%
rename from docs/examples/patterns/headings/mixed.html
rename to site/docs/examples/patterns/headings/mixed.html
diff --git a/docs/examples/patterns/headings/muted.html b/site/docs/examples/patterns/headings/muted.html
similarity index 100%
rename from docs/examples/patterns/headings/muted.html
rename to site/docs/examples/patterns/headings/muted.html
diff --git a/docs/examples/patterns/icons/icons-dark.html b/site/docs/examples/patterns/icons/icons-dark.html
similarity index 100%
rename from docs/examples/patterns/icons/icons-dark.html
rename to site/docs/examples/patterns/icons/icons-dark.html
diff --git a/docs/examples/patterns/icons/icons-light.html b/site/docs/examples/patterns/icons/icons-light.html
similarity index 100%
rename from docs/examples/patterns/icons/icons-light.html
rename to site/docs/examples/patterns/icons/icons-light.html
diff --git a/docs/examples/patterns/icons/icons-social.html b/site/docs/examples/patterns/icons/icons-social.html
similarity index 100%
rename from docs/examples/patterns/icons/icons-social.html
rename to site/docs/examples/patterns/icons/icons-social.html
diff --git a/docs/examples/patterns/image/bordered.html b/site/docs/examples/patterns/image/bordered.html
similarity index 100%
rename from docs/examples/patterns/image/bordered.html
rename to site/docs/examples/patterns/image/bordered.html
diff --git a/docs/examples/patterns/image/shadowed.html b/site/docs/examples/patterns/image/shadowed.html
similarity index 100%
rename from docs/examples/patterns/image/shadowed.html
rename to site/docs/examples/patterns/image/shadowed.html
diff --git a/docs/examples/patterns/inline-images.html b/site/docs/examples/patterns/inline-images.html
similarity index 100%
rename from docs/examples/patterns/inline-images.html
rename to site/docs/examples/patterns/inline-images.html
diff --git a/docs/examples/patterns/labels/deprecated.html b/site/docs/examples/patterns/labels/deprecated.html
similarity index 100%
rename from docs/examples/patterns/labels/deprecated.html
rename to site/docs/examples/patterns/labels/deprecated.html
diff --git a/docs/examples/patterns/labels/in-progress.html b/site/docs/examples/patterns/labels/in-progress.html
similarity index 100%
rename from docs/examples/patterns/labels/in-progress.html
rename to site/docs/examples/patterns/labels/in-progress.html
diff --git a/docs/examples/patterns/labels/new.html b/site/docs/examples/patterns/labels/new.html
similarity index 100%
rename from docs/examples/patterns/labels/new.html
rename to site/docs/examples/patterns/labels/new.html
diff --git a/docs/examples/patterns/labels/updated.html b/site/docs/examples/patterns/labels/updated.html
similarity index 100%
rename from docs/examples/patterns/labels/updated.html
rename to site/docs/examples/patterns/labels/updated.html
diff --git a/docs/examples/patterns/labels/validated.html b/site/docs/examples/patterns/labels/validated.html
similarity index 100%
rename from docs/examples/patterns/labels/validated.html
rename to site/docs/examples/patterns/labels/validated.html
diff --git a/docs/examples/patterns/links/links-back-to-top.html b/site/docs/examples/patterns/links/links-back-to-top.html
similarity index 100%
rename from docs/examples/patterns/links/links-back-to-top.html
rename to site/docs/examples/patterns/links/links-back-to-top.html
diff --git a/docs/examples/patterns/links/links-external.html b/site/docs/examples/patterns/links/links-external.html
similarity index 100%
rename from docs/examples/patterns/links/links-external.html
rename to site/docs/examples/patterns/links/links-external.html
diff --git a/docs/examples/patterns/links/links-inverted.html b/site/docs/examples/patterns/links/links-inverted.html
similarity index 100%
rename from docs/examples/patterns/links/links-inverted.html
rename to site/docs/examples/patterns/links/links-inverted.html
diff --git a/docs/examples/patterns/links/links-soft.html b/site/docs/examples/patterns/links/links-soft.html
similarity index 100%
rename from docs/examples/patterns/links/links-soft.html
rename to site/docs/examples/patterns/links/links-soft.html
diff --git a/docs/examples/patterns/list-tree.html b/site/docs/examples/patterns/list-tree.html
similarity index 100%
rename from docs/examples/patterns/list-tree.html
rename to site/docs/examples/patterns/list-tree.html
diff --git a/docs/examples/patterns/lists/divider.html b/site/docs/examples/patterns/lists/divider.html
similarity index 100%
rename from docs/examples/patterns/lists/divider.html
rename to site/docs/examples/patterns/lists/divider.html
diff --git a/docs/examples/patterns/lists/list.html b/site/docs/examples/patterns/lists/list.html
similarity index 100%
rename from docs/examples/patterns/lists/list.html
rename to site/docs/examples/patterns/lists/list.html
diff --git a/docs/examples/patterns/lists/lists-dividers-ticked.html b/site/docs/examples/patterns/lists/lists-dividers-ticked.html
similarity index 100%
rename from docs/examples/patterns/lists/lists-dividers-ticked.html
rename to site/docs/examples/patterns/lists/lists-dividers-ticked.html
diff --git a/docs/examples/patterns/lists/lists-dividers.html b/site/docs/examples/patterns/lists/lists-dividers.html
similarity index 100%
rename from docs/examples/patterns/lists/lists-dividers.html
rename to site/docs/examples/patterns/lists/lists-dividers.html
diff --git a/docs/examples/patterns/lists/lists-inline.html b/site/docs/examples/patterns/lists/lists-inline.html
similarity index 100%
rename from docs/examples/patterns/lists/lists-inline.html
rename to site/docs/examples/patterns/lists/lists-inline.html
diff --git a/docs/examples/patterns/lists/lists-mid-dot.html b/site/docs/examples/patterns/lists/lists-mid-dot.html
similarity index 100%
rename from docs/examples/patterns/lists/lists-mid-dot.html
rename to site/docs/examples/patterns/lists/lists-mid-dot.html
diff --git a/docs/examples/patterns/lists/lists-split.html b/site/docs/examples/patterns/lists/lists-split.html
similarity index 100%
rename from docs/examples/patterns/lists/lists-split.html
rename to site/docs/examples/patterns/lists/lists-split.html
diff --git a/docs/examples/patterns/lists/lists-stepped-detailed.html b/site/docs/examples/patterns/lists/lists-stepped-detailed.html
similarity index 100%
rename from docs/examples/patterns/lists/lists-stepped-detailed.html
rename to site/docs/examples/patterns/lists/lists-stepped-detailed.html
diff --git a/docs/examples/patterns/lists/lists-stepped.html b/site/docs/examples/patterns/lists/lists-stepped.html
similarity index 100%
rename from docs/examples/patterns/lists/lists-stepped.html
rename to site/docs/examples/patterns/lists/lists-stepped.html
diff --git a/docs/examples/patterns/lists/lists-ticked.html b/site/docs/examples/patterns/lists/lists-ticked.html
similarity index 100%
rename from docs/examples/patterns/lists/lists-ticked.html
rename to site/docs/examples/patterns/lists/lists-ticked.html
diff --git a/docs/examples/patterns/matrix.html b/site/docs/examples/patterns/matrix.html
similarity index 100%
rename from docs/examples/patterns/matrix.html
rename to site/docs/examples/patterns/matrix.html
diff --git a/docs/examples/patterns/media-object/media-object-circ-img.html b/site/docs/examples/patterns/media-object/media-object-circ-img.html
similarity index 100%
rename from docs/examples/patterns/media-object/media-object-circ-img.html
rename to site/docs/examples/patterns/media-object/media-object-circ-img.html
diff --git a/docs/examples/patterns/media-object/media-object-large.html b/site/docs/examples/patterns/media-object/media-object-large.html
similarity index 100%
rename from docs/examples/patterns/media-object/media-object-large.html
rename to site/docs/examples/patterns/media-object/media-object-large.html
diff --git a/docs/examples/patterns/media-object/media-object.html b/site/docs/examples/patterns/media-object/media-object.html
similarity index 100%
rename from docs/examples/patterns/media-object/media-object.html
rename to site/docs/examples/patterns/media-object/media-object.html
diff --git a/docs/examples/patterns/modal.html b/site/docs/examples/patterns/modal.html
similarity index 100%
rename from docs/examples/patterns/modal.html
rename to site/docs/examples/patterns/modal.html
diff --git a/docs/examples/patterns/navigation/_script.js b/site/docs/examples/patterns/navigation/_script.js
similarity index 100%
rename from docs/examples/patterns/navigation/_script.js
rename to site/docs/examples/patterns/navigation/_script.js
diff --git a/docs/examples/patterns/navigation/default-dark.html b/site/docs/examples/patterns/navigation/default-dark.html
similarity index 100%
rename from docs/examples/patterns/navigation/default-dark.html
rename to site/docs/examples/patterns/navigation/default-dark.html
diff --git a/docs/examples/patterns/navigation/default.html b/site/docs/examples/patterns/navigation/default.html
similarity index 100%
rename from docs/examples/patterns/navigation/default.html
rename to site/docs/examples/patterns/navigation/default.html
diff --git a/docs/examples/patterns/navigation/deprecated-dark.html b/site/docs/examples/patterns/navigation/deprecated-dark.html
similarity index 96%
rename from docs/examples/patterns/navigation/deprecated-dark.html
rename to site/docs/examples/patterns/navigation/deprecated-dark.html
index 4d0af70bea..f5b080baad 100644
--- a/docs/examples/patterns/navigation/deprecated-dark.html
+++ b/site/docs/examples/patterns/navigation/deprecated-dark.html
@@ -50,6 +50,6 @@
{% endblock %}
diff --git a/docs/examples/patterns/navigation/deprecated.html b/site/docs/examples/patterns/navigation/deprecated.html
similarity index 96%
rename from docs/examples/patterns/navigation/deprecated.html
rename to site/docs/examples/patterns/navigation/deprecated.html
index 33d758b38c..20a1826a18 100644
--- a/docs/examples/patterns/navigation/deprecated.html
+++ b/site/docs/examples/patterns/navigation/deprecated.html
@@ -50,6 +50,6 @@
{% endblock %}
diff --git a/docs/examples/patterns/navigation/full-width.html b/site/docs/examples/patterns/navigation/full-width.html
similarity index 100%
rename from docs/examples/patterns/navigation/full-width.html
rename to site/docs/examples/patterns/navigation/full-width.html
diff --git a/docs/examples/patterns/navigation/subnav-dark.html b/site/docs/examples/patterns/navigation/subnav-dark.html
similarity index 98%
rename from docs/examples/patterns/navigation/subnav-dark.html
rename to site/docs/examples/patterns/navigation/subnav-dark.html
index 48dd2da389..fe3ee57c6d 100644
--- a/docs/examples/patterns/navigation/subnav-dark.html
+++ b/site/docs/examples/patterns/navigation/subnav-dark.html
@@ -86,6 +86,6 @@
{% endblock %}
diff --git a/docs/examples/patterns/navigation/subnav.html b/site/docs/examples/patterns/navigation/subnav.html
similarity index 98%
rename from docs/examples/patterns/navigation/subnav.html
rename to site/docs/examples/patterns/navigation/subnav.html
index e939e24493..5a29611cad 100644
--- a/docs/examples/patterns/navigation/subnav.html
+++ b/site/docs/examples/patterns/navigation/subnav.html
@@ -86,6 +86,6 @@
{% endblock %}
diff --git a/docs/examples/patterns/notifications/action.html b/site/docs/examples/patterns/notifications/action.html
similarity index 100%
rename from docs/examples/patterns/notifications/action.html
rename to site/docs/examples/patterns/notifications/action.html
diff --git a/docs/examples/patterns/notifications/caution.html b/site/docs/examples/patterns/notifications/caution.html
similarity index 100%
rename from docs/examples/patterns/notifications/caution.html
rename to site/docs/examples/patterns/notifications/caution.html
diff --git a/docs/examples/patterns/notifications/information.html b/site/docs/examples/patterns/notifications/information.html
similarity index 100%
rename from docs/examples/patterns/notifications/information.html
rename to site/docs/examples/patterns/notifications/information.html
diff --git a/docs/examples/patterns/notifications/negative.html b/site/docs/examples/patterns/notifications/negative.html
similarity index 100%
rename from docs/examples/patterns/notifications/negative.html
rename to site/docs/examples/patterns/notifications/negative.html
diff --git a/docs/examples/patterns/notifications/notifications.html b/site/docs/examples/patterns/notifications/notifications.html
similarity index 100%
rename from docs/examples/patterns/notifications/notifications.html
rename to site/docs/examples/patterns/notifications/notifications.html
diff --git a/docs/examples/patterns/notifications/positive.html b/site/docs/examples/patterns/notifications/positive.html
similarity index 100%
rename from docs/examples/patterns/notifications/positive.html
rename to site/docs/examples/patterns/notifications/positive.html
diff --git a/docs/examples/patterns/pagination/pagination-disabled.html b/site/docs/examples/patterns/pagination/pagination-disabled.html
similarity index 100%
rename from docs/examples/patterns/pagination/pagination-disabled.html
rename to site/docs/examples/patterns/pagination/pagination-disabled.html
diff --git a/docs/examples/patterns/pagination/pagination-truncated.html b/site/docs/examples/patterns/pagination/pagination-truncated.html
similarity index 100%
rename from docs/examples/patterns/pagination/pagination-truncated.html
rename to site/docs/examples/patterns/pagination/pagination-truncated.html
diff --git a/docs/examples/patterns/pagination/pagination.html b/site/docs/examples/patterns/pagination/pagination.html
similarity index 100%
rename from docs/examples/patterns/pagination/pagination.html
rename to site/docs/examples/patterns/pagination/pagination.html
diff --git a/docs/examples/patterns/pull-quotes/default-image.html b/site/docs/examples/patterns/pull-quotes/default-image.html
similarity index 100%
rename from docs/examples/patterns/pull-quotes/default-image.html
rename to site/docs/examples/patterns/pull-quotes/default-image.html
diff --git a/docs/examples/patterns/pull-quotes/default.html b/site/docs/examples/patterns/pull-quotes/default.html
similarity index 100%
rename from docs/examples/patterns/pull-quotes/default.html
rename to site/docs/examples/patterns/pull-quotes/default.html
diff --git a/docs/examples/patterns/pull-quotes/large.html b/site/docs/examples/patterns/pull-quotes/large.html
similarity index 100%
rename from docs/examples/patterns/pull-quotes/large.html
rename to site/docs/examples/patterns/pull-quotes/large.html
diff --git a/docs/examples/patterns/pull-quotes/small.html b/site/docs/examples/patterns/pull-quotes/small.html
similarity index 100%
rename from docs/examples/patterns/pull-quotes/small.html
rename to site/docs/examples/patterns/pull-quotes/small.html
diff --git a/docs/examples/patterns/search-box/default-dark.html b/site/docs/examples/patterns/search-box/default-dark.html
similarity index 100%
rename from docs/examples/patterns/search-box/default-dark.html
rename to site/docs/examples/patterns/search-box/default-dark.html
diff --git a/docs/examples/patterns/search-box/default.html b/site/docs/examples/patterns/search-box/default.html
similarity index 100%
rename from docs/examples/patterns/search-box/default.html
rename to site/docs/examples/patterns/search-box/default.html
diff --git a/docs/examples/patterns/search-box/navigation-dark.html b/site/docs/examples/patterns/search-box/navigation-dark.html
similarity index 100%
rename from docs/examples/patterns/search-box/navigation-dark.html
rename to site/docs/examples/patterns/search-box/navigation-dark.html
diff --git a/docs/examples/patterns/search-box/navigation.html b/site/docs/examples/patterns/search-box/navigation.html
similarity index 100%
rename from docs/examples/patterns/search-box/navigation.html
rename to site/docs/examples/patterns/search-box/navigation.html
diff --git a/docs/examples/patterns/slider/slider-input.html b/site/docs/examples/patterns/slider/slider-input.html
similarity index 100%
rename from docs/examples/patterns/slider/slider-input.html
rename to site/docs/examples/patterns/slider/slider-input.html
diff --git a/docs/examples/patterns/strips/accent.html b/site/docs/examples/patterns/strips/accent.html
similarity index 100%
rename from docs/examples/patterns/strips/accent.html
rename to site/docs/examples/patterns/strips/accent.html
diff --git a/docs/examples/patterns/strips/deep.html b/site/docs/examples/patterns/strips/deep.html
similarity index 100%
rename from docs/examples/patterns/strips/deep.html
rename to site/docs/examples/patterns/strips/deep.html
diff --git a/docs/examples/patterns/strips/image.html b/site/docs/examples/patterns/strips/image.html
similarity index 100%
rename from docs/examples/patterns/strips/image.html
rename to site/docs/examples/patterns/strips/image.html
diff --git a/docs/examples/patterns/strips/is-bordered.html b/site/docs/examples/patterns/strips/is-bordered.html
similarity index 100%
rename from docs/examples/patterns/strips/is-bordered.html
rename to site/docs/examples/patterns/strips/is-bordered.html
diff --git a/docs/examples/patterns/strips/shallow.html b/site/docs/examples/patterns/strips/shallow.html
similarity index 100%
rename from docs/examples/patterns/strips/shallow.html
rename to site/docs/examples/patterns/strips/shallow.html
diff --git a/docs/examples/patterns/strips/strips-dark.html b/site/docs/examples/patterns/strips/strips-dark.html
similarity index 100%
rename from docs/examples/patterns/strips/strips-dark.html
rename to site/docs/examples/patterns/strips/strips-dark.html
diff --git a/docs/examples/patterns/strips/strips-light.html b/site/docs/examples/patterns/strips/strips-light.html
similarity index 100%
rename from docs/examples/patterns/strips/strips-light.html
rename to site/docs/examples/patterns/strips/strips-light.html
diff --git a/docs/examples/patterns/switch.html b/site/docs/examples/patterns/switch.html
similarity index 100%
rename from docs/examples/patterns/switch.html
rename to site/docs/examples/patterns/switch.html
diff --git a/docs/examples/patterns/table-of-contents.html b/site/docs/examples/patterns/table-of-contents.html
similarity index 100%
rename from docs/examples/patterns/table-of-contents.html
rename to site/docs/examples/patterns/table-of-contents.html
diff --git a/docs/examples/patterns/tables/table-expanding.html b/site/docs/examples/patterns/tables/table-expanding.html
similarity index 100%
rename from docs/examples/patterns/tables/table-expanding.html
rename to site/docs/examples/patterns/tables/table-expanding.html
diff --git a/docs/examples/patterns/tables/table-mobile-card.html b/site/docs/examples/patterns/tables/table-mobile-card.html
similarity index 100%
rename from docs/examples/patterns/tables/table-mobile-card.html
rename to site/docs/examples/patterns/tables/table-mobile-card.html
diff --git a/docs/examples/patterns/tables/table-sortable.html b/site/docs/examples/patterns/tables/table-sortable.html
similarity index 100%
rename from docs/examples/patterns/tables/table-sortable.html
rename to site/docs/examples/patterns/tables/table-sortable.html
diff --git a/docs/examples/patterns/tabs.html b/site/docs/examples/patterns/tabs.html
similarity index 100%
rename from docs/examples/patterns/tabs.html
rename to site/docs/examples/patterns/tabs.html
diff --git a/docs/examples/patterns/tooltips.html b/site/docs/examples/patterns/tooltips.html
similarity index 100%
rename from docs/examples/patterns/tooltips.html
rename to site/docs/examples/patterns/tooltips.html
diff --git a/docs/examples/standalone.html b/site/docs/examples/standalone.html
similarity index 80%
rename from docs/examples/standalone.html
rename to site/docs/examples/standalone.html
index 91ec22db09..9c96cc491f 100644
--- a/docs/examples/standalone.html
+++ b/site/docs/examples/standalone.html
@@ -19,7 +19,7 @@ Base elements
@@ -31,7 +31,7 @@ Components
diff --git a/docs/examples/templates/external-links.html b/site/docs/examples/templates/external-links.html
similarity index 100%
rename from docs/examples/templates/external-links.html
rename to site/docs/examples/templates/external-links.html
diff --git a/docs/examples/templates/maas-layout.html b/site/docs/examples/templates/maas-layout.html
similarity index 100%
rename from docs/examples/templates/maas-layout.html
rename to site/docs/examples/templates/maas-layout.html
diff --git a/docs/examples/templates/tick-element-comparison.html b/site/docs/examples/templates/tick-element-comparison.html
similarity index 100%
rename from docs/examples/templates/tick-element-comparison.html
rename to site/docs/examples/templates/tick-element-comparison.html
diff --git a/docs/examples/templates/typographic-spacing.html b/site/docs/examples/templates/typographic-spacing.html
similarity index 100%
rename from docs/examples/templates/typographic-spacing.html
rename to site/docs/examples/templates/typographic-spacing.html
diff --git a/docs/examples/templates/vertical-spacing.html b/site/docs/examples/templates/vertical-spacing.html
similarity index 100%
rename from docs/examples/templates/vertical-spacing.html
rename to site/docs/examples/templates/vertical-spacing.html
diff --git a/docs/examples/utilities/align.html b/site/docs/examples/utilities/align.html
similarity index 100%
rename from docs/examples/utilities/align.html
rename to site/docs/examples/utilities/align.html
diff --git a/docs/examples/utilities/animations/spin.html b/site/docs/examples/utilities/animations/spin.html
similarity index 100%
rename from docs/examples/utilities/animations/spin.html
rename to site/docs/examples/utilities/animations/spin.html
diff --git a/docs/examples/utilities/baseline-grid.html b/site/docs/examples/utilities/baseline-grid.html
similarity index 100%
rename from docs/examples/utilities/baseline-grid.html
rename to site/docs/examples/utilities/baseline-grid.html
diff --git a/docs/examples/utilities/clearfix.html b/site/docs/examples/utilities/clearfix.html
similarity index 100%
rename from docs/examples/utilities/clearfix.html
rename to site/docs/examples/utilities/clearfix.html
diff --git a/docs/examples/utilities/embedded-media.html b/site/docs/examples/utilities/embedded-media.html
similarity index 100%
rename from docs/examples/utilities/embedded-media.html
rename to site/docs/examples/utilities/embedded-media.html
diff --git a/docs/examples/utilities/equal-height.html b/site/docs/examples/utilities/equal-height.html
similarity index 100%
rename from docs/examples/utilities/equal-height.html
rename to site/docs/examples/utilities/equal-height.html
diff --git a/docs/examples/utilities/fixed-width-container.html b/site/docs/examples/utilities/fixed-width-container.html
similarity index 100%
rename from docs/examples/utilities/fixed-width-container.html
rename to site/docs/examples/utilities/fixed-width-container.html
diff --git a/docs/examples/utilities/floats/default.html b/site/docs/examples/utilities/floats/default.html
similarity index 100%
rename from docs/examples/utilities/floats/default.html
rename to site/docs/examples/utilities/floats/default.html
diff --git a/docs/examples/utilities/floats/large-screens.html b/site/docs/examples/utilities/floats/large-screens.html
similarity index 100%
rename from docs/examples/utilities/floats/large-screens.html
rename to site/docs/examples/utilities/floats/large-screens.html
diff --git a/docs/examples/utilities/floats/medium-screens.html b/site/docs/examples/utilities/floats/medium-screens.html
similarity index 100%
rename from docs/examples/utilities/floats/medium-screens.html
rename to site/docs/examples/utilities/floats/medium-screens.html
diff --git a/docs/examples/utilities/floats/small-screens.html b/site/docs/examples/utilities/floats/small-screens.html
similarity index 100%
rename from docs/examples/utilities/floats/small-screens.html
rename to site/docs/examples/utilities/floats/small-screens.html
diff --git a/docs/examples/utilities/font-metrics.html b/site/docs/examples/utilities/font-metrics.html
similarity index 100%
rename from docs/examples/utilities/font-metrics.html
rename to site/docs/examples/utilities/font-metrics.html
diff --git a/docs/examples/utilities/hide.html b/site/docs/examples/utilities/hide.html
similarity index 100%
rename from docs/examples/utilities/hide.html
rename to site/docs/examples/utilities/hide.html
diff --git a/docs/examples/utilities/image-position/bottom-left.html b/site/docs/examples/utilities/image-position/bottom-left.html
similarity index 100%
rename from docs/examples/utilities/image-position/bottom-left.html
rename to site/docs/examples/utilities/image-position/bottom-left.html
diff --git a/docs/examples/utilities/image-position/bottom-right.html b/site/docs/examples/utilities/image-position/bottom-right.html
similarity index 100%
rename from docs/examples/utilities/image-position/bottom-right.html
rename to site/docs/examples/utilities/image-position/bottom-right.html
diff --git a/docs/examples/utilities/image-position/bottom.html b/site/docs/examples/utilities/image-position/bottom.html
similarity index 100%
rename from docs/examples/utilities/image-position/bottom.html
rename to site/docs/examples/utilities/image-position/bottom.html
diff --git a/docs/examples/utilities/image-position/left.html b/site/docs/examples/utilities/image-position/left.html
similarity index 100%
rename from docs/examples/utilities/image-position/left.html
rename to site/docs/examples/utilities/image-position/left.html
diff --git a/docs/examples/utilities/image-position/right.html b/site/docs/examples/utilities/image-position/right.html
similarity index 100%
rename from docs/examples/utilities/image-position/right.html
rename to site/docs/examples/utilities/image-position/right.html
diff --git a/docs/examples/utilities/image-position/top-left.html b/site/docs/examples/utilities/image-position/top-left.html
similarity index 100%
rename from docs/examples/utilities/image-position/top-left.html
rename to site/docs/examples/utilities/image-position/top-left.html
diff --git a/docs/examples/utilities/image-position/top-right.html b/site/docs/examples/utilities/image-position/top-right.html
similarity index 100%
rename from docs/examples/utilities/image-position/top-right.html
rename to site/docs/examples/utilities/image-position/top-right.html
diff --git a/docs/examples/utilities/image-position/top.html b/site/docs/examples/utilities/image-position/top.html
similarity index 100%
rename from docs/examples/utilities/image-position/top.html
rename to site/docs/examples/utilities/image-position/top.html
diff --git a/docs/examples/utilities/margin-collapse.html b/site/docs/examples/utilities/margin-collapse.html
similarity index 100%
rename from docs/examples/utilities/margin-collapse.html
rename to site/docs/examples/utilities/margin-collapse.html
diff --git a/docs/examples/utilities/max-width-unset.html b/site/docs/examples/utilities/max-width-unset.html
similarity index 100%
rename from docs/examples/utilities/max-width-unset.html
rename to site/docs/examples/utilities/max-width-unset.html
diff --git a/docs/examples/utilities/no-print.html b/site/docs/examples/utilities/no-print.html
similarity index 100%
rename from docs/examples/utilities/no-print.html
rename to site/docs/examples/utilities/no-print.html
diff --git a/docs/examples/utilities/off-screen.html b/site/docs/examples/utilities/off-screen.html
similarity index 100%
rename from docs/examples/utilities/off-screen.html
rename to site/docs/examples/utilities/off-screen.html
diff --git a/docs/examples/utilities/padding-collapse.html b/site/docs/examples/utilities/padding-collapse.html
similarity index 100%
rename from docs/examples/utilities/padding-collapse.html
rename to site/docs/examples/utilities/padding-collapse.html
diff --git a/docs/examples/utilities/show.html b/site/docs/examples/utilities/show.html
similarity index 100%
rename from docs/examples/utilities/show.html
rename to site/docs/examples/utilities/show.html
diff --git a/docs/examples/utilities/table-cell-padding-overlap.html b/site/docs/examples/utilities/table-cell-padding-overlap.html
similarity index 100%
rename from docs/examples/utilities/table-cell-padding-overlap.html
rename to site/docs/examples/utilities/table-cell-padding-overlap.html
diff --git a/docs/examples/utilities/truncate.html b/site/docs/examples/utilities/truncate.html
similarity index 100%
rename from docs/examples/utilities/truncate.html
rename to site/docs/examples/utilities/truncate.html
diff --git a/docs/examples/utilities/vertically-center.html b/site/docs/examples/utilities/vertically-center.html
similarity index 100%
rename from docs/examples/utilities/vertically-center.html
rename to site/docs/examples/utilities/vertically-center.html
diff --git a/docs/index.html b/site/docs/index.html
similarity index 91%
rename from docs/index.html
rename to site/docs/index.html
index 0e0b6a6eb7..58c272d1eb 100644
--- a/docs/index.html
+++ b/site/docs/index.html
@@ -15,7 +15,7 @@ Get started
-You can use Vanilla in your projects in a few different ways. See Building with Vanilla and Customising Vanilla for more in-depth setup instructions.
+You can use Vanilla in your projects in a few different ways. See Building with Vanilla and Customising Vanilla for more in-depth setup instructions.
Install
@@ -34,7 +34,7 @@
Install
// Include all of Vanilla Framework
@include vanilla;
-
For information on overriding settings and importing only parts of Vanilla, see Customising Vanilla.
+
For information on overriding settings and importing only parts of Vanilla, see Customising Vanilla.
diff --git a/docs/patterns/accordion.md b/site/docs/patterns/accordion.md
similarity index 88%
rename from docs/patterns/accordion.md
rename to site/docs/patterns/accordion.md
index c77cfe1632..4f60a1ecd5 100644
--- a/docs/patterns/accordion.md
+++ b/site/docs/patterns/accordion.md
@@ -20,7 +20,7 @@ Each tab styling can be changed to open or collapse using `aria-expanded`, set `
-
+
View example of the accordion pattern
@@ -37,7 +37,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-accordion;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/article-pagination.md b/site/docs/patterns/article-pagination.md
similarity index 76%
rename from docs/patterns/article-pagination.md
rename to site/docs/patterns/article-pagination.md
index a77e346e43..5738725831 100644
--- a/docs/patterns/article-pagination.md
+++ b/site/docs/patterns/article-pagination.md
@@ -10,7 +10,7 @@ context:
The article pagination component should be used to navigate from one article to the next, or previous, in chronological order.
-
+
View example of the pagination pattern
@@ -23,7 +23,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-article-pagination;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/breadcrumbs.md b/site/docs/patterns/breadcrumbs.md
similarity index 78%
rename from docs/patterns/breadcrumbs.md
rename to site/docs/patterns/breadcrumbs.md
index a3c7b90039..042765df3e 100644
--- a/docs/patterns/breadcrumbs.md
+++ b/site/docs/patterns/breadcrumbs.md
@@ -12,7 +12,7 @@ You can use the breadcrumbs pattern to indicate where the current page sits in
the site's navigation. The separators between each item are added via CSS, so
you don't have to include them manually.
-
+
View example of the breadcrumbs pattern
@@ -25,7 +25,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-breadcrumbs;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/buttons.md b/site/docs/patterns/buttons.md
similarity index 76%
rename from docs/patterns/buttons.md
rename to site/docs/patterns/buttons.md
index c89f5703cc..46c30b0e8a 100644
--- a/docs/patterns/buttons.md
+++ b/site/docs/patterns/buttons.md
@@ -20,7 +20,7 @@ Buttons are clickable elements used to perform an action, you can apply `button`
A base button is usually used alongside a neutral button.
-
+
View example of the base button pattern
@@ -28,7 +28,7 @@ View example of the base button pattern
A neutral button can be used to indicate a positive action that isn't necessarily the main call-to-action.
-
+
View example of the neutral button pattern
@@ -36,7 +36,7 @@ View example of the neutral button pattern
A positive button can be used to indicate a positive action that is the main call-to-action.
-
+
View example of the positive button pattern
@@ -44,7 +44,7 @@ View example of the positive button pattern
A negative button can be used to indicate a negative action that is destructive or permanent.
-
+
View example of the negative button pattern
@@ -52,7 +52,7 @@ View example of the negative button pattern
You can use the brand button with the main color of your brand.
-
+
View example of the brand button pattern
@@ -60,7 +60,7 @@ View example of the brand button pattern
Should you wish to place a button after a line of inline text, as a CTA for example, you can do so by adding the state class `is-inline` to the button element.
-
+
View example of the inline button pattern
@@ -68,7 +68,7 @@ View example of the inline button pattern
In contexts where vertical space is limited, you might want a button with reduced vertical padding. Add class `.is-dense` to achieve that:
-
+
View example of the dense button pattern
@@ -76,7 +76,7 @@ View example of the dense button pattern
Should you wish to place an icon in a button. You will not want to button to become full width on small screens. Therefore, you can add the state class `has-icon` to the button. If the contrast between the icon chosen and the button background is not sufficient then the `is-dark` or `is-light` classes can be added to the icon where appropriate.
-
+
View example of the icon button pattern
@@ -93,9 +93,9 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-icons;
```
-If you only need a small subset of the icons consider [including them individually](/patterns/icons/#import) to reduce the size of your CSS file.
+If you only need a small subset of the icons consider [including them individually](/docs/patterns/icons/#import) to reduce the size of your CSS file.
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/card.md b/site/docs/patterns/card.md
similarity index 75%
rename from docs/patterns/card.md
rename to site/docs/patterns/card.md
index b2ae4ad51b..9ceb3d9f01 100644
--- a/docs/patterns/card.md
+++ b/site/docs/patterns/card.md
@@ -14,7 +14,7 @@ There are four card styles available to use in Vanilla: default, header, highlig
The purpose of the default card is to display information, without user interaction.
-
+
View example of the default card pattern
@@ -22,7 +22,7 @@ View example of the default card pattern
The purpose of the header card is to display information, grouped under a heading.
-
+
View example of the header card pattern
@@ -30,7 +30,7 @@ View example of the header card pattern
The purpose of the highlighted card should be used when you can interact with the content.
-
+
View example of the highlighted card pattern
@@ -38,7 +38,7 @@ View example of the highlighted card pattern
The purpose of the overlay card is to make the text visible in conjunction with a strip image.
-
+
View example of the patterns card overlay
@@ -51,7 +51,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-card;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/contextual-menu.md b/site/docs/patterns/contextual-menu.md
similarity index 87%
rename from docs/patterns/contextual-menu.md
rename to site/docs/patterns/contextual-menu.md
index 13226852ba..94a14030f7 100644
--- a/docs/patterns/contextual-menu.md
+++ b/site/docs/patterns/contextual-menu.md
@@ -29,7 +29,7 @@ Using direction modifiers will change the placement of the drop-down menu. By de
-
+
View example of the contextual menu pattern
@@ -43,7 +43,7 @@ If you require a drop-down button with a state indicator then the `p-contextual-
-
+
View example of the contextual menu pattern
@@ -60,7 +60,7 @@ The contextual menu uses Vanilla's light theme by default. There are two ways to
- Change the default: go to `_settings_themes.scss` and set `$theme-default-p-contextual-menu` to `dark`
- Override the default by adding a state to `p-contextual-menu`: `is-dark` when the default navigation is light, or `is-light` when the default has been changed to dark:
-
+
View example of the contextual menu with an is-dark class
@@ -81,7 +81,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-icon-contextual-menu;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
@@ -89,4 +89,4 @@ For more information [view the contextual menu design spec](https://github.com/u
### Related
-For more interactive elements that hide/show content[view the tooltips component](https://docs.vanillaframework.io/patterns/tooltips).
+For more interactive elements that hide/show content[view the tooltips component](/docs/patterns/tooltips).
diff --git a/docs/patterns/grid.md b/site/docs/patterns/grid.md
similarity index 83%
rename from docs/patterns/grid.md
rename to site/docs/patterns/grid.md
index 38ec0e997c..48040c4fbf 100644
--- a/docs/patterns/grid.md
+++ b/site/docs/patterns/grid.md
@@ -24,9 +24,9 @@ Vanilla has a responsive grid with the following columns and gutters:
Layouts can be created combining rows with different number of columns to an ideal maximum of 4 columns per row. Each column containing text should span a minimum of 3 columns.
-Read also: [Breakpoints](/settings/breakpoint-settings)
+Read also: [Breakpoints](/docs/settings/breakpoint-settings)
-
+
View example of the default grid
@@ -34,7 +34,7 @@ Read also: [Breakpoints](/settings/breakpoint-settings)
If you only want to constrain content so it matches the grid's fixed width, you can use the utility `.u-fixed-width`. It behaves as a grid `.row` with a single 12 column container inside:
-
+
View example of a fixed width container
@@ -44,7 +44,7 @@ Columns can be nested infinitely by adding `.row` classes within columns. When n
• keep track of the context (available columns), which is equal to the number of columns spanned by the parent element.
• Ensure `.col-*` classes are direct descendants of `.row` classes. Failing to do so will result in a broken layout.
-
+
View example of the nested columns within the grid
@@ -56,13 +56,13 @@ To leave gap columns, use `col-start-{breakpoint}{index}`, e.g.: `col-start-larg
`{index}` options: an integer between 1 and the available columns.
-
+
View example of the empty columns within the grid
Please note, specifying a value that exceeds the available number of columns will result in incorrect offsets. This happens because the grid implicitly creates additional columns to accommodate the grid-column-start property. You should always keep track of how many available columns you have, especially when nesting. In the example below, we are indicating we want a `div` to span 3 columns, and start at position 7. This requires 10 total columns inside a `div` spanning only 4.
-
+
View example of the incorrect column offset within a nested grid
@@ -75,7 +75,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-grid;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/heading-icon.md b/site/docs/patterns/heading-icon.md
similarity index 71%
rename from docs/patterns/heading-icon.md
rename to site/docs/patterns/heading-icon.md
index d2df8d76bb..52855ff972 100644
--- a/docs/patterns/heading-icon.md
+++ b/site/docs/patterns/heading-icon.md
@@ -11,7 +11,7 @@ context:
A header can be emphasised by adding an icon alongside the text.
-
+
View example of the pattern heading icons
@@ -19,7 +19,7 @@ View example of the pattern heading icons
This variant positions the icon vertically with the text content for an alternate layout.
-
+
View example of the pattern heading icon stacked
@@ -27,7 +27,7 @@ View example of the pattern heading icon stacked
The icon for this component is also available at a smaller size of 32 x 32 pixels rather than our default size of 60 x 60 pixels.
-
+
View example of the pattern heading icon small
@@ -40,7 +40,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-heading-icon;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/icons.md b/site/docs/patterns/icons.md
similarity index 98%
rename from docs/patterns/icons.md
rename to site/docs/patterns/icons.md
index 10717dba95..319ddb6b58 100644
--- a/docs/patterns/icons.md
+++ b/site/docs/patterns/icons.md
@@ -270,7 +270,7 @@ If you use a limited set of icons you may want to include them individually to r
@include vf-p-icon-in-button;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/images.md b/site/docs/patterns/images.md
similarity index 73%
rename from docs/patterns/images.md
rename to site/docs/patterns/images.md
index 2fb715b2ae..6cdb4dc8a9 100644
--- a/docs/patterns/images.md
+++ b/site/docs/patterns/images.md
@@ -14,7 +14,7 @@ Enhance images by adding a variant style with a border or drop shadow.
A simple key-line around your image.
-
+
View example of image with border
@@ -22,7 +22,7 @@ View example of image with border
Add depth using our drop shadow around your image.
-
+
View example of image with shadow
@@ -35,7 +35,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-image;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/inline-images.md b/site/docs/patterns/inline-images.md
similarity index 76%
rename from docs/patterns/inline-images.md
rename to site/docs/patterns/inline-images.md
index 91616aa58d..6cbb8b5bd7 100644
--- a/docs/patterns/inline-images.md
+++ b/site/docs/patterns/inline-images.md
@@ -10,7 +10,7 @@ context:
The Inline images pattern can be used to showcase a group of related images, such as a group of customer or partner logos.
-
+
View example of the inline images pattern
@@ -23,7 +23,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-inline-images;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/labels.md b/site/docs/patterns/labels.md
similarity index 72%
rename from docs/patterns/labels.md
rename to site/docs/patterns/labels.md
index a2a307942d..fc84e65311 100644
--- a/docs/patterns/labels.md
+++ b/site/docs/patterns/labels.md
@@ -12,7 +12,7 @@ Labels are static elements which you can apply to signify status, tags or any ot
@@ -20,7 +20,7 @@ Labels are static elements which you can apply to signify status, tags or any ot
Label to be used on newly released components, utilities or settings that are safe to use in projects.
-
+
View example of the new label pattern
@@ -28,7 +28,7 @@ View example of the new label pattern
Label to be used on components, utilities or settings are in the process of being removed and should no longer be used in projects.
-
+
View example of the deprecated label pattern
@@ -36,7 +36,7 @@ View example of the deprecated label pattern
Label to be used when a design spec and code implementation are not yet finished.
-
+
View example of the in progress label pattern
@@ -44,7 +44,7 @@ View example of the in progress label pattern
Label to be used on existing components, utilities or settings that have been updated either through design or code.
-
+
View example of the updated label pattern
@@ -52,7 +52,7 @@ View example of the updated label pattern
Label to be used on a proposal approved in our bi-weekly meeting. A design spec is created and development starts ready for code review.
-
+
View example of the validated label pattern
@@ -65,7 +65,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-label;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/links.md b/site/docs/patterns/links.md
similarity index 79%
rename from docs/patterns/links.md
rename to site/docs/patterns/links.md
index 79332ee181..3569a3ea30 100644
--- a/docs/patterns/links.md
+++ b/site/docs/patterns/links.md
@@ -14,7 +14,7 @@ Links are used to embed actions or pathways to more information, allowing users
Default links are a color defined by `$color-link` and are 10% darker when already visited.
-
+
View example of the default link pattern
@@ -30,7 +30,7 @@ The `.p-link--external` class should be used on hyperlinks that go to a differen
-
+
View example of the external link pattern
@@ -38,7 +38,7 @@ View example of the external link pattern
The `.p-link--soft` class should be used on hyperlinks where many links are grouped together, such as a link cloud.
-
+
View example of the soft link pattern
@@ -46,7 +46,7 @@ View example of the soft link pattern
The `.p-link--inverted` class should be used where links are placed on a dark background.
-
+
View example of the inverted link pattern
@@ -54,7 +54,7 @@ View example of the inverted link pattern
The `.p-top` link can be used to make it easier to go back to the top on long pages. If the page is divided into different sections, you can use more than one per page.
-
+
View example of the back to top pattern
@@ -67,7 +67,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-links;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
diff --git a/docs/patterns/list-tree.md b/site/docs/patterns/list-tree.md
similarity index 80%
rename from docs/patterns/list-tree.md
rename to site/docs/patterns/list-tree.md
index 70c94acef5..16a1324523 100644
--- a/docs/patterns/list-tree.md
+++ b/site/docs/patterns/list-tree.md
@@ -12,7 +12,7 @@ The list tree pattern can be used to show a directory style listing, such as a l
Each directory can be opened or collapse using `aria-hidden`, set `true` for open and `false` to close on the nested list. Using JS this can be changed and should also update the `aria-expanded` attribute on the folder element.
-
+
View example of the list tree pattern
@@ -25,7 +25,7 @@ To import just this component into your project, copy the snippet below and incl
@include vf-p-list-tree;
```
-For more information see [Customising Vanilla](/customising-vanilla/) in your projects, which includes overrides and importing instructions.
+For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
### Design
@@ -33,4 +33,4 @@ For more information view the [list tree design spec](https://github.com/ubuntud
### Related
-For alternative list style layouts [view our range of list components.](/patterns/lists)
+For alternative list style layouts [view our range of list components.](/docs/patterns/lists)
diff --git a/docs/patterns/lists.md b/site/docs/patterns/lists.md
similarity index 77%
rename from docs/patterns/lists.md
rename to site/docs/patterns/lists.md
index 06e451853b..3f2a1b320b 100644
--- a/docs/patterns/lists.md
+++ b/site/docs/patterns/lists.md
@@ -16,7 +16,7 @@ standard `` and `