Skip to content

Commit

Permalink
Add icons and labels to standalone example
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Mar 16, 2020
1 parent 17e27aa commit 911f76d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scss/standalone/patterns_side-navigation.scss
@@ -1,5 +1,12 @@
@import '../base';
@include vf-base;

// labels and icons for navigation statuses
@import '../patterns_label';
@include vf-p-label;

@import '../patterns_icons';
@include vf-p-icons;

@import '../patterns_side-navigation';
@include vf-p-side-navigation;
7 changes: 7 additions & 0 deletions templates/docs/patterns/navigation.md
Expand Up @@ -95,6 +95,13 @@ To import side navigation, copy snippet below:
```scss
@import 'patterns_side-navigation';
@include vf-p-side-navigation;

// optionally add icons and/or labels if you use them in side navigation__nav
@import 'patterns_label';
@include vf-p-label;

@import 'patterns_icons';
@include vf-p-icons;
```

For more information see [Customising Vanilla](/docs/customising-vanilla/) in your projects, which includes overrides and importing instructions.
Expand Down

0 comments on commit 911f76d

Please sign in to comment.