Skip to content

Migrates colors.json/shadows.json/textStyle.json => *.md tokens file

Notifications You must be signed in to change notification settings

Lona/migrate-legacy-tokens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Migrates colors.json/shadows.json/textStyle.json => *.md tokens file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published