Gulp + PostCSS build setup for Shopify theme development
- clone repo
- run
npm install
to install modules npm run gulp
runs build process
- gulp looks at
src/style.css
postcss-partial-import
imports partialsautoprefixer
adds any required prefixespostcss_shopify_settings_variables
converts variables to liquid-style variables. ie$(headline_color)
becomes{{ settings.headline_color }}
gulp-rename
sets file extension to.css.liquid
- generated file added to
/assets
folder