# Build tokens for each theme \(\#2590\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/85b049f2508121c29d91369de2b45f14a4dc95ec)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 85b049f2508121c29d91369de2b45f14a4dc95ec

Requested commit: 85b049f2508121c29d91369de2b45f14a4dc95ec

Commit: 85b049f2508121c29d91369de2b45f14a4dc95ec

Tree: 59b0b8610212e1e0e541c3b337aaf2e4dd74027c

Author: Nate Butler

Committer: GitHub

## Message

```
Build tokens for each theme (#2590)

This PR adds the ability to export tokens for each theme. 

You can export tokens by:

1. `cd styles`
2. `npm run build-tokens`
3. Tokens will be output in the target folder (`styles/target`)

The tokens match the ColorScheme object. In the future we may also
export tokens for our styleTrees.

Release Notes:

- N/A (No public facing changes)

---
TODO:

- [x] Generate Token Studio theme index file
- [x] ColorScheme
    - [x] name:
    - [x] isLight
    - [x] lowest
    - [x] middle
    - [x] highest
    - [x] popoverShadow
    - [x] modalShadow
    - [x] players
    - [x] syntax
```

## Parents

- [6304897abc9bc5ee21443688e5db271015163d8f](https://git.cafe/gitcafe/zed/commit/6304897abc9bc5ee21443688e5db271015163d8f?format=markdown)

- [ddcbc774ab74cf94ad4d477eff65d40034f6cf2d](https://git.cafe/gitcafe/zed/commit/ddcbc774ab74cf94ad4d477eff65d40034f6cf2d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/85b049f2508121c29d91369de2b45f14a4dc95ec?format=markdown)
