]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #10848 from jnystromdesign/patch-1 for v6.5.0
authorJoakim Nystrom <jnystromdesign@gmail.com>
Sat, 16 Jun 2018 07:10:41 +0000 (09:10 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 16 Jun 2018 07:10:41 +0000 (09:10 +0200)
92d4bea17 Added solution to compile problem for npm users
b8779d66f Wrapped instructions in a callout

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
docs/pages/sass.md

index 9c0cba2f6264c6380ac30f758f119759f60d8167..08c5ba081d9999876da3aa7b5dd45da28a6a08b4 100644 (file)
@@ -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';