Skip to content

Commit

Permalink
Use pull request foundation#10848 from jnystromdesign/patch-1 for v6.5.0
Browse files Browse the repository at this point in the history
92d4bea Added solution to compile problem for npm users
b8779d6 Wrapped instructions in a callout

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
  • Loading branch information
jnystromdesign authored and ncoden committed Jun 16, 2018
1 parent 9e0769e commit e31ed05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/pages/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ Finally, add an `@import` statement to the top of your primary Sass file. Refer
@import 'foundation';
```

You're also going to want a settings file for your project, which will allow you to modify the default styles of Foundation. **[Download the latest settings file here](https://raw.githubusercontent.com/zurb/foundation-sites/master/scss/settings/_settings.scss)**, add it to your project as `_settings.scss`, then import it *before* Foundation itself.
You're also going to want a settings file for your project, which will allow you to modify the default styles of Foundation. **[Download the latest settings file here](https://raw.githubusercontent.com/zurb/foundation-sites/master/scss/settings/_settings.scss)**, add it to your project as `_settings.scss`, then import it *before* Foundation itself.

<div class="callout>
The settings file needs to import `util/util` from Foundation. Please ensure that the Foundation folder is included in Sass or change `@import util/util` for it to points to the full path of the file. For example, NPM users may need to change the import to `node_modules/foundation-sites/scss/util/util`.
</div>

```scss
@import 'settings';
Expand Down

0 comments on commit e31ed05

Please sign in to comment.