1.0.1 • Published 3 years ago
@stretto/cds-scss v1.0.1
Stretto Cadence Design System - SCSS
This is a custom Dart SASS project using a slightly modified version of the 7 in 1 architecture built for Cadence Design System.
Initial setup
Install the project dependencies via the CLI command:
yarn install @stretto/cds-scssProject structure
Project file/folder structure:
/srccontains all related SCSS partial files/libcontains the compiled CSS files (This workspace is configured to output expanded and prefixed CSS)- Check the
package.jsonfile for the build/dev scripts used to generate the compiled CSS
Editing the SCSS files
• Edit the SCSS files as needed and run yarn lint to adhere to the stylelint config and Design System guidelines.
Running the project
You can watch for changes in the src/ folder using the CLI command:
yarn watchYou can compile the SCSS from the src/ folder using the CLI command:
yarn buildThe SCSS will be compiled in the /lib folder.
License
This project is under MIT license
1.0.1
3 years ago