Skip to content

Latest commit

 

History

History
executable file
·
42 lines (28 loc) · 868 Bytes

README.md

File metadata and controls

executable file
·
42 lines (28 loc) · 868 Bytes

cupcake-logo

Cupcake Sprinkles

Design tokens for the Cupcake design system.


Getting started

  1. Clone this repo
$ git clone https://github.com/Cupcake-Design-System/Cupcake-Sprinkles.git
$ cd Cupcake-Sprinkles
  1. Install Dependencies
$ npm install
  1. Generate sass tokens
$ npm run default
  1. Generate extended tokens for other formats
$ npm run extended

Workflow

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.