jasmincss 1.0.2 → 1.0.3

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **Complete reference of all available utility classes and components**
4
4
  >
5
- > Generated automatically from JasminCSS v1.0.2
5
+ > Generated automatically from JasminCSS v1.0.3
6
6
 
7
7
  ## Table of Contents
8
8
 
package/dist/index.js CHANGED
@@ -401,7 +401,8 @@ function generateCssVariables(config) {
401
401
  }
402
402
  if (spacing) {
403
403
  Object.entries(spacing).forEach(([key, value]) => {
404
- vars[`--j-space-${key}`] = value;
404
+ const safeKey = String(key).replace(/\./g, "_");
405
+ vars[`--j-space-${safeKey}`] = value;
405
406
  });
406
407
  }
407
408
  if (branding.typography) {
package/dist/index.mjs CHANGED
@@ -358,7 +358,8 @@ function generateCssVariables(config) {
358
358
  }
359
359
  if (spacing) {
360
360
  Object.entries(spacing).forEach(([key, value]) => {
361
- vars[`--j-space-${key}`] = value;
361
+ const safeKey = String(key).replace(/\./g, "_");
362
+ vars[`--j-space-${safeKey}`] = value;
362
363
  });
363
364
  }
364
365
  if (branding.typography) {
package/dist/jasmin.css CHANGED
@@ -124,10 +124,10 @@ button, [role="button"] {
124
124
  --j-space-80: 20rem;
125
125
  --j-space-96: 24rem;
126
126
  --j-space-px: 1px;
127
- --j-space-0.5: 0.125rem;
128
- --j-space-1.5: 0.375rem;
129
- --j-space-2.5: 0.625rem;
130
- --j-space-3.5: 0.875rem;
127
+ --j-space-0_5: 0.125rem;
128
+ --j-space-1_5: 0.375rem;
129
+ --j-space-2_5: 0.625rem;
130
+ --j-space-3_5: 0.875rem;
131
131
  --j-font-sans: "Inter", system-ui, -apple-system, sans-serif;
132
132
  --j-font-mono: "JetBrains Mono", ui-monospace, monospace;
133
133
  --j-font-size-base: 16px;