# @lona/migrate-legacy-tokens

> Lona originally used a flat list of colors/shadows/textStyles to represent tokens.

Latest version **1.0.1** (published 2019-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lona/migrate-legacy-tokens
pnpm add @lona/migrate-legacy-tokens
yarn add @lona/migrate-legacy-tokens
bun add @lona/migrate-legacy-tokens
```

Provides the command `migrate-legacy-tokens`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-11-20 |
| First published | 2019-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dabbott, mathieudutour |

## Links

- npm: https://www.npmjs.com/package/@lona/migrate-legacy-tokens
- npm.io page: https://npm.io/package/@lona/migrate-legacy-tokens

## Dependencies (2)

- [sywac](https://npm.io/package/sywac.md) ^1.2.2
- [csscolorparser](https://npm.io/package/csscolorparser.md) ^1.0.3

## Recent versions

- 1.0.1 (latest) — 2019-11-20
- 1.0.0 — 2019-11-20

## README

# Migrate legacy tokens

Lona originally used a flat list of colors/shadows/textStyles to represent tokens.

To convert a file in this format to the new (markdown + code) format, navigate to the root of your Lona workspace (or wherever the JSON files are), and run:

```
npx @lona/migrate-legacy-tokens colors.json > Colors.md
npx @lona/migrate-legacy-tokens textStyles.json > TextStyles.md
npx @lona/migrate-legacy-tokens shadows.json > Shadows.md
```

---
_Source: https://npm.io/package/@lona/migrate-legacy-tokens · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
