Common CSS/SASS styling to be shared across Rise Vision apps, widgets and components.
gulp buildThis will do several things in sequence:
- Delete dist and tmp folder
- Concat SASS files under each folder in src/scss, and save them in tmp/
- Translate each newly generated SASS file under tmp/ into CSS, and save them under dist/css
- Create a minified copy of each CSS file under dist/scss
And the end result is what you see under dist.
Each folder under SCSS will have its own namesake CSS and minified CSS generated, whose content will be a concatenation of all files under that folder.
For example, the build process will create rise.css and rise.css.min for folder src/scss/rise, whose content will be from src/scss/rise/*.scss
Continuing with the example above, If you have multiple files under src/scss/rise, they will be compiled under alphanumerical order. In other words, if you wish to put the content of specific files at the beginning of the generated CSS file, prefix the file name with "0_". Prefix the second file with "1_", and so on.