Workflow to generate alma mashup css using Gulp/SCSS for use with Primo NUI.
- Navigate inside the local copy of the repo.
- Run
npm install
Requires gulp & node-sass.
- Copy selector from /src/css stylesheet.
- Convert to SCSS
- Either add to
_customizations.scss
or create a new scss file, and import it intomashup_new.scss
gulp
- default task will process scss files into css and then createskin.zip
archive underdist
. This is ready to upload to Alma back office.gulp styles
- will process and compress scss stylesheets intobranding_skin/css/mashup_new.css
.gulp zip
- will take whatever is inbranding_skin
and zip it intoskin.zip
underdist
.
This project was done for the PCC Primo New UI launch. It may or may not work in other cases.