diff --git a/docs/_includes/sidebar.njk b/docs/_includes/sidebar.njk index 8831366d1..f2003c9e0 100644 --- a/docs/_includes/sidebar.njk +++ b/docs/_includes/sidebar.njk @@ -50,16 +50,16 @@ - +

- Essentials + Natives

diff --git a/docs/docs/essentials/button.md b/docs/docs/natives/button.md similarity index 100% rename from docs/docs/essentials/button.md rename to docs/docs/natives/button.md diff --git a/docs/docs/essentials/content.md b/docs/docs/natives/content.md similarity index 100% rename from docs/docs/essentials/content.md rename to docs/docs/natives/content.md diff --git a/docs/docs/essentials/details.md b/docs/docs/natives/details.md similarity index 100% rename from docs/docs/essentials/details.md rename to docs/docs/natives/details.md diff --git a/docs/docs/essentials/dialog.md b/docs/docs/natives/dialog.md similarity index 100% rename from docs/docs/essentials/dialog.md rename to docs/docs/natives/dialog.md diff --git a/docs/docs/essentials/index.md b/docs/docs/natives/index.md similarity index 65% rename from docs/docs/essentials/index.md rename to docs/docs/natives/index.md index 3bfca508a..ca261ec31 100644 --- a/docs/docs/essentials/index.md +++ b/docs/docs/natives/index.md @@ -1,5 +1,5 @@ --- -title: Essentials +title: Natives description: TODO --- @@ -7,7 +7,7 @@ Web Awesome works _with_ the platform, rather than trying to reinvent it. If all you need is styles, you don’t need to use new `` elements! We also provide styles that make native HTML elements look good so you can continue using what you know and gradually adopt Web Awesome as you see fit. -To use all Web Awesome Essentials, include the following stylesheet in your project: +To use all Web Awesome Natives, include the following stylesheet in your project: ```html @@ -17,19 +17,19 @@ Here’s what we have so far: -## Opting out of Essentials on a case by case basis +## Opting out of Natives on a case by case basis -So you've decided to use Essentials and now you need to style an element or a part of a page completely differently, what to do? +So you've decided to use Natives and now you need to style an element or a part of a page completely differently, what to do? You can create an opt-out with the power of [CSS Cascade Layers](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Cascade_layers)! -Instead of including Essentials with a `` element, you can include it like this: +Instead of including Natives with a `` element, you can include it like this: ```html ``` -Then you can opt-out of Essentials styling by using a `wa-off` class on individual elements or `wa-off-deep` for entire subtrees: +Then you can opt-out of Natives styling by using a `wa-off` class on individual elements or `wa-off-deep` for entire subtrees: ```html

@@ -79,5 +79,5 @@ E.g. to opt-out of `

` styling: } ``` -If you find yourself opting out of entire element types too much, you could consider only including the parts of Essentials you need instead of the whole thing. -You can find instructions for how to do that on the individual Essentials pages. +If you find yourself opting out of entire element types too much, you could consider only including the parts of Natives you need instead of the whole thing. +You can find instructions for how to do that on the individual Natives pages. diff --git a/docs/docs/essentials/input.md b/docs/docs/natives/input.md similarity index 100% rename from docs/docs/essentials/input.md rename to docs/docs/natives/input.md diff --git a/docs/docs/essentials/lists.md b/docs/docs/natives/lists.md similarity index 100% rename from docs/docs/essentials/lists.md rename to docs/docs/natives/lists.md diff --git a/docs/docs/essentials/essentials.json b/docs/docs/natives/natives.json similarity index 100% rename from docs/docs/essentials/essentials.json rename to docs/docs/natives/natives.json diff --git a/docs/docs/essentials/table.md b/docs/docs/natives/table.md similarity index 100% rename from docs/docs/essentials/table.md rename to docs/docs/natives/table.md