• I recently “inherited” a website from another designer who used storefront theme.

    I understand that storefront uses SASS to create the CSS files. However I am not seeing how this was done. Some search told me that Grunt would have been used if there is a package.json file in the folder, that npm can be used to run grunt. I do not see this json file in the folder.

    I think if I don’t run some automatic task runner, then the SASS is never going to be activated, correct? So I can basically modify the style.css file like there is no SASS at all, while being cautious and back up frequently.

Viewing 1 replies (of 1 total)
  • Hi @frankliuao,

    This was indeed done using NPM & Grunt as the task runner. Refer to our contributing guidelines here if you wanted to help shape Storefront.

    What I would add though is that I wouldn’t recommend modifying the core files of Storefront to begin with. What would be better in the long term is to create a child theme or use plugins/any other method to modify the site.

    I say that because if you modify Storefront to fit your clients needs and then a Storefront release comes out (as they will), you’ll need to redo or re-apply all of those changes after updating as that update will overwrite any changes made to the theme directly.

    The theme, WooCommerce, and WordPress itself should provide you with plenty of ways to modify their default behavior without modifying the core files of those products themselves. ??

Viewing 1 replies (of 1 total)
  • The topic ‘How was the SASS processed?’ is closed to new replies.