1.0.1 • Published 2 years ago

@stretto/cds-scss v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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-scss

Project structure

Project file/folder structure:

  • /src contains all related SCSS partial files
  • /lib contains the compiled CSS files (This workspace is configured to output expanded and prefixed CSS)
  • Check the package.json file 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 watch

You can compile the SCSS from the src/ folder using the CLI command:

yarn build

The SCSS will be compiled in the /lib folder.

License

This project is under MIT license