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