rafters 0.0.45 → 0.0.46

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
@@ -47191,7 +47191,8 @@ function generateThemeBlock(groups) {
47191
47191
  const value2 = tokenValueToCSS(token);
47192
47192
  if (value2 === null) continue;
47193
47193
  const key = token.name.replace(/^radius-/, "");
47194
- lines.push(` --radius-${key}: ${value2};`);
47194
+ const themeValue = value2.replaceAll("var(--rafters-radius-base)", "var(--radius-base)").replaceAll("var(--rafters-radius-tl)", "var(--radius-tl)").replaceAll("var(--rafters-radius-tr)", "var(--radius-tr)").replaceAll("var(--rafters-radius-bl)", "var(--radius-bl)").replaceAll("var(--rafters-radius-br)", "var(--radius-br)");
47195
+ lines.push(` --radius-${key}: ${themeValue};`);
47195
47196
  }
47196
47197
  lines.push("");
47197
47198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rafters",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "CLI for Rafters design system - scaffold tokens and add components",
5
5
  "license": "MIT",
6
6
  "type": "module",