1.0.6 • Published 7 years ago

design-tokenize v1.0.6

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
7 years ago

design-token-helper

For converting between sass variables and js/json, this conversion can go in either direction.

At this time, the file must only have variables.

Usage:

"scripts": {
    "tokens": "design-tokenize -i /src/testFile.scss -e .js -o dist"
 },

Will output to a folder named dist testFile.js

testFile.scss contents:

$myVariable: #333;
$anotherVariable: #ff0;

output:

{
    "myVariable": "#333",
    "anotherVariable": "#ff0";
}
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago