# Pinegrow 5.4 problem with SASS import

**URL:** <https://forum.pinegrow.com/t/pinegrow-5-4-problem-with-sass-import/2897>\
**Category:** Styling (CSS)\
**Created:** [March 29, 2019, 5:19pm UTC](https://forum.pinegrow.com/t/pinegrow-5-4-problem-with-sass-import/2897 "2019-03-29T17:19:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [March 29, 2019, 5:19pm UTC](https://forum.pinegrow.com/t/pinegrow-5-4-problem-with-sass-import/2897/1 "2019-03-29T17:19:09Z")

</div>

Since I have installed 5.4 I get strange error messages when saving a file:

The following stylesheets were not saved - Undefined variable:"$HEADER-BG" in file stdin at 14:23

My scss file import some constants  
@import “\_constants.scss”;  
In this file the constant $HEADER\_BG is defined.  
I compiled the scss file with a manually installed SASS compiler - OK.  
Note thet the constant’s name is written with an underscore, while the error message used a dash instead.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [March 30, 2019, 4:34am UTC](https://forum.pinegrow.com/t/pinegrow-5-4-problem-with-sass-import/2897/2 "2019-03-30T04:34:10Z")

</div>

@dgrabowski can you send your project or at least the SASS files to [support@pinegrow.com](mailto:support@pinegrow.com) so we can investigate. We did some changes in how imports are handled in 5.4.

---

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [March 30, 2019, 2:39pm UTC](https://forum.pinegrow.com/t/pinegrow-5-4-problem-with-sass-import/2897/3 "2019-03-30T14:39:57Z")

</div>

@matjaz Thanks for replying so quickly. I sent you the sass files and the pinegrow.json via email, but I failed to send you the archive with the complete project as the mail server did not accept the attachment.  
If you need any specific files please let me know.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [March 30, 2019, 3:12pm UTC](https://forum.pinegrow.com/t/pinegrow-5-4-problem-with-sass-import/2897/4 "2019-03-30T15:12:39Z")

</div>

Thanks, got it. Will be in touch soon.
