rafters 0.0.40 → 0.0.41

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -46944,7 +46944,8 @@ function generateThemeBlock(groups) {
46944
46944
  const value2 = tokenValueToCSS(token);
46945
46945
  if (value2 === null) continue;
46946
46946
  const key = token.name.replace(/^spacing-/, "");
46947
- lines.push(` --spacing-${key}: ${value2};`);
46947
+ const themeValue = value2.replaceAll("var(--rafters-spacing-base)", "var(--spacing-base)");
46948
+ lines.push(` --spacing-${key}: ${themeValue};`);
46948
46949
  }
46949
46950
  lines.push("");
46950
46951
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rafters",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "CLI for Rafters design system - scaffold tokens and add components",
5
5
  "license": "MIT",
6
6
  "type": "module",