@vettvangur/design-system 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2815,9 +2815,16 @@ async function pullAndBuild({
|
|
|
2815
2815
|
projectName
|
|
2816
2816
|
}) {
|
|
2817
2817
|
const raw = await figmaSource(config.figma.fileKey);
|
|
2818
|
-
|
|
2819
|
-
const
|
|
2820
|
-
|
|
2818
|
+
|
|
2819
|
+
// const outPath = path.join(process.cwd(), 'figma-raw.json')
|
|
2820
|
+
|
|
2821
|
+
normalizeTokens(raw.variables);
|
|
2822
|
+
// await fs.writeFile(
|
|
2823
|
+
// outPath,
|
|
2824
|
+
// JSON.stringify(tokens, null, 2),
|
|
2825
|
+
// 'utf8'
|
|
2826
|
+
// )
|
|
2827
|
+
|
|
2821
2828
|
const colors = groupColors(raw.variables);
|
|
2822
2829
|
const typography = groupTypography(raw.variables);
|
|
2823
2830
|
const scales = groupScales(raw.variables);
|