Design tokens for the Cupcake design system.
- Clone this repo
$ git clone https://github.com/Cupcake-Design-System/Cupcake-Sprinkles.git
$ cd Cupcake-Sprinkles
- Install Dependencies
$ npm install
- Generate sass tokens
$ npm run default
- Generate extended tokens for other formats
$ npm run extended
Everything's ready to get started right away:
- Any changes should happen in the /tokens folder.
- All values MUST be established first in the _aliases.yml file.
- These _aliases.yml file is rendered as variables with the !default flag for easy theming.
- Individual files generate maps linked to the variables. We then use those for writing sass in our core repo.