## Design Tokens & Registry Setup

### Token Generation (for maintainers)
This repo uses Style Dictionary. To regenerate token outputs:

```bash
npm run build:tokens
```

What it does:
- Builds base tokens to `projects/ccl-ui-components/src/styles/tokens.css` and `_tokens.scss`
- Builds `naked.css` and `brandA.css` plus SCSS, then converts `:root` to `:host`

### Organization / Registry configuration
1. Ensure GitHub Packages is enabled for the org.
2. Create a PAT with `read:packages` (developers) and `write:packages` (publishers).
3. Consumers configure `.npmrc`:
```ini
@Crystal-Code-Labs:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
```

### Publishing (maintainers)
- Update version in `projects/ccl-ui-components/package.json`
- Update `CHANGELOG.md`
- Publish:
```bash
npm publish
```
If you see E409 conflict, bump the version and retry.
