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.
- package/dist/index.js +2 -1
- 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
|
-
|
|
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
|
}
|