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.scssor create a new scss file, and import it intomashup_new.scss
gulp- default task will process scss files into css and then createskin.ziparchive 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_skinand zip it intoskin.zipunderdist.
This project was done for the PCC Primo New UI launch. It may or may not work in other cases.