Skip to content

Instantly share code, notes, and snippets.

@kerastinell
Created October 20, 2019 20:07
Show Gist options
  • Save kerastinell/1929e340e8443047c21ff014a7f0d4d7 to your computer and use it in GitHub Desktop.
Save kerastinell/1929e340e8443047c21ff014a7f0d4d7 to your computer and use it in GitHub Desktop.
Notes on compiling the .scss files for Shopper 1.3.8

The "Shopper" theme made by https://shopperwp.io/themes/shopper needs some additional files (which are not presented in a release .zip archive) to make .scss compilation work in Koala.

Operating system: Ubuntu 18.04.3 LTS

  1. Unpack .zip archive, then cd into unpacked directory;
  2. npm init, press Enter several times;
  3. npm install susy@2.2.12
  4. In file style.scss replace line @import 'bourbon'; with @import 'bourbon/bourbon';
  5. sudo gem install bourbon -v 4.3.4
  6. bourbon install --path PATH_TO_THEME_ROOT

After these steps Koala should successfully compile the style.scss file. I use the following options:

  1. Unix New Lines
  2. Output Style: nested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment