rafters 0.0.32 → 0.0.33
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 +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46930,7 +46930,8 @@ function generateThemeBlock(groups) {
|
|
|
46930
46930
|
for (const token of groups.spacing) {
|
|
46931
46931
|
const value2 = tokenValueToCSS(token);
|
|
46932
46932
|
if (value2 === null) continue;
|
|
46933
|
-
|
|
46933
|
+
const key = token.name.replace(/^spacing-/, "");
|
|
46934
|
+
lines.push(` --spacing-${key}: ${value2};`);
|
|
46934
46935
|
}
|
|
46935
46936
|
lines.push("");
|
|
46936
46937
|
}
|
|
@@ -46949,7 +46950,8 @@ function generateThemeBlock(groups) {
|
|
|
46949
46950
|
for (const token of groups.radius) {
|
|
46950
46951
|
const value2 = tokenValueToCSS(token);
|
|
46951
46952
|
if (value2 === null) continue;
|
|
46952
|
-
|
|
46953
|
+
const key = token.name.replace(/^radius-/, "");
|
|
46954
|
+
lines.push(` --radius-${key}: ${value2};`);
|
|
46953
46955
|
}
|
|
46954
46956
|
lines.push("");
|
|
46955
46957
|
}
|
|
@@ -46957,7 +46959,8 @@ function generateThemeBlock(groups) {
|
|
|
46957
46959
|
for (const token of groups.shadow) {
|
|
46958
46960
|
const value2 = tokenValueToCSS(token);
|
|
46959
46961
|
if (value2 === null) continue;
|
|
46960
|
-
|
|
46962
|
+
const key = token.name.replace(/^shadow-/, "");
|
|
46963
|
+
lines.push(` --shadow-${key}: ${value2};`);
|
|
46961
46964
|
}
|
|
46962
46965
|
lines.push("");
|
|
46963
46966
|
}
|