# Design System Data
This package contains scripts to generate data and data assets for aspects of the Salesforce Lightning Design System (SLDS).

## Installation

```bash
npm install @salesforce-ux/design-system-data
```

## Usage

### Icons

Generate data for icons:
```bash
npm run generate:icons
npm run generate:icons:file ## to generate file
```

Zip icons for distribution:
```bash
npm run generate:icons:zip
```

### Styling Hooks
Generate data for styling hooks:
```bash
npm run generate:styling-hooks
npm run generate:styling-hooks:file ## to generate file
```

### Design Tokens
Generate data for design tokens:
```bash
npm run generate:tokens
npm run generate:icons:file ## to generate file
```

## Data
The generated data can be imported and consumed in your design system components and applications.

## Licenses

* Source code is licensed under [BSD 3-Clause](https://git.io/sfdc-license)
* All icons and images are licensed under [Creative Commons Attribution-NoDerivatives 4.0](https://github.com/salesforce-ux/licenses/blob/master/LICENSE-icons-images.txt)
