@pinonoir/sds-styles
v2.1.0
Published
A collection of reusable CSS styles built with SASS.
Readme
Super 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:
pnpm installProject structure
Project file/folder structure:
/srccontains all related SCSS partial files for all brands/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 pnpm lint to adhere to the stylelint config and Design System guidelines.
Running the project
You can watch for changes in the src/ folder by running:
pnpm watchYou can compile the SCSS into CSS and build the design tokens(sds-tokens) by running:
pnpm buildThe SCSS will be compiled into CSS in the /lib folder.
License
This project is under [MIT license]
